Wiselib
Public Types | Public Member Functions
wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD > Class Template Reference

iSense Implementation of Clock Concept , ,iSense implementation of the Clock Concept ... More...

#include <isense_light_sensor.h>

Inherits wiselib::SensorCallbackBase< OsModel_P, bool >.

List of all members.

Public Types

enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
enum  States { READY = OsModel::READY, NO_VALUE = OsModel::NO_VALUE, INACTIVE = OsModel::INACTIVE }
typedef OsModel_P OsModel
typedef iSenseLightSensor
< OsModel, LIGHT_THRESHOLD > 
self_t
typedef self_tself_pointer_t
typedef bool value_t
enum  ReturnValues
typedef delegate1< void, value_tsensor_callback_delegate_t
typedef vector_static< OsModel,
sensor_callback_delegate_t,
SENSOR_CALLBACK_BASE_MAX_RECEIVERS > 
CallbackVector
typedef CallbackVector::iterator CallbackVectorIterator

Public Member Functions

 iSenseLightSensor (isense::Os &os)
int state ()
value_t operator() ()
uint32_t get_v ()
void handle_uint32_data (uint32 value)
 Inherited from UInt32DataHandler, called by the light sensor upon luminance changes.
void execute (void *)
int register_sensor_callback (T *obj_pnt)
int unreg_read_callback (int idx)
void notify_receivers (value_t value)

Detailed Description

template<typename OsModel_P, int LIGHT_THRESHOLD = 30>
class wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >

iSense Implementation of Clock Concept , ,

iSense implementation of the Clock Concept ...


Member Typedef Documentation

typedef vector_static<OsModel, sensor_callback_delegate_t, SENSOR_CALLBACK_BASE_MAX_RECEIVERS > wiselib::SensorCallbackBase< OsModel_P, bool , SENSOR_CALLBACK_BASE_MAX_RECEIVERS >::CallbackVector [inherited]
typedef CallbackVector::iterator wiselib::SensorCallbackBase< OsModel_P, bool , SENSOR_CALLBACK_BASE_MAX_RECEIVERS >::CallbackVectorIterator [inherited]
template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
typedef OsModel_P wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::OsModel
template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
typedef self_t* wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::self_pointer_t
template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
typedef iSenseLightSensor<OsModel, LIGHT_THRESHOLD> wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::self_t
typedef delegate1<void, value_t> wiselib::SensorCallbackBase< OsModel_P, bool , SENSOR_CALLBACK_BASE_MAX_RECEIVERS >::sensor_callback_delegate_t [inherited]
template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
typedef bool wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::value_t

Member Enumeration Documentation

template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
enum wiselib::iSenseLightSensor::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 
template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
enum wiselib::iSenseLightSensor::States
Enumerator:
READY 
NO_VALUE 
INACTIVE 

Constructor & Destructor Documentation

template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::iSenseLightSensor ( isense::Os os) [inline]

Member Function Documentation

template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
void wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::execute ( void *  ) [inline]
template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
uint32_t wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::get_v ( ) [inline]
template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
void wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::handle_uint32_data ( uint32  value) [inline]

Inherited from UInt32DataHandler, called by the light sensor upon luminance changes.

void wiselib::SensorCallbackBase< OsModel_P, bool , SENSOR_CALLBACK_BASE_MAX_RECEIVERS >::notify_receivers ( value_t  value) [inline, inherited]
template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
value_t wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::operator() ( ) [inline]
int wiselib::SensorCallbackBase< OsModel_P, bool , SENSOR_CALLBACK_BASE_MAX_RECEIVERS >::register_sensor_callback ( T *  obj_pnt) [inline, inherited]
template<typename OsModel_P , int LIGHT_THRESHOLD = 30>
int wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::state ( ) [inline]
int wiselib::SensorCallbackBase< OsModel_P, bool , SENSOR_CALLBACK_BASE_MAX_RECEIVERS >::unreg_read_callback ( int  idx) [inline, inherited]

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