|
Wiselib
|
Basic Concept for Sensors. More...
Inherited by concepts::CallbackSensor_concept, concepts::ManagedSensor_concept, and concepts::RequestSensor_concept.
Public Types | |
| enum | StateData { READY = ..., NO_VALUE = ..., INACTIVE = ... } |
| State data. More... | |
Public Member Functions | |
| int | state () |
| Returns the current state. | |
Public Attributes | |
| typedef | OsModel |
| Type of Os Concept which has been set for the sensor facet. | |
| typedef | value_t |
| Type of value that is returned. | |
Basic Concept for Sensors.
A sensor provides a value for a certain sensor. The basic sensor facet implements the State concept, and additionally provides a value type for its values. It does not provide access to values --- this is done by the derived concepts.
| int concepts::BasicSensor_concept::state | ( | ) |
Returns the current state.
Type of Os Concept which has been set for the sensor facet.
Type of value that is returned.
1.7.4