#include <gr_timer.h>
Public Member Functions | |
~gr_timer () | |
void | schedule_at (double abs_when) |
schedule timer to fire at abs_when | |
void | schedule_after (double rel_when) |
schedule timer to fire rel_when seconds from now. | |
void | schedule_periodic (double abs_when, double period) |
schedule a periodic timeout. | |
void | unschedule () |
cancel timer | |
Static Public Member Functions | |
static double | now () |
return absolute current time (seconds since the epoc). | |
Friends | |
gr_timer_sptr | gr_make_timer (gr_timer_hook, void *) |
create a timeout. |
|
|
|
return absolute current time (seconds since the epoc).
|
|
schedule timer to fire rel_when seconds from now.
|
|
schedule timer to fire at abs_when
|
|
schedule a periodic timeout.
|
|
cancel timer
|
|
create a timeout. gr_timer_hook is called when timer fires. |