|
Wiselib
|
A basic request sensor. More...
Inherits concepts::BasicSensor_concept, and concepts::Request_concept.
Public Types | |
| enum | StateData { READY = ..., NO_VALUE = ..., INACTIVE = ... } |
| State data. More... | |
Public Member Functions | |
| int | state () |
| Returns the current state. | |
| value_t | operator() () |
| Return current value. | |
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. | |
| typedef | OsModel |
| Type of Os Concept which has been set. | |
| typedef | value_t |
| Type of value that is returned. | |
A basic request sensor.
A request sensor refines both the Basic Sensor and the Request, so that a user can call a function to get the current sensor value (via operator()()). The status of the sensor (is it active and provides a reasonable value) can be requested via the state().
enum concepts::BasicSensor_concept::StateData [inherited] |
| value_t concepts::Request_concept::operator() | ( | ) | [inherited] |
Return current value.
Reimplemented in concepts::Position_concept.
| int concepts::BasicSensor_concept::state | ( | ) | [inherited] |
Returns the current state.
typedef concepts::BasicSensor_concept::OsModel [inherited] |
Type of Os Concept which has been set for the sensor facet.
typedef concepts::Request_concept::OsModel [inherited] |
Type of Os Concept which has been set.
typedef concepts::Request_concept::value_t [inherited] |
Type of value that is returned.
Reimplemented in concepts::Position_concept.
typedef concepts::BasicSensor_concept::value_t [inherited] |
Type of value that is returned.
1.7.4