Wiselib
Public Types | Public Member Functions | Public Attributes
concepts::BasicSensor_concept Class Reference

Basic Concept for Sensors. More...

Inherited by concepts::CallbackSensor_concept, concepts::ManagedSensor_concept, and concepts::RequestSensor_concept.

List of all members.

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.

Detailed Description

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.


Member Enumeration Documentation

State data.

Enumerator:
READY 
NO_VALUE 
INACTIVE 

Member Function Documentation

int concepts::BasicSensor_concept::state ( )

Returns the current state.


Member Data Documentation

Type of Os Concept which has been set for the sensor facet.

Type of value that is returned.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines