|
Public Member Functions |
|
| Timer (RefCount< Command > &handler) |
|
void | fireOnce (bool once) |
|
void | setTimeout (time_t val) |
| | set timeout
|
|
void | setTimeout (timeval val) |
| | set timeout
|
|
void | setCommand (RefCount< Command > &cmd) |
|
void | start () |
| | start timing
|
|
void | stop () |
| | stop timing
|
|
int | isTiming () const |
|
int | doOnce () const |
|
const timeval & | getTimeout () const |
|
const timeval & | getStartTime () const |
Static Public Member Functions |
|
void | updateTimers (int file_descriptor) |
| | update all timers
|
Protected Member Functions |
|
void | fireTimeout () |
| | force a timeout
|