6 #ifndef __ALERTED_SENSOR_MANAGER_IDL__
7 #define __ALERTED_SENSOR_MANAGER_IDL__
A global instance keeping track of sensors in alerted state.
Definition: AlertedSensorManager.idl:15
SensorCounts getSensorCounts()
Retrieve the current sensor counts.
vector< SensorData > getAllSensors()
Retrieve a list of all monitored sensors.
vector< SensorData > getAlertedSensors()
Retrieve a list of currently alerted sensors.
AlertState
Sensor alert state.
Definition: AlertedSensorManager.idl:18
@ NORMAL
Sensor is not alerted.
Definition: AlertedSensorManager.idl:20
@ CRITICAL
Sensor is in critical state.
Definition: AlertedSensorManager.idl:21
@ UNAVAILABLE
Sensor is unavailable.
Definition: AlertedSensorManager.idl:19
Sensor interface
Definition: Sensor.idl:15
Basic IDL definitions.
Definition: Event.idl:10
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
Common base for all events.
Definition: Event.idl:13
Event: One or more sensors' alert states have changed.
Definition: AlertedSensorManager.idl:66
SensorCounts counts
Sensor statistics after the change.
Definition: AlertedSensorManager.idl:67
vector< Sensor > removedSensors
Removed sensors.
Definition: AlertedSensorManager.idl:69
vector< SensorData > changedSensors
Changed or added sensors.
Definition: AlertedSensorManager.idl:68
Event: A change in the list of monitored sensors occurred.
Definition: AlertedSensorManager.idl:53
SensorCounts counts
Sensor statistics after the change.
Definition: AlertedSensorManager.idl:54
Statistics about monitored sensors.
Definition: AlertedSensorManager.idl:26
int critical
Number of critical sensors.
Definition: AlertedSensorManager.idl:29
int unavailable
Number of unavailable sensors.
Definition: AlertedSensorManager.idl:28
int total
Total number of monitored sensors.
Definition: AlertedSensorManager.idl:27
int warned
Number of warned sensors.
Definition: AlertedSensorManager.idl:30
Data about a monitored sensor.
Definition: AlertedSensorManager.idl:40
AlertState alertState
Current alert state of the sensor.
Definition: AlertedSensorManager.idl:43
Object parent
Reference to the sensor's parent object.
Definition: AlertedSensorManager.idl:42
Sensor sensor
Reference to the sensor object.
Definition: AlertedSensorManager.idl:41