Health API
HasHealthIF
-
class HasHealthIF
Subclassed by AbstractTemperatureSensor, ControllerBase, DeviceHandlerBase, Fuse, HealthDevice, PowerSensor, PowerSwitcherComponent, SubsystemBase
Public Functions
-
virtual ReturnValue_t setHealth(HealthState health) = 0
Set the Health State The parent will be informed, if the Health changes.
- Parameters:
health –
-
virtual HasHealthIF::HealthState getHealth() = 0
Get Health State.
- Returns:
Health State of the object
Public Static Attributes
-
static const Event OVERWRITING_HEALTH = MAKE_EVENT(9, severity::LOW)
Assembly overwrites health information of children to keep satellite alive.
-
static const Event TRYING_RECOVERY = MAKE_EVENT(10, severity::MEDIUM)
Someone starts a recovery of a component (typically power-cycle). No parameters.
-
virtual ReturnValue_t setHealth(HealthState health) = 0