Wiselib
|
iSense Implementation of Clock Concept , ,iSense implementation of the Clock Concept ... More...
#include <isense_light_sensor.h>
Inherits wiselib::SensorCallbackBase< OsModel_P, bool >.
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_t * | self_pointer_t |
typedef bool | value_t |
enum | ReturnValues |
typedef delegate1< void, value_t > | sensor_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) |
iSense Implementation of Clock Concept , ,
iSense implementation of the Clock Concept ...
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] |
typedef OsModel_P wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::OsModel |
Reimplemented from wiselib::SensorCallbackBase< OsModel_P, bool >.
typedef self_t* wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::self_pointer_t |
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] |
typedef bool wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::value_t |
Reimplemented from wiselib::SensorCallbackBase< OsModel_P, bool >.
enum wiselib::iSenseLightSensor::ErrorCodes |
enum wiselib::SensorCallbackBase::ReturnValues [inherited] |
enum wiselib::iSenseLightSensor::States |
wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::iSenseLightSensor | ( | isense::Os & | os | ) | [inline] |
void wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::execute | ( | void * | ) | [inline] |
uint32_t wiselib::iSenseLightSensor< OsModel_P, LIGHT_THRESHOLD >::get_v | ( | ) | [inline] |
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] |
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] |
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] |