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

TaskInfo Class Reference

#include <Storage.h>

Inheritance diagram for TaskInfo:

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 * userData () const
void userData (const char *s)
CharStr_cs_userData () const
void _cs_userData (CharStr *s)
const char * cpu () const
void cpu (const char *s)
CharStr_cs_cpu () const
void _cs_cpu (CharStr *s)
const char * url () const
void url (const char *s)
CharStr_cs_url () const
void _cs_url (CharStr *s)
 TaskInfo ()
 TaskInfo (const char *os, const char *cpu, int cpu_speed, double memory, long mem_unit, double disk, long disk_unit, long timeout, const char *url)
 TaskInfo (const TaskInfo &other)
 ~TaskInfo ()
virtual int compare (Object *)
virtual ObjectCopy ()

Public Attributes

long mem_unit
double mem
long disk_unit
double disk
long timeout
int cpu_speed
SoftwareInfosoftwareInfos
int nSoftInfos

Private Attributes

CharStr_os
CharStr_cpu
CharStr_url
CharStr_userData

Constructor & Destructor Documentation

TaskInfo::TaskInfo   [inline]
 

Definition at line 725 of file Storage.h.

References CharStr::Error.

TaskInfo::TaskInfo const char *    os,
const char *    cpu,
int    cpu_speed,
double    memory,
long    mem_unit,
double    disk,
long    disk_unit,
long    timeout,
const char *    url
[inline]
 

Definition at line 734 of file Storage.h.

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

TaskInfo::TaskInfo const TaskInfo &    other [inline]
 

Definition at line 752 of file Storage.h.

References _cpu, SoftwareInfo::_cs_name(), SoftwareInfo::_cs_version(), _os, _url, _userData, cpu_speed, disk, disk_unit, mem, mem_unit, nSoftInfos, softwareInfos, CharStr::stored(), and timeout.

TaskInfo::~TaskInfo   [inline]
 

Definition at line 779 of file Storage.h.

References CharStr::released().


Member Function Documentation

void TaskInfo::_cs_cpu CharStr   s [inline]
 

Definition at line 699 of file Storage.h.

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

CharStr* TaskInfo::_cs_cpu   const [inline]
 

Definition at line 698 of file Storage.h.

Referenced by o2x(), tInfo2sInfo(), and x2o().

void TaskInfo::_cs_os CharStr   s [inline]
 

Definition at line 663 of file Storage.h.

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

CharStr* TaskInfo::_cs_os   const [inline]
 

Definition at line 662 of file Storage.h.

Referenced by o2x(), tInfo2sInfo(), and x2o().

void TaskInfo::_cs_url CharStr   s [inline]
 

Definition at line 717 of file Storage.h.

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

CharStr* TaskInfo::_cs_url   const [inline]
 

Definition at line 716 of file Storage.h.

Referenced by Master::msgTaskInit_Reserve(), o2x(), Master::srchSlaveTaskInfos(), and x2o().

void TaskInfo::_cs_userData CharStr   s [inline]
 

Definition at line 681 of file Storage.h.

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

CharStr* TaskInfo::_cs_userData   const [inline]
 

Definition at line 680 of file Storage.h.

Referenced by Master::msgTaskInit_Reserve(), o2x(), Master::srchSlaveTaskInfos(), 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 TaskInfo::cpu const char *    s [inline]
 

Definition at line 692 of file Storage.h.

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

const char* TaskInfo::cpu   const [inline]
 

Definition at line 688 of file Storage.h.

References CharStr::str.

Referenced by Master::slaveMatchTasks().

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

Definition at line 656 of file Storage.h.

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

const char* TaskInfo::os   const [inline]
 

Definition at line 652 of file Storage.h.

References CharStr::str.

Referenced by Master::slaveMatchTasks().

void TaskInfo::url const char *    s [inline]
 

Definition at line 710 of file Storage.h.

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

const char* TaskInfo::url   const [inline]
 

Definition at line 706 of file Storage.h.

References CharStr::str.

void TaskInfo::userData const char *    s [inline]
 

Definition at line 674 of file Storage.h.

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

const char* TaskInfo::userData   const [inline]
 

Definition at line 670 of file Storage.h.

References CharStr::str.


Member Data Documentation

CharStr* TaskInfo::_cpu [private]
 

Definition at line 638 of file Storage.h.

Referenced by TaskInfo().

CharStr* TaskInfo::_os [private]
 

Definition at line 637 of file Storage.h.

Referenced by TaskInfo().

CharStr* TaskInfo::_url [private]
 

Definition at line 639 of file Storage.h.

Referenced by TaskInfo().

CharStr* TaskInfo::_userData [private]
 

Definition at line 640 of file Storage.h.

Referenced by TaskInfo().

int TaskInfo::cpu_speed
 

Definition at line 648 of file Storage.h.

Referenced by o2x(), TaskInfo(), tInfo2sInfo(), and x2o().

double TaskInfo::disk
 

Definition at line 646 of file Storage.h.

Referenced by o2x(), Master::slaveMatchTasks(), TaskInfo(), tInfo2sInfo(), and x2o().

long TaskInfo::disk_unit
 

Definition at line 645 of file Storage.h.

Referenced by o2x(), Master::slaveMatchTasks(), TaskInfo(), tInfo2sInfo(), and x2o().

double TaskInfo::mem
 

Definition at line 644 of file Storage.h.

Referenced by o2x(), Master::slaveMatchTasks(), TaskInfo(), tInfo2sInfo(), and x2o().

long TaskInfo::mem_unit
 

Definition at line 643 of file Storage.h.

Referenced by o2x(), Master::slaveMatchTasks(), TaskInfo(), tInfo2sInfo(), and x2o().

int TaskInfo::nSoftInfos
 

Definition at line 650 of file Storage.h.

Referenced by o2x(), Master::slaveMatchTasks(), TaskInfo(), tInfo2sInfo(), and x2o().

SoftwareInfo* TaskInfo::softwareInfos
 

Definition at line 649 of file Storage.h.

Referenced by o2x(), Master::slaveMatchTasks(), TaskInfo(), tInfo2sInfo(), and x2o().

long TaskInfo::timeout
 

Definition at line 647 of file Storage.h.

Referenced by Master::msgTaskInit_Reserve(), o2x(), Master::srchSlaveTaskInfos(), TaskInfo(), and x2o().


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