ACFR utilities.
|
Classes |
class | Exception |
| Base class for all GbxUtilAcfr exceptions. More...
|
class | HardwareException |
| This exception is raised when something is wrong with the hardware. More...
|
struct | SubsystemStatus |
| Status for a single subsystem. More...
|
struct | ComponentStatus |
| Status of a single component. More...
|
class | Status |
| Local interface to component status. More...
|
class | Stoppable |
| An abstract interface class representing an stoppable activity. More...
|
class | SubHealth |
| Convenience class which allows feedback on the health of a subsystem. More...
|
class | SubStatus |
| Convenience class which maniupulates the status of a subsystem. More...
|
class | Tracer |
| Local and remote tracing. More...
|
class | TrivialStatus |
| A trivial implementation of the status API which does not assemble information. More...
|
class | TrivialTracer |
| A simple implementation of the tracer API which prints to cout. More...
|
Enumerations |
enum | SubsystemState {
SubsystemIdle,
SubsystemInitialising,
SubsystemWorking,
SubsystemFinalising,
SubsystemShutdown,
SubsystemFault
} |
| Possible subsystem status values. More...
|
enum | SubsystemHealth { SubsystemOk,
SubsystemWarning,
SubsystemCritical
} |
| Possible subsystem status values. More...
|
enum | SubsystemType { SubsystemStandard,
SubsystemEarlyExit,
SubsystemInfrastructure
} |
| Subsystem type which describes common behavior models of a subsystem. More...
|
enum | ComponentState { CompStarting,
CompOperational,
CompStopping,
CompFault
} |
| Possible component states. More...
|
enum | ComponentHealth { CompOk,
CompWarning,
CompCritical
} |
| Possible values of component health. More...
|
enum | TraceType {
InfoTrace = 0,
WarningTrace,
ErrorTrace,
DebugTrace,
AnyTrace,
NumberOfTraceTypes
} |
| Types of traced information. More...
|
enum | DestinationType {
ToDisplay = 0,
ToNetwork,
ToLog,
ToFile,
ToAny,
NumberOfDestinationTypes
} |
| Types of destinations for traced information. More...
|
Functions |
std::string | toString (SubsystemState state) |
| Returns string equivalent of state enumerator.
|
std::string | toString (SubsystemHealth health) |
| Returns string equivalent of health enumerator.
|
std::string | toString (const SubsystemStatus &status) |
| Returns human-readable string with subsystem status information.
|
std::string | toString (SubsystemType type) |
| Returns string equivalent of subsystem type enumerator.
|
std::string | toString (ComponentState type) |
| Returns string equivalent of component state type enumerator.
|
std::string | toString (ComponentHealth type) |
| Returns string equivalent of component health type enumerator.
|
GBXUTILACFR_EXPORT std::vector
< std::string > | tokenise (const std::string &str, const std::string &delimiter) |
std::string | toString (TraceType type) |
| Returns a string corresponding to the enum element.
|
ACFR utilities.
This namespace is part of a utility library.