JobResult Class Reference

The JobResult Class. More...

#include <OSResult.h>

Collaboration diagram for JobResult:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JobResult ()
 Default constructor.
 ~JobResult ()
 Class destructor.
bool IsEqual (JobResult *that)
 A function to check for the equality of two objects.
bool setRandom (double density, bool conformant)
 A function to make a random instance of this class.
 JobResult ()
 Default constructor.
 ~JobResult ()
 Class destructor.

Public Attributes

std::string status
 job status
std::string submitTime
 time the job was submitted
std::string scheduledStartTime
 the time when the job was supposed to start
std::string actualStartTime
 the time when the job actually started
std::string endTime
 the time when the job finished
TimingInformationtimingInformation
 a pointer to the TimingInformation class
StorageCapacityusedDiskSpace
 a pointer to the DiskSpace class
StorageCapacityusedMemory
 a pointer to the MemorySize class
CPUSpeedusedCPUSpeed
 a pointer to the CPUSpeed class
CPUNumberusedCPUNumber
 a pointer to the CPUNumber class
OtherResultsotherResults
 a pointer to the OtherResults class
TimingInformationtimingInformation

Detailed Description

The JobResult Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class that provides the system information that is defined in the OSrL schema.

Definition at line 659 of file OSResult.h.


Constructor & Destructor Documentation

JobResult::JobResult (  ) 

Default constructor.

Definition at line 306 of file OSResult.cpp.

References timingInformation.

JobResult::~JobResult (  ) 

Class destructor.

Definition at line 326 of file OSResult.cpp.

References otherResults, timingInformation, usedCPUNumber, usedCPUSpeed, usedDiskSpace, and usedMemory.

JobResult::JobResult (  ) 

Default constructor.

JobResult::~JobResult (  ) 

Class destructor.


Member Function Documentation

bool JobResult::IsEqual ( JobResult that  ) 

A function to check for the equality of two objects.

Definition at line 6286 of file OSResult.cpp.

References actualStartTime, endTime, otherResults, scheduledStartTime, status, submitTime, timingInformation, usedCPUNumber, usedCPUSpeed, usedDiskSpace, and usedMemory.

bool JobResult::setRandom ( double  density,
bool  conformant 
)

A function to make a random instance of this class.

Parameters:
density,: corresponds to the probability that a particular child element is created
conformant,: if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" atrbutes and <XXX> children)

Definition at line 8140 of file OSResult.cpp.

References actualStartTime, endTime, OSRand(), otherResults, scheduledStartTime, OtherResults::setRandom(), CPUNumber::setRandom(), CPUSpeed::setRandom(), StorageCapacity::setRandom(), TimingInformation::setRandom(), status, submitTime, timingInformation, usedCPUNumber, usedCPUSpeed, usedDiskSpace, and usedMemory.

Referenced by OSResult::setRandom().


Member Data Documentation

std::string JobResult::status

job status

Definition at line 664 of file OSResult.h.

Referenced by OSResult::getJobStatus(), IsEqual(), OSResult::setJobStatus(), setRandom(), and OSrLWriter::writeOSrL().

std::string JobResult::submitTime

time the job was submitted

Definition at line 667 of file OSResult.h.

Referenced by OSResult::getJobSubmitTime(), IsEqual(), OSResult::setJobSubmitTime(), setRandom(), and OSrLWriter::writeOSrL().

std::string JobResult::scheduledStartTime

the time when the job was supposed to start

Definition at line 670 of file OSResult.h.

Referenced by OSResult::getScheduledStartTime(), IsEqual(), setRandom(), OSResult::setScheduledStartTime(), and OSrLWriter::writeOSrL().

std::string JobResult::actualStartTime

the time when the job actually started

Definition at line 673 of file OSResult.h.

Referenced by OSResult::getActualStartTime(), IsEqual(), OSResult::setActualStartTime(), setRandom(), and OSrLWriter::writeOSrL().

std::string JobResult::endTime

the time when the job finished

Definition at line 676 of file OSResult.h.

Referenced by OSResult::getJobEndTime(), IsEqual(), OSResult::setJobEndTime(), setRandom(), and OSrLWriter::writeOSrL().

TimingInformation* JobResult::timingInformation

a pointer to the TimingInformation class

Definition at line 679 of file OSResult.h.

Referenced by OSResult::addTimingInformation(), OSResult::getNumberOfTimes(), OSResult::getTimeNumber(), OSResult::getTimeValue(), OSResult::getTimingInfoCategory(), OSResult::getTimingInfoDescription(), OSResult::getTimingInfoType(), OSResult::getTimingInfoUnit(), OSResult::getTimingInfoValue(), IsEqual(), JobResult(), OSResult::setNumberOfTimes(), setRandom(), OSResult::setTimeNumber(), OSResult::setTimingInformation(), OSrLWriter::writeOSrL(), and ~JobResult().

StorageCapacity* JobResult::usedDiskSpace

a pointer to the DiskSpace class

Definition at line 683 of file OSResult.h.

Referenced by OSResult::getUsedDiskSpaceDescription(), OSResult::getUsedDiskSpaceUnit(), OSResult::getUsedDiskSpaceValue(), IsEqual(), setRandom(), OSResult::setUsedDiskSpaceDescription(), OSResult::setUsedDiskSpaceUnit(), OSResult::setUsedDiskSpaceValue(), OSrLWriter::writeOSrL(), and ~JobResult().

StorageCapacity* JobResult::usedMemory

a pointer to the MemorySize class

Definition at line 687 of file OSResult.h.

Referenced by OSResult::getUsedMemoryDescription(), OSResult::getUsedMemoryUnit(), OSResult::getUsedMemoryValue(), IsEqual(), setRandom(), OSResult::setUsedMemoryDescription(), OSResult::setUsedMemoryUnit(), OSResult::setUsedMemoryValue(), OSrLWriter::writeOSrL(), and ~JobResult().

CPUSpeed* JobResult::usedCPUSpeed

a pointer to the CPUSpeed class

Definition at line 691 of file OSResult.h.

Referenced by OSResult::getUsedCPUSpeedDescription(), OSResult::getUsedCPUSpeedUnit(), OSResult::getUsedCPUSpeedValue(), IsEqual(), setRandom(), OSResult::setUsedCPUSpeedDescription(), OSResult::setUsedCPUSpeedUnit(), OSResult::setUsedCPUSpeedValue(), OSrLWriter::writeOSrL(), and ~JobResult().

CPUNumber* JobResult::usedCPUNumber

a pointer to the CPUNumber class

Definition at line 695 of file OSResult.h.

Referenced by OSResult::getUsedCPUNumberDescription(), OSResult::getUsedCPUNumberValue(), IsEqual(), setRandom(), OSResult::setUsedCPUNumberDescription(), OSResult::setUsedCPUNumberValue(), OSrLWriter::writeOSrL(), and ~JobResult().

OtherResults* JobResult::otherResults

a pointer to the OtherResults class

Definition at line 699 of file OSResult.h.

Referenced by OSResult::getNumberOfOtherJobResults(), OSResult::getOtherJobResultDescription(), OSResult::getOtherJobResultName(), OSResult::getOtherJobResultValue(), IsEqual(), OSResult::setNumberOfOtherJobResults(), setRandom(), OSrLWriter::writeOSrL(), and ~JobResult().

TimingInformation* JobResult::timingInformation

Definition at line 320 of file OSResult.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 22 03:13:08 2011 by  doxygen 1.4.7