OS  2.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
ServiceResult Class Reference

The ServiceResult Class. More...

#include <OSResult.h>

+ Collaboration diagram for ServiceResult:

Public Member Functions

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

Public Attributes

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

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 414 of file OSResult.h.

Constructor & Destructor Documentation

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.

bool ServiceResult::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" attributes and <XXX> children)

Member Data Documentation

std::string ServiceResult::currentState

a string describing the current state of the service

Definition at line 419 of file OSResult.h.

int ServiceResult::currentJobCount

the number of jobs currently running

Definition at line 422 of file OSResult.h.

int ServiceResult::totalJobsSoFar

total jobs processed so far

Definition at line 425 of file OSResult.h.

std::string ServiceResult::timeServiceStarted

the time when the service was started

Definition at line 428 of file OSResult.h.

double ServiceResult::serviceUtilization

service utilization

Definition at line 431 of file OSResult.h.

OtherResults* ServiceResult::otherResults

a pointer to the OtherResults class

Definition at line 435 of file OSResult.h.


The documentation for this class was generated from the following file: