Wiselib
Public Types | Public Member Functions
wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P > Class Template Reference

Virtual Radio Implementation of Radio ConceptVirtual Radio implementation of the Radio concept ... More...

#include <sensor_controller.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef SensorMap_P SensorMap
typedef String_P String
typedef Debug_P Debug
typedef SensorController
< OsModel, SensorMap, String,
Debug
self_type
typedef self_typeself_pointer_t
typedef delegate0< char * > sensor_delegate_t

Public Member Functions

void init (Debug &debug)
void add_sensor (uint8_t id, String name, sensor_delegate_t delegate)
void delete_sensor (uint8_t id)
char * value (uint8_t id)
bool has_sensor (uint8_t id)
String sensors (void)
template<class T , char *(T::*)() TMethod>
sensor_delegate_t create_sensor_delegate (T *obj_pnt)

Detailed Description

template<typename OsModel_P, typename SensorMap_P, typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
class wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >

Virtual Radio Implementation of Radio Concept

Virtual Radio implementation of the Radio concept ...


Member Typedef Documentation

template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
typedef Debug_P wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::Debug
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
typedef OsModel_P wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::OsModel
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
typedef self_type* wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::self_pointer_t
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
typedef SensorController<OsModel, SensorMap, String, Debug> wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::self_type
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
typedef delegate0<char*> wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::sensor_delegate_t
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
typedef SensorMap_P wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::SensorMap
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
typedef String_P wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::String

Member Function Documentation

template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
void wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::add_sensor ( uint8_t  id,
String  name,
sensor_delegate_t  delegate 
) [inline]
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
template<class T , char *(T::*)() TMethod>
sensor_delegate_t wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::create_sensor_delegate ( T *  obj_pnt) [inline]
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
void wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::delete_sensor ( uint8_t  id) [inline]
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
bool wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::has_sensor ( uint8_t  id) [inline]
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
void wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::init ( Debug debug) [inline]
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
String wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::sensors ( void  ) [inline]
template<typename OsModel_P , typename SensorMap_P , typename String_P = StaticString, typename Debug_P = typename OsModel_P::Debug>
char* wiselib::SensorController< OsModel_P, SensorMap_P, String_P, Debug_P >::value ( uint8_t  id) [inline]

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