6 #ifndef __ALERTED_SENSOR_MANAGER_IDL__
7 #define __ALERTED_SENSOR_MANAGER_IDL__
53 valueobject MonitoredSensorsChangedEvent extends
idl.Event {
66 valueobject AlertedSensorsChangedEvent extends
idl.Event {
A global instance keeping track of sensors in alerted state.
Definition: AlertedSensorManager.idl:15
SensorCounts getSensorCounts()
Retrieve the current sensor counts.
vector< SensorData > changedSensors
Changed or added sensors.
Definition: AlertedSensorManager.idl:68
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
vector< Sensor > removedSensors
Removed sensors.
Definition: AlertedSensorManager.idl:69
Sensor interface
Definition: Sensor.idl:15
Basic IDL definitions.
Definition: Event.idl:10
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
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