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 {
boolean aboveUpperWarning
Reading is above upper warning threshold.
Definition: NumericSensor.idl:124
A sensor with numeric readings.
Definition: NumericSensor.idl:12
Range of possible sensor readings.
Definition: NumericSensor.idl:19
boolean aboveUpperCritical
Reading is above upper critical threshold.
Definition: NumericSensor.idl:123
double lowerCritical
Lower critical threshold.
Definition: NumericSensor.idl:114
Reading newReading
Reading after state change.
Definition: NumericSensor.idl:143
Numeric sensor reading.
Definition: NumericSensor.idl:120
Status status
Numeric sensor status.
Definition: NumericSensor.idl:130
boolean hasUpperWarning
Sensor has upper warning threshold.
Definition: NumericSensor.idl:29
float deassertionHysteresis
Deassertion hysteresis.
Definition: NumericSensor.idl:116
Sensor interface
Definition: Sensor.idl:10
time timestamp
Timestamp of last sample.
Definition: NumericSensor.idl:128
Basic IDL definitions.
Definition: Event.idl:6
boolean lowerWarningActive
true if the lower warning threshold is enabled
Definition: NumericSensor.idl:111
boolean valid
true if the sensor reading is valid
Definition: NumericSensor.idl:131
boolean belowLowerCritical
Reading is below lower critical threshold.
Definition: NumericSensor.idl:126
boolean belowLowerWarning
Reading is below lower warning threshold.
Definition: NumericSensor.idl:125
Threshold capabilities.
Definition: NumericSensor.idl:27
double upper
Maximum reading.
Definition: NumericSensor.idl:21
MetaData newMetaData
Metadata after change.
Definition: NumericSensor.idl:149
Numeric sensor thresholds.
Definition: NumericSensor.idl:106
int assertionTimeout
Assertion timeout in samples.
Definition: NumericSensor.idl:115
boolean hasLowerWarning
Sensor has lower warning threshold.
Definition: NumericSensor.idl:30
boolean upperCriticalActive
true if the upper critical threshold is enabled
Definition: NumericSensor.idl:107
boolean hasLowerCritical
Sensor has lower critical threshold.
Definition: NumericSensor.idl:31
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8
double lowerWarning
Lower warning threshold.
Definition: NumericSensor.idl:112
Complete sensor type specification.
Definition: Sensor.idl:135
Numeric sensor status.
Definition: NumericSensor.idl:122
boolean lowerCriticalActive
true if the lower critical threshold is enabled
Definition: NumericSensor.idl:113
boolean upperWarningActive
true if the upper warning threshold is enabled
Definition: NumericSensor.idl:109
double lower
Minimum reading.
Definition: NumericSensor.idl:20
double upperWarning
Upper warning threshold.
Definition: NumericSensor.idl:110
boolean available
true if the sensor is available
Definition: NumericSensor.idl:129
double value
Numeric sensor reading.
Definition: NumericSensor.idl:132
Thresholds newThresholds
Threshold set after change.
Definition: NumericSensor.idl:155
double upperCritical
Upper critical threshold.
Definition: NumericSensor.idl:108
boolean hasUpperCritical
Sensor has upper critical threshold.
Definition: NumericSensor.idl:28