|
Blender
V2.93
|
#include <GHOST_TimerTask.h>
Inherits GHOST_ITimerTask.
Public Member Functions | |
| GHOST_TimerTask (GHOST_TUns64 start, GHOST_TUns64 interval, GHOST_TimerProcPtr timerProc, GHOST_TUserDataPtr userData=NULL) | |
| GHOST_TUns64 | getStart () const |
| void | setStart (GHOST_TUns64 start) |
| GHOST_TUns64 | getInterval () const |
| void | setInterval (GHOST_TUns64 interval) |
| GHOST_TUns64 | getNext () const |
| void | setNext (GHOST_TUns64 next) |
| GHOST_TimerProcPtr | getTimerProc () const |
| void | setTimerProc (const GHOST_TimerProcPtr timerProc) |
| GHOST_TUserDataPtr | getUserData () const |
| void | setUserData (const GHOST_TUserDataPtr userData) |
| GHOST_TUns32 | getAuxData () const |
| void | setAuxData (GHOST_TUns32 auxData) |
Public Member Functions inherited from GHOST_ITimerTask | |
| virtual | ~GHOST_ITimerTask () |
Protected Attributes | |
| GHOST_TUns64 | m_start |
| GHOST_TUns64 | m_interval |
| GHOST_TUns64 | m_next |
| GHOST_TimerProcPtr | m_timerProc |
| GHOST_TUserDataPtr | m_userData |
| GHOST_TUns32 | m_auxData |
Implementation of a timer task.
Definition at line 32 of file GHOST_TimerTask.h.
|
inline |
Constructor.
| start | The timer start time. |
| interval | The interval between calls to the #timerProc. |
| timerProc | The callback invoked when the interval expires. |
| userData | The timer user data. |
Definition at line 41 of file GHOST_TimerTask.h.
|
inline |
Returns the auxiliary storage room.
Definition at line 148 of file GHOST_TimerTask.h.
References m_auxData.
|
inline |
Returns the timer interval.
Definition at line 76 of file GHOST_TimerTask.h.
References m_interval.
|
inline |
Returns the time the timerProc will be called.
Definition at line 94 of file GHOST_TimerTask.h.
References m_next.
|
inline |
Returns the timer start time.
Definition at line 58 of file GHOST_TimerTask.h.
References m_start.
|
inlinevirtual |
Returns the timer callback.
Implements GHOST_ITimerTask.
Definition at line 112 of file GHOST_TimerTask.h.
References m_timerProc.
|
inlinevirtual |
Returns the timer user data.
Implements GHOST_ITimerTask.
Definition at line 130 of file GHOST_TimerTask.h.
References m_userData.
|
inline |
Changes the auxiliary storage room.
| auxData | The auxiliary storage room. |
Definition at line 157 of file GHOST_TimerTask.h.
References m_auxData.
|
inline |
Changes the timer interval.
| interval | The timer interval. |
Definition at line 85 of file GHOST_TimerTask.h.
References m_interval.
|
inline |
Changes the time the timerProc will be called.
| next | The time the timerProc will be called. |
Definition at line 103 of file GHOST_TimerTask.h.
|
inline |
Changes the timer start time.
| start | The timer start time. |
Definition at line 67 of file GHOST_TimerTask.h.
References m_start.
|
inlinevirtual |
Changes the timer callback.
| timerProc | The timer callback. |
Implements GHOST_ITimerTask.
Definition at line 121 of file GHOST_TimerTask.h.
References m_timerProc.
|
inlinevirtual |
Changes the time user data.
| userData | The timer user data. |
Implements GHOST_ITimerTask.
Definition at line 139 of file GHOST_TimerTask.h.
References m_userData.
|
protected |
Auxiliary storage room.
Definition at line 179 of file GHOST_TimerTask.h.
Referenced by getAuxData(), and setAuxData().
|
protected |
The interval between calls.
Definition at line 167 of file GHOST_TimerTask.h.
Referenced by getInterval(), and setInterval().
|
protected |
The time the timerProc will be called.
Definition at line 170 of file GHOST_TimerTask.h.
|
protected |
The time the timer task was started.
Definition at line 164 of file GHOST_TimerTask.h.
Referenced by getStart(), and setStart().
|
protected |
The callback invoked when the timer expires.
Definition at line 173 of file GHOST_TimerTask.h.
Referenced by getTimerProc(), and setTimerProc().
|
protected |
The timer task user data.
Definition at line 176 of file GHOST_TimerTask.h.
Referenced by getUserData(), and setUserData().