#include <utimerevent.hpp>
Inheritance diagram for ufo::UTimerEvent:
Public Member Functions | |
UTimerEvent (uint32_t timeOut, const USlot0 &slot) | |
uint32_t | getTimeOut () |
void | startTimer () |
bool | isReadyToRun () |
void | run () |
If sent to the event queue, it is guaranteed that the call back is not executed before the given time has elapsed. It is executed in the event dispatch "thread". But be careful: There is absolutely no guarantee when the call back is executed.
|
Constructor.
|
|
Returns true if the time out has elapsed. |
|
Executes the slot. |
|
Sets the start time used as reference time for the time out. This is automatically executed by the display object. |