#include <Job.h>
Public Member Functions | |
Job (string h, int jid) | |
void | setStatus (int s) |
void | setInternalId (int i) |
void | setDaqId (int d) |
int | getID () |
int | getStatus () |
string | getHost () |
void | upload () throw (ILCException::Exception) |
Static Public Member Functions | |
static string | getStatusDefinition (int val) throw (ILCException::Exception) |
string Job::getStatusDefinition | ( | int | val | ) | throw (ILCException::Exception) [static] |
Get the definition of a job status code
void Job::setDaqId | ( | int | d | ) |
You should not have to use this method (will be called from the DAQ class)
void Job::setInternalId | ( | int | i | ) |
Used for database purpose, do not use this method!
void Job::setStatus | ( | int | s | ) |
Change the status of the Job
s | The new status : 0 CREATED, 1 DESTROY |
void Job::upload | ( | ) | throw (ILCException::Exception) |
Send the current object to the database. You should not have to use this method (it will be called while uploading a Daq object)