ServiceResult Class Reference

The ServiceResult Class. More...

#include <OSResult.h>

Collaboration diagram for ServiceResult:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ServiceResult ()
 Default constructor.
 ~ServiceResult ()
 Class destructor.
bool IsEqual (ServiceResult *that)
 A function to check for the equality of two objects.
 ServiceResult ()
 Default constructor.
 ~ServiceResult ()
 Class destructor.

Public Attributes

std::string currentState
 a string describing the current state of the service
int currentJobCount
 the number of jobs currently running
int totalJobsSoFar
 total jobs processed so far
std::string timeServiceStarted
 the time when the service was started
double serviceUtilization
 service utilization
OtherResultsotherResults
 a pointer to the OtherResults class

Detailed Description

The ServiceResult 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 530 of file OSResult.h.


Constructor & Destructor Documentation

ServiceResult::ServiceResult (  ) 

Default constructor.

Definition at line 273 of file OSResult.cpp.

ServiceResult::~ServiceResult (  ) 

Class destructor.

Definition at line 287 of file OSResult.cpp.

References otherResults.

ServiceResult::ServiceResult (  ) 

Default constructor.

ServiceResult::~ServiceResult (  ) 

Class destructor.


Member Function Documentation

bool ServiceResult::IsEqual ( ServiceResult that  ) 

A function to check for the equality of two objects.

Definition at line 5043 of file OSResult.cpp.

References currentJobCount, currentState, otherResults, serviceUtilization, timeServiceStarted, and totalJobsSoFar.


Member Data Documentation

std::string ServiceResult::currentState

a string describing the current state of the service

Definition at line 534 of file OSResult.h.

Referenced by OSResult::getCurrentState(), IsEqual(), OSResult::setCurrentState(), and OSrLWriter::writeOSrL().

int ServiceResult::currentJobCount

the number of jobs currently running

Definition at line 537 of file OSResult.h.

Referenced by OSResult::getCurrentJobCount(), IsEqual(), OSResult::setCurrentJobCount(), and OSrLWriter::writeOSrL().

int ServiceResult::totalJobsSoFar

total jobs processed so far

Definition at line 540 of file OSResult.h.

Referenced by OSResult::getTotalJobsSoFar(), IsEqual(), OSResult::setTotalJobsSoFar(), and OSrLWriter::writeOSrL().

std::string ServiceResult::timeServiceStarted

the time when the service was started

Definition at line 543 of file OSResult.h.

Referenced by OSResult::getTimeServiceStarted(), IsEqual(), OSResult::setTimeServiceStarted(), and OSrLWriter::writeOSrL().

double ServiceResult::serviceUtilization

service utilization

Definition at line 546 of file OSResult.h.

Referenced by OSResult::getServiceUtilization(), IsEqual(), OSResult::setServiceUtilization(), and OSrLWriter::writeOSrL().

OtherResults* ServiceResult::otherResults

a pointer to the OtherResults class

Definition at line 550 of file OSResult.h.

Referenced by OSResult::getNumberOfOtherServiceResults(), OSResult::getOtherServiceResultDescription(), OSResult::getOtherServiceResultName(), OSResult::getOtherServiceResultValue(), IsEqual(), OSResult::setNumberOfOtherServiceResults(), OSrLWriter::writeOSrL(), and ~ServiceResult().


The documentation for this class was generated from the following files:
Generated on Fri Nov 19 13:32:47 2010 by  doxygen 1.4.7