AbstractTimer

Constructors

this
this(Selector loop)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

readTimer
bool readTimer(SimpleActionHandler read)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(bool immediately, bool once)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_readBuffer
UintObject _readBuffer;
Undocumented in source.

Inherited Members

From TimerChannelBase

_isActive
bool _isActive;
Undocumented in source.
_interval
size_t _interval;
Undocumented in source.
ticked
TickedEventHandler ticked;

Timer tick handler

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

in ms

onTick
ITimer onTick(TickedEventHandler handler)

The handler will be handled in another thread.

wheelSize
size_t wheelSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
time
size_t time [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(bool immediately, bool once)
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.
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(bool immediately, bool once)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
onTick
void onTick()
Undocumented in source. Be warned that the author may not have intended to support it.
_wheelSize
uint _wheelSize;
Undocumented in source.
_circle
uint _circle;
Undocumented in source.
_timeOut
size_t _timeOut;
Undocumented in source.

Meta