|
Wiselib
|
Base State Callback classBasic state callback class that provides helpful methods like registration of callbacks. More...
#include <state_callback_base.h>
Public Types | |
| enum | ReturnValues { SUCCESS = OsModel::SUCCESS } |
| typedef OsModel_P | OsModel |
| typedef delegate1< void, int > | state_callback_delegate_t |
| typedef vector_static< OsModel, state_callback_delegate_t, MAX_RECEIVERS > | CallbackVector |
| typedef CallbackVector::iterator | CallbackVectorIterator |
Public Member Functions | |
| template<class T , void(T::*)(int) TMethod> | |
| int | register_state_callback (T *obj_pnt) |
| int | unreg_read_callback (int idx) |
| void | notify_receivers (int value) |
Base State Callback class
Basic state callback class that provides helpful methods like registration of callbacks.
| typedef vector_static<OsModel, state_callback_delegate_t, MAX_RECEIVERS> wiselib::StateCallbackBase< OsModel_P, MAX_RECEIVERS >::CallbackVector |
| typedef CallbackVector::iterator wiselib::StateCallbackBase< OsModel_P, MAX_RECEIVERS >::CallbackVectorIterator |
| typedef OsModel_P wiselib::StateCallbackBase< OsModel_P, MAX_RECEIVERS >::OsModel |
| typedef delegate1<void, int> wiselib::StateCallbackBase< OsModel_P, MAX_RECEIVERS >::state_callback_delegate_t |
| enum wiselib::StateCallbackBase::ReturnValues |
| void wiselib::StateCallbackBase< OsModel_P, MAX_RECEIVERS >::notify_receivers | ( | int | value | ) | [inline] |
| int wiselib::StateCallbackBase< OsModel_P, MAX_RECEIVERS >::register_state_callback | ( | T * | obj_pnt | ) | [inline] |
| int wiselib::StateCallbackBase< OsModel_P, MAX_RECEIVERS >::unreg_read_callback | ( | int | idx | ) | [inline] |
1.7.4