6 #ifndef __SENSORMODEL_NUMERICSENSOR_IDL__ 7 #define __SENSORMODEL_NUMERICSENSOR_IDL__ 11 #include <UserEvent.idl> 19 constant
int THRESHOLD_OUT_OF_RANGE = 1;
20 constant
int THRESHOLD_INVALID = 2;
21 constant
int THRESHOLD_NOT_SUPPORTED = 3;
141 valueobject ReadingChangedEvent extends
idl.Event {
146 valueobject StateChangedEvent extends
idl.Event {
152 valueobject MetaDataChangedEvent extends
idl.Event {
153 MetaData oldMetaData;
158 valueobject ThresholdsChangedEvent extends
event.UserEvent {
159 Thresholds oldThresholds;
168 MetaData getMetaData();
175 Thresholds getDefaultThresholds();
182 Thresholds getThresholds();
194 int setThresholds(in Thresholds thresh);
201 Reading getReading();
double upperWarning
Upper warning threshold.
Definition: NumericSensor.idl:115
Numeric sensor status.
Definition: NumericSensor.idl:127
Range of possible sensor readings.
Definition: NumericSensor.idl:24
double upperCritical
Upper critical threshold.
Definition: NumericSensor.idl:113
boolean hasLowerWarning
Sensor has lower warning threshold.
Definition: NumericSensor.idl:35
boolean hasUpperCritical
Sensor has upper critical threshold.
Definition: NumericSensor.idl:33
boolean lowerCriticalActive
true if the lower critical threshold is enabled
Definition: NumericSensor.idl:118
float deassertionHysteresis
Deassertion hysteresis.
Definition: NumericSensor.idl:121
double upper
Maximum reading.
Definition: NumericSensor.idl:26
boolean aboveUpperCritical
Reading is above upper critical threshold.
Definition: NumericSensor.idl:128
double lowerCritical
Lower critical threshold.
Definition: NumericSensor.idl:119
Thresholds newThresholds
Threshold set after change.
Definition: NumericSensor.idl:160
boolean valid
true if the sensor reading is valid
Definition: NumericSensor.idl:136
boolean upperCriticalActive
true if the upper critical threshold is enabled
Definition: NumericSensor.idl:112
double lower
Minimum reading.
Definition: NumericSensor.idl:25
double lowerWarning
Lower warning threshold.
Definition: NumericSensor.idl:117
time timestamp
Timestamp of last sample.
Definition: NumericSensor.idl:133
Basic IDL definitions.
Definition: Event.idl:10
double value
Numeric sensor reading.
Definition: NumericSensor.idl:137
boolean belowLowerWarning
Reading is below lower warning threshold.
Definition: NumericSensor.idl:130
boolean available
true if the sensor is available
Definition: NumericSensor.idl:134
Numeric sensor thresholds.
Definition: NumericSensor.idl:111
Sensor interface
Definition: Sensor.idl:15
Numeric sensor reading.
Definition: NumericSensor.idl:125
MetaData newMetaData
Metadata after change.
Definition: NumericSensor.idl:154
boolean belowLowerCritical
Reading is below lower critical threshold.
Definition: NumericSensor.idl:131
Reading newReading
Reading after state change.
Definition: NumericSensor.idl:148
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
Complete sensor type specification.
Definition: Sensor.idl:160
boolean lowerWarningActive
true if the lower warning threshold is enabled
Definition: NumericSensor.idl:116
boolean aboveUpperWarning
Reading is above upper warning threshold.
Definition: NumericSensor.idl:129
Status status
Numeric sensor status.
Definition: NumericSensor.idl:135
A sensor with numeric readings.
Definition: NumericSensor.idl:17
boolean upperWarningActive
true if the upper warning threshold is enabled
Definition: NumericSensor.idl:114
boolean hasLowerCritical
Sensor has lower critical threshold.
Definition: NumericSensor.idl:36
int assertionTimeout
Assertion timeout in samples.
Definition: NumericSensor.idl:120
boolean hasUpperWarning
Sensor has upper warning threshold.
Definition: NumericSensor.idl:34
Threshold capabilities.
Definition: NumericSensor.idl:32