Wiselib
|
Lorien Implementation of Timer Concept. More...
#include <lorien_timer.h>
Public Types | |
enum | ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC } |
typedef OsModel_P | OsModel |
typedef LorienTimerModel< OsModel > | self_type |
typedef self_type * | self_pointer_t |
typedef vector_static< OsModel, lorien::TimerItem, 10 > | TimerItemVector |
typedef TimerItemVector::iterator | TimerItemVectorIterator |
typedef uint32_t | millis_t |
Public Member Functions | |
LorienTimerModel () | |
void | init (Component *comp) |
template<typename T , void(T::*)(void *) TMethod> | |
int | set_timer (millis_t millis, T *obj_pnt, void *userdata) |
Static Public Member Functions | |
static void | timer_elapsed (void *ptr) |
Lorien Implementation of Timer Concept.
Lorien implementation of the Timer Concept ...
typedef uint32_t wiselib::LorienTimerModel< OsModel_P >::millis_t |
typedef OsModel_P wiselib::LorienTimerModel< OsModel_P >::OsModel |
typedef self_type* wiselib::LorienTimerModel< OsModel_P >::self_pointer_t |
typedef LorienTimerModel<OsModel> wiselib::LorienTimerModel< OsModel_P >::self_type |
typedef vector_static<OsModel, lorien::TimerItem, 10> wiselib::LorienTimerModel< OsModel_P >::TimerItemVector |
typedef TimerItemVector::iterator wiselib::LorienTimerModel< OsModel_P >::TimerItemVectorIterator |
enum wiselib::LorienTimerModel::ErrorCodes |
wiselib::LorienTimerModel< OsModel_P >::LorienTimerModel | ( | ) | [inline] |
void wiselib::LorienTimerModel< OsModel_P >::init | ( | Component * | comp | ) | [inline] |
int wiselib::LorienTimerModel< OsModel_P >::set_timer | ( | millis_t | millis, |
T * | obj_pnt, | ||
void * | userdata | ||
) | [inline] |
static void wiselib::LorienTimerModel< OsModel_P >::timer_elapsed | ( | void * | ptr | ) | [inline, static] |