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.
bool setRandom (double density, bool conformant)
 A function to make a random instance of this class.
 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 415 of file OSResult.h.


Constructor & Destructor Documentation

ServiceResult::ServiceResult (  ) 

Default constructor.

Definition at line 210 of file OSResult.cpp.

ServiceResult::~ServiceResult (  ) 

Class destructor.

Definition at line 224 of file OSResult.cpp.

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 6230 of file OSResult.cpp.

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" atrbutes and <XXX> children)

Definition at line 8102 of file OSResult.cpp.


Member Data Documentation

a string describing the current state of the service

Definition at line 420 of file OSResult.h.

the number of jobs currently running

Definition at line 423 of file OSResult.h.

total jobs processed so far

Definition at line 426 of file OSResult.h.

the time when the service was started

Definition at line 429 of file OSResult.h.

service utilization

Definition at line 432 of file OSResult.h.

a pointer to the OtherResults class

Definition at line 436 of file OSResult.h.


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

Generated on 22 May 2012 by  doxygen 1.6.1