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

SlaveInfo Class Reference

#include <Storage.h>

Inheritance diagram for SlaveInfo:

Object List of all members.

Public Methods

const char * os () const
void os (const char *s)
CharStr_cs_os () const
void _cs_os (CharStr *s)
const char * version () const
void version (const char *s)
CharStr_cs_version () const
void _cs_version (CharStr *s)
const char * cpu () const
void cpu (const char *s)
CharStr_cs_cpu () const
void _cs_cpu (CharStr *s)
 SlaveInfo ()
 ~SlaveInfo ()
virtual int compare (Object *)
virtual ObjectCopy ()

Public Attributes

int cpu_speed
double mem
long mem_unit
double disk
long disk_unit
Address addr
SoftwareInfosoftwareInfos
int nSoftInfos

Private Attributes

CharStr_version
CharStr_os
CharStr_cpu

Constructor & Destructor Documentation

SlaveInfo::SlaveInfo   [inline]
 

Definition at line 516 of file Storage.h.

References CharStr::Error.

SlaveInfo::~SlaveInfo   [inline]
 

Definition at line 525 of file Storage.h.

References CharStr::released().


Member Function Documentation

void SlaveInfo::_cs_cpu CharStr   s [inline]
 

Definition at line 509 of file Storage.h.

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

CharStr* SlaveInfo::_cs_cpu   const [inline]
 

Definition at line 508 of file Storage.h.

Referenced by Slave::detectSlaveInfo(), event_slave_avail(), o2x(), tInfo2sInfo(), and x2o().

void SlaveInfo::_cs_os CharStr   s [inline]
 

Definition at line 471 of file Storage.h.

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

CharStr* SlaveInfo::_cs_os   const [inline]
 

Definition at line 470 of file Storage.h.

Referenced by Slave::detectSlaveInfo(), event_slave_avail(), o2x(), tInfo2sInfo(), and x2o().

void SlaveInfo::_cs_version CharStr   s [inline]
 

Definition at line 490 of file Storage.h.

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

CharStr* SlaveInfo::_cs_version   const [inline]
 

Definition at line 489 of file Storage.h.

Referenced by o2x(), and x2o().

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 SlaveInfo::cpu const char *    s [inline]
 

Definition at line 501 of file Storage.h.

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

const char* SlaveInfo::cpu   const [inline]
 

Definition at line 497 of file Storage.h.

References CharStr::str.

Referenced by Slave::detectSlaveInfo(), Master::matchURL(), Master::print_status(), Master::slaveMatchSlave(), and Master::slaveMatchTasks().

void SlaveInfo::os const char *    s [inline]
 

Definition at line 464 of file Storage.h.

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

const char* SlaveInfo::os   const [inline]
 

Definition at line 459 of file Storage.h.

References CharStr::str.

Referenced by Slave::detectSlaveInfo(), Master::matchURL(), Master::print_status(), Master::slaveMatchSlave(), and Master::slaveMatchTasks().

void SlaveInfo::version const char *    s [inline]
 

Definition at line 483 of file Storage.h.

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

const char* SlaveInfo::version   const [inline]
 

Definition at line 478 of file Storage.h.

References CharStr::str.

Referenced by Slave::detectSlaveInfo(), Master::msgSlaveStatus_Ready(), and Master::upgradeSlave().


Member Data Documentation

CharStr* SlaveInfo::_cpu [private]
 

Definition at line 447 of file Storage.h.

CharStr* SlaveInfo::_os [private]
 

Definition at line 446 of file Storage.h.

CharStr* SlaveInfo::_version [private]
 

Definition at line 445 of file Storage.h.

Address SlaveInfo::addr
 

Definition at line 455 of file Storage.h.

Referenced by Master::checkingThread(), Master::consoleInThread(), Slave::detectSlaveInfo(), event_slave_avail(), Master::log_slave_msg(), Master::log_slave_state_change(), Master::msgJobCtrl_Stop(), Master::msgSlaveStatus_Busy(), Master::msgSlaveStatus_Ready(), Master::msgTaskCtrl_Ctrl(), Master::msgTaskFinish(), Master::msgTaskMove(), Master::msgTaskStatus(), o2x(), Master::print_status(), SlaveEntry::setInfo(), Master::slaveMatchSlave(), Master::slaveMatchTasks(), Master::srchSlaveAddr(), Master::startTask(), Master::upgradeSlave(), x2o(), and SlaveEntry::~SlaveEntry().

int SlaveInfo::cpu_speed
 

Definition at line 450 of file Storage.h.

Referenced by Master::checkingThread(), Slave::detectSlaveInfo(), o2x(), Master::print_status(), tInfo2sInfo(), and x2o().

double SlaveInfo::disk
 

Definition at line 453 of file Storage.h.

Referenced by Slave::detectSlaveInfo(), o2x(), Master::print_status(), Master::slaveMatchSlave(), Master::slaveMatchTasks(), tInfo2sInfo(), and x2o().

long SlaveInfo::disk_unit
 

Definition at line 454 of file Storage.h.

Referenced by Slave::detectSlaveInfo(), o2x(), Master::slaveMatchSlave(), Master::slaveMatchTasks(), tInfo2sInfo(), and x2o().

double SlaveInfo::mem
 

Definition at line 451 of file Storage.h.

Referenced by Slave::detectSlaveInfo(), o2x(), Master::print_status(), Master::slaveMatchSlave(), Master::slaveMatchTasks(), tInfo2sInfo(), and x2o().

long SlaveInfo::mem_unit
 

Definition at line 452 of file Storage.h.

Referenced by Slave::detectSlaveInfo(), o2x(), Master::slaveMatchSlave(), Master::slaveMatchTasks(), tInfo2sInfo(), and x2o().

int SlaveInfo::nSoftInfos
 

Definition at line 457 of file Storage.h.

Referenced by Slave::detectSlaveInfo(), o2x(), Master::slaveMatchSlave(), Master::slaveMatchTasks(), tInfo2sInfo(), and x2o().

SoftwareInfo* SlaveInfo::softwareInfos
 

Definition at line 456 of file Storage.h.

Referenced by Slave::detectSlaveInfo(), o2x(), Master::slaveMatchSlave(), Master::slaveMatchTasks(), tInfo2sInfo(), and x2o().


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