The ServiceResult Class. More...
#include <OSResult.h>
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... | |
ServiceResult () | |
Default constructor. More... | |
~ServiceResult () | |
Class destructor. 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... | |
OtherResults * | otherResults |
a pointer to the OtherResults class More... | |
The ServiceResult Class.
Definition at line 415 of file OSResult.h.
ServiceResult::ServiceResult | ( | ) |
Default constructor.
Definition at line 206 of file OSResult.cpp.
ServiceResult::~ServiceResult | ( | ) |
Class destructor.
Definition at line 220 of file OSResult.cpp.
ServiceResult::ServiceResult | ( | ) |
Default constructor.
ServiceResult::~ServiceResult | ( | ) |
Class destructor.
bool ServiceResult::IsEqual | ( | ServiceResult * | that | ) |
A function to check for the equality of two objects.
Definition at line 7874 of file OSResult.cpp.
bool ServiceResult::setRandom | ( | double | density, |
bool | conformant | ||
) |
A function to make a random instance of this class.
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) |
Definition at line 9877 of file OSResult.cpp.
std::string ServiceResult::currentState |
a string describing the current state of the service
Definition at line 420 of file OSResult.h.
int ServiceResult::currentJobCount |
the number of jobs currently running
Definition at line 423 of file OSResult.h.
int ServiceResult::totalJobsSoFar |
total jobs processed so far
Definition at line 426 of file OSResult.h.
std::string ServiceResult::timeServiceStarted |
the time when the service was started
Definition at line 429 of file OSResult.h.
double ServiceResult::serviceUtilization |
service utilization
Definition at line 432 of file OSResult.h.
OtherResults* ServiceResult::otherResults |
a pointer to the OtherResults class
Definition at line 436 of file OSResult.h.