Wiselib
Public Types | Public Member Functions
wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P > Class Template Reference

#include <managed_sensor.h>

List of all members.

Public Types

enum  ErrorCodes { SUCCESS = Sensor::SUCCESS, ERR_UNSPEC = Sensor::ERR_UNSPEC }
enum  States { READY = Sensor::READY, NO_VALUE = Sensor::NO_VALUE, INACTIVE = Sensor::INACTIVE }
typedef OsModel_P OsModel
typedef OsModel::AppMainParameter AppMainParameter
typedef String_P String
typedef Sensor_P Sensor
typedef Sensor_P::value_t value_t
typedef ManagedSensor< OsModel,
Sensor, String
self_type
typedef self_typeself_pointer_t
typedef delegate0< char * > sensor_delegate_t

Public Member Functions

void init (Sensor &sensor, String name)
void init_with_facetprovider (AppMainParameter &app, String name)
int state ()
value_t operator() ()
uint32_t get_v ()
char * encoded_value ()
char * name ()
sensor_delegate_t sensor_delegate ()

template<typename OsModel_P, typename Sensor_P, typename String_P = StaticString>
class wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >


Member Typedef Documentation

template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
typedef OsModel::AppMainParameter wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::AppMainParameter
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
typedef OsModel_P wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::OsModel
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
typedef self_type* wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::self_pointer_t
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
typedef ManagedSensor<OsModel, Sensor, String> wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::self_type
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
typedef Sensor_P wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::Sensor
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
typedef delegate0<char*> wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::sensor_delegate_t
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
typedef String_P wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::String
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
typedef Sensor_P::value_t wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::value_t

Member Enumeration Documentation

template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
enum wiselib::ManagedSensor::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
enum wiselib::ManagedSensor::States
Enumerator:
READY 
NO_VALUE 
INACTIVE 

Member Function Documentation

template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
char* wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::encoded_value ( ) [inline]
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
uint32_t wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::get_v ( ) [inline]
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
void wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::init ( Sensor sensor,
String  name 
) [inline]
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
void wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::init_with_facetprovider ( AppMainParameter app,
String  name 
) [inline]
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
char* wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::name ( void  ) [inline]
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
value_t wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::operator() ( ) [inline]
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
sensor_delegate_t wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::sensor_delegate ( ) [inline]
template<typename OsModel_P , typename Sensor_P , typename String_P = StaticString>
int wiselib::ManagedSensor< OsModel_P, Sensor_P, String_P >::state ( ) [inline]

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