6#ifndef __ALERTED_SENSOR_MANAGER_IDL__
7#define __ALERTED_SENSOR_MANAGER_IDL__
A global instance keeping track of sensors in alerted state.
SensorCounts getSensorCounts()
Retrieve the current sensor counts.
vector< SensorData > getAlertedSensors()
Retrieve a list of currently alerted sensors.
AlertState
Sensor alert state.
@ NORMAL
Sensor is not alerted.
@ CRITICAL
Sensor is in critical state.
@ UNAVAILABLE
Sensor is unavailable.
vector< SensorData > getAllSensors()
Retrieve a list of all monitored sensors.
Common base for all events.
Event: One or more sensors' alert states have changed.
SensorCounts counts
Sensor statistics after the change.
vector< Sensor > removedSensors
Removed sensors.
vector< SensorData > changedSensors
Changed or added sensors.
Event: A change in the list of monitored sensors occurred.
SensorCounts counts
Sensor statistics after the change.
Statistics about monitored sensors.
int critical
Number of critical sensors.
int unavailable
Number of unavailable sensors.
int total
Total number of monitored sensors.
int warned
Number of warned sensors.
Data about a monitored sensor.
AlertState alertState
Current alert state of the sensor.
Object parent
Reference to the sensor's parent object.
Sensor sensor
Reference to the sensor object.