BaseTimer

Constructors

this
this()

Members

Functions

active
void active(bool value)
bool active()

Starts or stops the timer or indicates its status.

interval
void interval(uint value)
uint interval()

Sets or gets the interval, in milliseconds, between each onTimer event.

onTimer
void onTimer(void delegate(Object) value)
void delegate(Object) onTimer()

Sets or gets the event called when at least interval milliseconds have ellapsed.

start
void start()

Starts the timer.

stop
void stop()

Stops the timer.

Inherited Members

From PropertyPublisher

publicationCount
size_t publicationCount()

Returns the count of descriptor this class publishes.

publicationFromName
GenericDescriptor* publicationFromName(const(char)[] name)

Returns a pointer to a descriptor according to its name. Similar to the publication() function template excepted that the result type has not to be specified.

publicationFromIndex
GenericDescriptor* publicationFromIndex(size_t index)

Returns a pointer the index-th descriptor. Index must be within the [0 .. publicationCount] range.

declarator
Object declarator()
void declarator(Object value)

Pointer to the object that has created the descriptor leading to this PropertyPublisher instance.

Meta