All Classes |Grouped Classes |Index

Class CL_Timer

Timer class that invokes a callback on a specified interval. More...

Derived from:

None

Derived by:

None

Group:

System (Core)

#include <ClanLib/core.h>

Class Members:

Construction:

CL_Timer

Creates a timer object.

is_repeating

Returns true if the timer repeats until it is stopped.

get_timeout

Returns the current timeout. In milliseconds.


Events:

func_expired

Callback invoked every time the timer interval occurs.


Operations:

start

Starts the timer. Timeout in milliseconds.

stop

Stop the timer.