Job Class Reference

#include <Job.h>

List of all members.

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)


Detailed Description

Description of a job from the DAQ


Member Function Documentation

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

Parameters:
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)


The documentation for this class was generated from the following files:
Generated on Tue Feb 28 15:35:34 2012 for ILCConfigurationDB by  doxygen 1.4.7