Represents a timer.
More...
#include <Timer.h>
List of all members.
Public Types |
| typedef unsigned int(* | Callback )(unsigned int interval, void *param) |
| | The Timer callback declaration.
|
Public Member Functions |
| | Timer (unsigned int interval, Callback callback, void *param) |
| | ~Timer () |
Detailed Description
Represents a timer.
class Timer
Definition at line 41 of file Timer.h.
Member Typedef Documentation
The Timer callback declaration.
- Parameters:
-
| interval | The number of milliseconds to delay. |
| param | The callback's parameters. |
- Returns:
- The next Timer interval.
Definition at line 52 of file Timer.h.
Constructor & Destructor Documentation
| sdl::devices::Timer::Timer |
( |
unsigned int |
interval, |
|
|
Callback |
callback, |
|
|
void * |
param |
|
) |
| [inline] |
Constructs a Timer.
- Parameters:
-
| interval | The number of milliseconds to delay. |
| callback | The callback to call. |
| param | The callback's parameters. |
Definition at line 61 of file Timer.h.
| sdl::devices::Timer::~Timer |
( |
| ) |
[inline] |
The documentation for this class was generated from the following file: