#include <OSResult.h>
Collaboration diagram for ServiceResult:
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 | |
OtherResults * | otherResults |
a pointer to the OtherResults class |
Definition at line 415 of file OSResult.h.
ServiceResult::ServiceResult | ( | ) |
ServiceResult::~ServiceResult | ( | ) |
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 6231 of file OSResult.cpp.
References currentJobCount, currentState, isEqual(), otherResults, serviceUtilization, timeServiceStarted, and totalJobsSoFar.
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" atrbutes and <XXX> children) |
Definition at line 8101 of file OSResult.cpp.
References currentJobCount, currentState, OSDBL_MAX, OSNaN(), OSRand(), otherResults, serviceUtilization, OtherResults::setRandom(), timeServiceStarted, and totalJobsSoFar.
Referenced by OSResult::setRandom().
std::string ServiceResult::currentState |
a string describing the current state of the service
Definition at line 420 of file OSResult.h.
Referenced by OSResult::getCurrentState(), IsEqual(), OSResult::setCurrentState(), setRandom(), and OSrLWriter::writeOSrL().
the number of jobs currently running
Definition at line 423 of file OSResult.h.
Referenced by OSResult::getCurrentJobCount(), IsEqual(), OSResult::setCurrentJobCount(), setRandom(), and OSrLWriter::writeOSrL().
total jobs processed so far
Definition at line 426 of file OSResult.h.
Referenced by OSResult::getTotalJobsSoFar(), IsEqual(), setRandom(), OSResult::setTotalJobsSoFar(), and OSrLWriter::writeOSrL().
std::string ServiceResult::timeServiceStarted |
the time when the service was started
Definition at line 429 of file OSResult.h.
Referenced by OSResult::getTimeServiceStarted(), IsEqual(), setRandom(), OSResult::setTimeServiceStarted(), and OSrLWriter::writeOSrL().
service utilization
Definition at line 432 of file OSResult.h.
Referenced by OSResult::getServiceUtilization(), IsEqual(), setRandom(), OSResult::setServiceUtilization(), and OSrLWriter::writeOSrL().
a pointer to the OtherResults class
Definition at line 436 of file OSResult.h.
Referenced by OSResult::getNumberOfOtherServiceResults(), OSResult::getOtherServiceResultDescription(), OSResult::getOtherServiceResultName(), OSResult::getOtherServiceResultValue(), IsEqual(), OSResult::setNumberOfOtherServiceResults(), setRandom(), OSrLWriter::writeOSrL(), and ~ServiceResult().