Public Member Functions | |
timer (struct timespec &ts, TimerCallback *tc, timer_callback_param_t tcp, bool get_id=true) | |
bool | operator<= (const timer &t) |
void | do_callback () |
execute callback | |
Public Attributes | |
timer_id_t | id |
struct timespec | time |
TimerCallback * | callback |
timer_callback_param_t | param |
Static Public Attributes | |
static timer_id_t | next_id = 1 |
timer ID counter |
Definition at line 112 of file timer.h.
TimerCallback* protlib::TimerManager::TimerManager::timer::callback |
Definition at line 115 of file timer.h.
Referenced by protlib::TimerManager::TimerManager::timer::do_callback().
timer_id_t protlib::TimerManager::TimerManager::timer::id |
Definition at line 113 of file timer.h.
Referenced by protlib::TimerManager::check_timers_wait(), protlib::TimerManager::collect_elapsed(), protlib::TimerManager::delete_from_list(), protlib::TimerManager::insert_into_list(), protlib::TimerManager::start_absolute(), and protlib::TimerManager::start_relative().
timer_callback_param_t protlib::TimerManager::TimerManager::timer::param |
Definition at line 116 of file timer.h.
Referenced by protlib::TimerManager::TimerManager::timer::do_callback().
struct timespec protlib::TimerManager::TimerManager::timer::time [read] |
Definition at line 114 of file timer.h.
Referenced by protlib::TimerManager::check_timers_wait(), protlib::TimerManager::TimerManager::timer::operator<=(), protlib::TimerManager::restart_absolute(), and protlib::TimerManager::restart_relative().