

Public Member Functions | |
| X11Timer (intf_thread_t *pIntf, CmdGeneric &rCmd) | |
| virtual | ~X11Timer () |
| virtual void | start (int delay, bool oneShot) |
| (Re)start the timer with the given delay (in ms). | |
| virtual void | stop () |
| Stop the timer. | |
| mtime_t | getNextDate () const |
| bool | execute () |
| Execute the callback. | |
| X11Timer::X11Timer | ( | intf_thread_t * | pIntf, | |
| CmdGeneric & | rCmd | |||
| ) |
| virtual X11Timer::~X11Timer | ( | ) | [virtual] |
| virtual void X11Timer::start | ( | int | delay, | |
| bool | oneShot | |||
| ) | [virtual] |
(Re)start the timer with the given delay (in ms).
If oneShot is true, stop it after the first execution of the callback.
Implements OSTimer.
| virtual void X11Timer::stop | ( | ) | [virtual] |
| mtime_t X11Timer::getNextDate | ( | ) | const |
| bool X11Timer::execute | ( | ) |
Execute the callback.
Returns false if the timer must be removed after
1.5.6