Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

JobEntry Class Reference

#include <Master.h>

Inheritance diagram for JobEntry:

Object List of all members.

Public Methods

 JobEntry ()

 ~JobEntry ()

const char * user ()
 return user as char *

void user (char *usr)
 set user

CharStr_cs_user ()
 return user as CharStr *

void _cs_user (CharStr *usr)
 set user (memory efficient)

virtual int compare (Object *)
virtual ObjectCopy ()

Public Attributes

JobId id
List tasks
client_state cl_stat
Address cl_addr

Private Attributes


Detailed Description

Store information about a job.

Definition at line 28 of file Master.h.

Constructor & Destructor Documentation

JobEntry::JobEntry   [inline]


Definition at line 38 of file Master.h.

References CharStr::Error.

JobEntry::~JobEntry   [inline]


Definition at line 44 of file Master.h.

References DBUG_PRINT, JobId::id, JobId::name(), List::Release(), and CharStr::released().

Member Function Documentation

void JobEntry::_cs_user CharStr   usr [inline]

set user (memory efficient)

Definition at line 71 of file Master.h.

References CharStr::released(), and CharStr::stored().

CharStr* JobEntry::_cs_user   [inline]

return user as CharStr *

Definition at line 65 of file Master.h.

Referenced by Master::msgClientStatus_On(), Master::msgJobCtrl(), Master::msgSlaveReserve(), Master::msgTaskCtrl(), and Master::msgTaskInit().

virtual int Object::compare Object   [inline, virtual, inherited]

To ensure a consistent comparison interface and to allow comparison of all kinds of different objects, we will define a comparison functions.

Definition at line 31 of file Object.h.

virtual Object* Object::Copy   [inline, virtual, inherited]

To allow a deep copy of data structures we will define a standard interface... This member will return a copy of itself, freshly allocated and deep copied.

Reimplemented in List.

Definition at line 37 of file Object.h.

Referenced by List::Copy(), and List::operator=().

void JobEntry::user char *    usr [inline]

set user

Definition at line 58 of file Master.h.

References CharStr::stored().

const char* JobEntry::user   [inline]

return user as char *

Definition at line 52 of file Master.h.

References CharStr::str.

Referenced by Master::msgJobCtrl_StopAllUser(), Master::msgTaskInit(), and Master::print_status().

Member Data Documentation

CharStr* JobEntry::_user [private]

Definition at line 30 of file Master.h.

Address JobEntry::cl_addr

Definition at line 35 of file Master.h.

Referenced by Master::checkingThread(), Master::checkReserves(), Master::consoleInThread(), Master::msgClientStatus_Off(), Master::msgClientStatus_On(), Master::msgJobCtrl(), Master::msgSlaveReserve(), Master::msgSlaveStatus_Disabled(), Master::msgSlaveStatus_Off(), Master::msgTaskCtrl(), Master::msgTaskCtrl_Ctrl(), Master::msgTaskCtrl_Stop(), Master::msgTaskFinish(), Master::msgTaskInit(), Master::msgTaskInit_Normal(), Master::msgTaskInit_Reserve(), Master::msgTaskStatus_Crashed(), Master::msgTaskStatus_Ok(), Master::msgTaskStatus_Refused(), Master::msgTaskStatus_Started(), Master::print_status(), and Master::startTask().

client_state JobEntry::cl_stat

Definition at line 34 of file Master.h.

Referenced by Master::consoleInThread(), Master::msgClientStatus_Off(), Master::msgClientStatus_On(), Master::msgJobCtrl(), Master::msgJobCtrl_GetStatus(), and Master::print_status().

JobId JobEntry::id

Definition at line 32 of file Master.h.

Referenced by Master::checkingThread(), Master::log_job_msg(), Master::msgClientStatus_Off(), Master::msgClientStatus_On(), Master::msgJobCtrl(), Master::msgJobCtrl_GetStatus(), Master::msgJobCtrl_Stop(), Master::msgJobCtrl_StopAllName(), Master::msgSlaveReserve(), Master::msgTaskCtrl(), Master::msgTaskInit(), Master::print_status(), Master::sndSlaveAvail(), Master::srchJob(), and TaskEntry::~TaskEntry().

List JobEntry::tasks

Definition at line 33 of file Master.h.

Referenced by Master::deleteTask(), Master::msgJobCtrl_Stop(), Master::msgTaskCtrl_Stop(), Master::msgTaskInit(), Master::msgTaskInit_Reserve(), Master::print_status(), and Master::sndJobStatus().

The documentation for this class was generated from the following file:
Generated on Mon Nov 25 12:46:38 2002 for qadpz by doxygen1.2.18