|
RTC Toolkit 5.1.0
|
Alert Service interface. More...
#include <rtctk/componentFramework/alertServiceIf.hpp>
Public Member Functions | |
| virtual | ~AlertServiceIf ()=default |
| virtual AlertSource | MakeAlertSource (const std::string &id, const std::string &text)=0 |
| Creates a new alert source for a specified alert condition. | |
| virtual bool | GetStatus ()=0 |
| Returns the overall alert status. | |
| virtual void | ClearAll ()=0 |
| Clears all active alerts. | |
Alert Service interface.
Main responsibility of the Alert Service is to allow software to dynamically create new AlertSources, each of which is uniquely associated to an alert condition can be active or inactive.
The AlertSource is then used to signal that the alert condition is active or inactive with AlertSource::Set() and AlertSource::Clear().
The AlertService implementation then reduces all conditions to one status which can be checked with AlertSer:w viceIf::GetStatus.
|
virtualdefault |
Clears all active alerts.
Implemented in rtctk::componentFramework::AlertService.
Returns the overall alert status.
Implemented in rtctk::componentFramework::AlertService.
|
pure virtual |
Creates a new alert source for a specified alert condition.
| id | containing the alert condition ID |
| text | containing the alert condition description. |
| AlertConflictException | if another alert source is alive with the same id |
| RtctkException | if other exceptions occurs (nested). |
Implemented in rtctk::componentFramework::AlertService.