Back to index

nordugrid-arc-nox  1.1.0~rc6
Classes | Defines | Typedefs | Enumerations | Variables
job.h File Reference
#include <sys/types.h>
#include <string>
#include <arc/Run.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  job_state_rec_t
class  JobDescription

Defines

#define JOB_STATE_NUM   (JOB_STATE_UNDEFINED+1)
#define JOB_NUM_ACCEPTED
#define JOB_NUM_PROCESSING
#define JOB_NUM_PREPARING
#define JOB_NUM_FINISHING
#define JOB_NUM_RUNNING

Typedefs

typedef std::string JobId

Enumerations

enum  job_state_t {
  JOB_STATE_ACCEPTED = 0, JOB_STATE_PREPARING = 1, JOB_STATE_SUBMITTING = 2, JOB_STATE_INLRMS = 3,
  JOB_STATE_FINISHING = 4, JOB_STATE_FINISHED = 5, JOB_STATE_DELETED = 6, JOB_STATE_CANCELING = 7,
  JOB_STATE_UNDEFINED = 8
}

Variables

job_state_rec_t states_all [JOB_STATE_UNDEFINED+1]

Class Documentation

struct job_state_rec_t

Definition at line 25 of file job.h.

Class Members
job_state_t id
char mail_flag
const char * name

Define Documentation

Value:
(\
  jobs_num[JOB_STATE_ACCEPTED] + \
  jobs_num[JOB_STATE_PREPARING] + \
  jobs_num[JOB_STATE_SUBMITTING] + \
  jobs_num[JOB_STATE_INLRMS] + \
  jobs_num[JOB_STATE_FINISHING] + \
  jobs_pending \
)

Definition at line 36 of file job.h.

Value:
(\
  jobs_num[JOB_STATE_FINISHING] \
)

Definition at line 55 of file job.h.

Value:
(\
  jobs_num[JOB_STATE_PREPARING] \
)

Definition at line 51 of file job.h.

Value:
(\
  jobs_num[JOB_STATE_PREPARING] + \
  jobs_num[JOB_STATE_FINISHING] \
)

Definition at line 46 of file job.h.

#define JOB_NUM_RUNNING
Value:
(\
  jobs_num[JOB_STATE_SUBMITTING] + \
  jobs_num[JOB_STATE_INLRMS] \
)

Definition at line 60 of file job.h.

Definition at line 33 of file job.h.


Typedef Documentation

typedef std::string JobId

Definition at line 68 of file job.h.


Enumeration Type Documentation

Enumerator:
JOB_STATE_ACCEPTED 
JOB_STATE_PREPARING 
JOB_STATE_SUBMITTING 
JOB_STATE_INLRMS 
JOB_STATE_FINISHING 
JOB_STATE_FINISHED 
JOB_STATE_DELETED 
JOB_STATE_CANCELING 
JOB_STATE_UNDEFINED 

Definition at line 13 of file job.h.


Variable Documentation

Definition at line 33 of file job.cpp.