Wiselib
Classes | Public Types | Public Member Functions
wiselib::TimerQueue< OsModel_P, MaxTimers_P > Class Template Reference

#include <pc_timer.h>

List of all members.

Classes

struct  Timer

Public Types

enum  Restrictions { MAX_TIMERS = MaxTimers_P }
enum  { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
typedef TimerQueue< OsModel_P,
MaxTimers_P > 
self_t
typedef suseconds_t micros_t
typedef suseconds_t millis_t
typedef delegate1< void, void * > timer_delegate_t
typedef OsModel_P OsModel

Public Member Functions

 TimerQueue ()
int insert (micros_t interval, timer_delegate_t callback, void *userdata)
int lock ()
int unlock ()
int from_itimer (struct itimerval &timer)
int to_itimer (struct itimerval &timer)
bool has_event ()
timer_delegate_t current_callback ()
void * current_userdata ()
int pop ()
size_t size ()
void debug ()

template<typename OsModel_P, size_t MaxTimers_P>
class wiselib::TimerQueue< OsModel_P, MaxTimers_P >


Member Typedef Documentation

template<typename OsModel_P, size_t MaxTimers_P>
typedef suseconds_t wiselib::TimerQueue< OsModel_P, MaxTimers_P >::micros_t
template<typename OsModel_P, size_t MaxTimers_P>
typedef suseconds_t wiselib::TimerQueue< OsModel_P, MaxTimers_P >::millis_t
template<typename OsModel_P, size_t MaxTimers_P>
typedef OsModel_P wiselib::TimerQueue< OsModel_P, MaxTimers_P >::OsModel
template<typename OsModel_P, size_t MaxTimers_P>
typedef TimerQueue<OsModel_P, MaxTimers_P> wiselib::TimerQueue< OsModel_P, MaxTimers_P >::self_t
template<typename OsModel_P, size_t MaxTimers_P>
typedef delegate1<void, void*> wiselib::TimerQueue< OsModel_P, MaxTimers_P >::timer_delegate_t

Member Enumeration Documentation

template<typename OsModel_P, size_t MaxTimers_P>
anonymous enum
Enumerator:
SUCCESS 
ERR_UNSPEC 
template<typename OsModel_P, size_t MaxTimers_P>
enum wiselib::TimerQueue::Restrictions
Enumerator:
MAX_TIMERS 

Constructor & Destructor Documentation

template<typename OsModel_P , size_t MaxTimers_P>
wiselib::TimerQueue< OsModel_P, MaxTimers_P >::TimerQueue ( )

Member Function Documentation

template<typename OsModel_P , size_t MaxTimers_P>
TimerQueue< OsModel_P, MaxTimers_P >::timer_delegate_t wiselib::TimerQueue< OsModel_P, MaxTimers_P >::current_callback ( )
template<typename OsModel_P , size_t MaxTimers_P>
void * wiselib::TimerQueue< OsModel_P, MaxTimers_P >::current_userdata ( )
template<typename OsModel_P , size_t MaxTimers_P>
void wiselib::TimerQueue< OsModel_P, MaxTimers_P >::debug ( )
template<typename OsModel_P , size_t MaxTimers_P>
int wiselib::TimerQueue< OsModel_P, MaxTimers_P >::from_itimer ( struct itimerval &  timer)
template<typename OsModel_P , size_t MaxTimers_P>
bool wiselib::TimerQueue< OsModel_P, MaxTimers_P >::has_event ( )
template<typename OsModel_P, size_t MaxTimers_P>
int wiselib::TimerQueue< OsModel_P, MaxTimers_P >::insert ( micros_t  interval,
timer_delegate_t  callback,
void *  userdata 
)
template<typename OsModel_P , size_t MaxTimers_P>
int wiselib::TimerQueue< OsModel_P, MaxTimers_P >::lock ( )
template<typename OsModel_P , size_t MaxTimers_P>
int wiselib::TimerQueue< OsModel_P, MaxTimers_P >::pop ( )
template<typename OsModel_P, size_t MaxTimers_P>
size_t wiselib::TimerQueue< OsModel_P, MaxTimers_P >::size ( void  ) [inline]
template<typename OsModel_P , size_t MaxTimers_P>
int wiselib::TimerQueue< OsModel_P, MaxTimers_P >::to_itimer ( struct itimerval &  timer)
template<typename OsModel_P , size_t MaxTimers_P>
int wiselib::TimerQueue< OsModel_P, MaxTimers_P >::unlock ( )

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