#include <pgtimerobject.h>
Inheritance diagram for PG_TimerObject:

Public Types | |
| typedef unsigned long | ID |
Public Member Functions | |
| PG_TimerObject () | |
| Constructor of the PG_TimerObject class. | |
| virtual | ~PG_TimerObject () |
| PG_TimerObject::ID | AddTimer (Uint32 interval) |
| Add a timer to the object. | |
| bool | RemoveTimer (PG_TimerObject::ID id) |
| Remove a timer. | |
| int | SetTimer (Uint32 interval) |
| void | StopTimer () |
| virtual Uint32 | eventTimer (PG_TimerObject::ID id, Uint32 interval) |
| timer event handler | |
| virtual Uint32 | eventTimer (Uint32 interval) |
Public Attributes | |
| SignalTimer | sigTimer |
Classes | |
| class | SignalTimer |
| Signal type declaration. More... | |
Definition at line 49 of file pgtimerobject.h.
|
|
Definition at line 53 of file pgtimerobject.h. |
|
|
Constructor of the PG_TimerObject class. The constructor also calls SDL_InitSubSystem(SDL_Timer) to enable the SDL timer subsystem. Definition at line 8 of file pgtimerobject.cpp. |
|
|
Definition at line 17 of file pgtimerobject.cpp. References RemoveTimer(), and StopTimer(). |
|
|
Add a timer to the object.
Definition at line 39 of file pgtimerobject.cpp. |
|
|
Definition at line 71 of file pgtimerobject.cpp. |
|
||||||||||||
|
timer event handler
Definition at line 67 of file pgtimerobject.cpp. |
|
|
Remove a timer.
Definition at line 56 of file pgtimerobject.cpp. Referenced by ~PG_TimerObject(). |
|
|
Definition at line 104 of file pgtimerobject.cpp. References StopTimer(). |
|
|
Definition at line 114 of file pgtimerobject.cpp. Referenced by SetTimer(), and ~PG_TimerObject(). |
|
|
Definition at line 105 of file pgtimerobject.h. |
1.4.2