#include <Timer.h>
Public Types | |
| typedef void(* | TIMER_CALLBACK )(void *userdata) |
Public Member Functions | |
| Timer () | |
| ~Timer () | |
| bool | start (unsigned int _secs, TIMER_CALLBACK _callfunc, void *_userdata) |
| bool | stop () |
Private Attributes | |
| void * | userdata |
| TIMER_CALLBACK | callfunc |
| unsigned int | secs |
| volatile bool | running |
| typedef void(* Timer::TIMER_CALLBACK)(void *userdata) |
| Timer::Timer | ( | ) |
| Timer::~Timer | ( | ) |
| bool Timer::start | ( | unsigned int | _secs, | |
| TIMER_CALLBACK | _callfunc, | |||
| void * | _userdata | |||
| ) |
| bool Timer::stop | ( | ) |
void* Timer::userdata [private] |
TIMER_CALLBACK Timer::callfunc [private] |
unsigned int Timer::secs [private] |
volatile bool Timer::running [private] |
1.5.5