Timer

Undocumented in source.

Members

Functions

onTick
void onTick()
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset(size_t interval)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset(Duration duration)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

interval
size_t interval [@property getter]
size_t interval [@property setter]
Duration interval [@property setter]

in ms

isActive
bool isActive [@property getter]
time
size_t time [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
wheelSize
size_t wheelSize [@property getter]
_circle
uint _circle;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_interval
size_t _interval;
Undocumented in source.
_isActive
bool _isActive;
Undocumented in source.
_wheelSize
uint _wheelSize;
Undocumented in source.
ticked
TickedHandler ticked;

Timer tick handler - The handler will be handled in another thread

Meta