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

TaskEntry Class Reference

#include <Master.h>

Inheritance diagram for TaskEntry:

Object List of all members.

Public Methods

 TaskEntry (TaskId &tid, JobEntry *job, SlaveEntry *slave, task_state stat, CharStr *data)
 ~TaskEntry ()
void _cs_data (CharStr *newdata)
CharStr_cs_data ()
const char * data ()
void data (char *newdata)
virtual int compare (Object *)
virtual ObjectCopy ()

Public Attributes

TaskId id
List taskInfos
JobEntryjob
SlaveEntryslave
task_state stat
ZTime timeout
ZTime timeend

Private Attributes

CharStr_data

Constructor & Destructor Documentation

TaskEntry::TaskEntry TaskId   tid,
JobEntry   job,
SlaveEntry   slave,
task_state    stat,
CharStr   data
[inline]
 

Definition at line 94 of file Master.h.

References data(), stat, and CharStr::stored().

TaskEntry::~TaskEntry   [inline]
 

Definition at line 105 of file Master.h.

References DBUG_PRINT, TaskId::id, JobId::id, JobEntry::id, JobId::name(), and CharStr::released().


Member Function Documentation

CharStr* TaskEntry::_cs_data   [inline]
 

Definition at line 119 of file Master.h.

Referenced by data().

void TaskEntry::_cs_data CharStr   newdata [inline]
 

Definition at line 112 of file Master.h.

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

Referenced by Master::msgTaskMove(), and Master::startTask().

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 TaskEntry::data char *    newdata [inline]
 

Definition at line 129 of file Master.h.

References _cs_data(), CharStr::create(), and CharStr::Error.

const char* TaskEntry::data   [inline]
 

Definition at line 124 of file Master.h.

References CharStr::str.

Referenced by TaskEntry().


Member Data Documentation

CharStr* TaskEntry::_data [private]
 

Definition at line 84 of file Master.h.

TaskId TaskEntry::id
 

Definition at line 86 of file Master.h.

Referenced by Master::checkingThread(), Master::log_task_msg(), Master::msgJobCtrl_Stop(), Master::msgSlaveStatus_Disabled(), Master::msgSlaveStatus_Off(), Master::msgTaskCtrl_Ctrl(), Master::msgTaskCtrl_Stop(), Master::msgTaskInit(), Master::msgTaskInit_Normal(), Master::msgTaskInit_Reserve(), Master::print_status(), Master::srchTask(), and Master::startTask().

JobEntry* TaskEntry::job
 

Definition at line 88 of file Master.h.

Referenced by Master::checkingThread(), Master::deleteTask(), Master::msgSlaveStatus_Disabled(), Master::msgSlaveStatus_Off(), 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(), and Master::startTask().

SlaveEntry* TaskEntry::slave
 

Definition at line 89 of file Master.h.

Referenced by Master::checkingThread(), Master::deleteTask(), Master::msgJobCtrl_Stop(), Master::msgTaskCtrl_Ctrl(), Master::msgTaskCtrl_Stop(), Master::msgTaskFinish(), Master::msgTaskMove(), Master::msgTaskStatus(), Master::msgTaskStatus_Crashed(), Master::msgTaskStatus_Refused(), Master::msgTaskStatus_Started(), and Master::startTask().

task_state TaskEntry::stat
 

Definition at line 90 of file Master.h.

Referenced by Master::checkingThread(), Master::msgJobCtrl_Stop(), Master::msgSlaveStatus_Disabled(), Master::msgSlaveStatus_Off(), Master::msgTaskCtrl_Ctrl(), Master::msgTaskCtrl_Stop(), Master::msgTaskFinish(), Master::msgTaskInit_Normal(), Master::msgTaskMove(), Master::msgTaskStatus_Crashed(), Master::msgTaskStatus_Ok(), Master::msgTaskStatus_Refused(), Master::msgTaskStatus_Started(), Master::print_status(), Master::sndJobStatus(), Master::startTask(), and TaskEntry().

List TaskEntry::taskInfos
 

Definition at line 87 of file Master.h.

Referenced by Master::checkBufferedTasks(), Master::msgTaskInit(), Master::msgTaskInit_Normal(), and Master::msgTaskInit_Reserve().

ZTime TaskEntry::timeend
 

Definition at line 92 of file Master.h.

Referenced by Master::checkingThread(), Master::msgTaskMove(), Master::msgTaskStatus_Started(), and Master::startTask().

ZTime TaskEntry::timeout
 

Definition at line 91 of file Master.h.

Referenced by Master::msgTaskMove(), Master::msgTaskStatus_Started(), and Master::startTask().


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