1 #ifndef __SENSORMODEL_NUMERICSENSOR_IDL__ 2 #define __SENSORMODEL_NUMERICSENSOR_IDL__ 6 #include <UserEvent.idl> 14 constant
int THRESHOLD_OUT_OF_RANGE = 1;
15 constant
int THRESHOLD_INVALID = 2;
16 constant
int THRESHOLD_NOT_SUPPORTED = 3;
136 valueobject ReadingChangedEvent extends
idl.Event {
141 valueobject StateChangedEvent extends
idl.Event {
147 valueobject MetaDataChangedEvent extends
idl.Event {
153 valueobject ThresholdsChangedEvent extends
event.UserEvent {
A sensor with numeric readings.
Definition: NumericSensor.idl:12
Range of possible sensor readings.
Definition: NumericSensor.idl:19
MetaData newMetaData
Metadata after change.
Definition: NumericSensor.idl:149
double lowerCritical
Lower critical threshold.
Definition: NumericSensor.idl:114
Threshold capabilities.
Definition: NumericSensor.idl:27
double lower
Minimum reading.
Definition: NumericSensor.idl:20
boolean belowLowerCritical
Reading is below lower critical threshold.
Definition: NumericSensor.idl:126
boolean valid
true if the sensor reading is valid
Definition: NumericSensor.idl:131
Reading newReading
Reading after state change.
Definition: NumericSensor.idl:143
Status status
Numeric sensor status.
Definition: NumericSensor.idl:130
boolean hasLowerWarning
Sensor has lower warning threshold.
Definition: NumericSensor.idl:30
time timestamp
Timestamp of last sample.
Definition: NumericSensor.idl:128
int assertionTimeout
Assertion timeout in samples.
Definition: NumericSensor.idl:115
boolean belowLowerWarning
Reading is below lower warning threshold.
Definition: NumericSensor.idl:125
boolean lowerCriticalActive
true if the lower critical threshold is enabled
Definition: NumericSensor.idl:113
boolean hasLowerCritical
Sensor has lower critical threshold.
Definition: NumericSensor.idl:31
Thresholds newThresholds
Threshold set after change.
Definition: NumericSensor.idl:155
double upperWarning
Upper warning threshold.
Definition: NumericSensor.idl:110
boolean hasUpperWarning
Sensor has upper warning threshold.
Definition: NumericSensor.idl:29
double value
Numeric sensor reading.
Definition: NumericSensor.idl:132
boolean upperWarningActive
true if the upper warning threshold is enabled
Definition: NumericSensor.idl:109
boolean upperCriticalActive
true if the upper critical threshold is enabled
Definition: NumericSensor.idl:107
Basic IDL definitions.
Definition: Event.idl:6
boolean available
true if the sensor is available
Definition: NumericSensor.idl:129
boolean aboveUpperWarning
Reading is above upper warning threshold.
Definition: NumericSensor.idl:124
double lowerWarning
Lower warning threshold.
Definition: NumericSensor.idl:112
Numeric sensor thresholds.
Definition: NumericSensor.idl:106
Sensor interface
Definition: Sensor.idl:10
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8
Numeric sensor reading.
Definition: NumericSensor.idl:120
boolean aboveUpperCritical
Reading is above upper critical threshold.
Definition: NumericSensor.idl:123
double upper
Maximum reading.
Definition: NumericSensor.idl:21
double upperCritical
Upper critical threshold.
Definition: NumericSensor.idl:108
boolean hasUpperCritical
Sensor has upper critical threshold.
Definition: NumericSensor.idl:28
Numeric sensor status.
Definition: NumericSensor.idl:122
Complete sensor type specification.
Definition: Sensor.idl:153
boolean lowerWarningActive
true if the lower warning threshold is enabled
Definition: NumericSensor.idl:111
float deassertionHysteresis
Deassertion hysteresis.
Definition: NumericSensor.idl:116