INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
gbxutilacfr::TrivialStatus Class ReferenceA trivial implementation of the status API which prints to cout. More...
Inherits gbxutilacfr::Status. Inheritance diagram for gbxutilacfr::TrivialStatus:
Detailed DescriptionA trivial implementation of the status API which prints to cout.
Member Function Documentation
Adds subsystem to the system status monitor. This command must be called before any other. I.e. all other status commands are ignored unless a subsystem with that name already exists. When trying to add a subsystem with an existing name, the existing subsystem is left unchanged and warning trace is produced. May also specify the maximum expected interval between heartbeats. When time since last heartbeat exceeds this, an alarm is raised. Heartbeat interval is normally positive, measured in seconds. Negative interval means infinite interval, this is the default behavior. The initial state of the subsystem is Initialising. Implements gbxutilacfr::Status.
Sets subsystem status to Fault. Throws gbxutilacfr::Exception if the subsystem does not exist. Implements gbxutilacfr::Status.
Record heartbeat from a subsystem: let Status know the subsystem is alive without modifying its status. Throws gbxutilacfr::Exception if the subsystem does not exist. Implements gbxutilacfr::Status.
Sets subsystem status to Initialising. Note that empty message is assumed if none is supplied. Throws gbxutilacfr::Exception if the subsystem does not exist. Implements gbxutilacfr::Status.
Sets subsystem status to Ok. Note that empty message is assumed if none is supplied. Throws gbxutilacfr::Exception if the subsystem does not exist. Implements gbxutilacfr::Status.
Some thread should call this function periodically in order for status publishing to happen. Implements gbxutilacfr::Status.
Removes subsystem from the status monitor. This should be done for example, if one of the thread is shutting down or restarting. Throws gbxutilacfr::Exception if the subsystem does not exist. Implements gbxutilacfr::Status.
Modifies maximum expected interval between heartbeats (in seconds). When time since last heartbeat exceeds this, alarm is raised. Throws gbxutilacfr::Exception if the subsystem does not exist. Implements gbxutilacfr::Status.
Sets subsystem status to Warning. Throws gbxutilacfr::Exception if the subsystem does not exist. Implements gbxutilacfr::Status.
The documentation for this class was generated from the following files:
|