Blender V2.61 - r43446
|
#include <GHOST_TimerTask.h>
Public Member Functions | |
GHOST_TimerTask (GHOST_TUns64 start, GHOST_TUns64 interval, GHOST_TimerProcPtr timerProc, GHOST_TUserDataPtr userData=0) | |
virtual GHOST_TUns64 | getStart () const |
virtual void | setStart (GHOST_TUns64 start) |
virtual GHOST_TUns64 | getInterval () const |
virtual void | setInterval (GHOST_TUns64 interval) |
virtual GHOST_TUns64 | getNext () const |
virtual void | setNext (GHOST_TUns64 next) |
virtual GHOST_TimerProcPtr | getTimerProc () const |
virtual void | setTimerProc (const GHOST_TimerProcPtr timerProc) |
virtual GHOST_TUserDataPtr | getUserData () const |
virtual void | setUserData (const GHOST_TUserDataPtr userData) |
virtual GHOST_TUns32 | getAuxData () const |
virtual void | setAuxData (GHOST_TUns32 auxData) |
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 |
GHOST_TimerTask::GHOST_TimerTask | ( | GHOST_TUns64 | start, |
GHOST_TUns64 | interval, | ||
GHOST_TimerProcPtr | timerProc, | ||
GHOST_TUserDataPtr | userData = 0 |
||
) | [inline] |
Constructor.
start | The timer start time. |
interval | The interval between calls to the timerProc |
timerProc | The callbak invoked when the interval expires. |
data | The timer user data. |
Definition at line 54 of file GHOST_TimerTask.h.
virtual GHOST_TUns32 GHOST_TimerTask::getAuxData | ( | ) | const [inline, virtual] |
Returns the auxiliary storage room.
Definition at line 161 of file GHOST_TimerTask.h.
References m_auxData.
virtual GHOST_TUns64 GHOST_TimerTask::getInterval | ( | ) | const [inline, virtual] |
Returns the timer interval.
Definition at line 89 of file GHOST_TimerTask.h.
References m_interval.
Referenced by GHOST_TimerManager::fireTimer().
virtual GHOST_TUns64 GHOST_TimerTask::getNext | ( | ) | const [inline, virtual] |
Returns the time the timerProc will be called.
Definition at line 107 of file GHOST_TimerTask.h.
References m_next.
Referenced by GHOST_TimerManager::fireTimer().
virtual GHOST_TUns64 GHOST_TimerTask::getStart | ( | void | ) | const [inline, virtual] |
Returns the timer start time.
Definition at line 71 of file GHOST_TimerTask.h.
References m_start.
Referenced by GHOST_TimerManager::fireTimer().
virtual GHOST_TimerProcPtr GHOST_TimerTask::getTimerProc | ( | ) | const [inline, virtual] |
Returns the timer callback.
Implements GHOST_ITimerTask.
Definition at line 125 of file GHOST_TimerTask.h.
References m_timerProc.
Referenced by GHOST_TimerManager::fireTimer().
virtual GHOST_TUserDataPtr GHOST_TimerTask::getUserData | ( | ) | const [inline, virtual] |
Returns the timer user data.
Implements GHOST_ITimerTask.
Definition at line 143 of file GHOST_TimerTask.h.
References m_userData.
virtual void GHOST_TimerTask::setAuxData | ( | GHOST_TUns32 | auxData | ) | [inline, virtual] |
Changes the auxiliary storage room.
auxData | The auxiliary storage room. |
Definition at line 170 of file GHOST_TimerTask.h.
References m_auxData.
virtual void GHOST_TimerTask::setInterval | ( | GHOST_TUns64 | interval | ) | [inline, virtual] |
Changes the timer interval.
interval | The timer interval. |
Definition at line 98 of file GHOST_TimerTask.h.
References m_interval.
virtual void GHOST_TimerTask::setNext | ( | GHOST_TUns64 | next | ) | [inline, virtual] |
Changes the time the timerProc will be called.
next | The time the timerProc will be called. |
Definition at line 116 of file GHOST_TimerTask.h.
Referenced by GHOST_TimerManager::fireTimer().
virtual void GHOST_TimerTask::setStart | ( | GHOST_TUns64 | start | ) | [inline, virtual] |
Changes the timer start time.
start | The timer start time. |
Definition at line 80 of file GHOST_TimerTask.h.
References m_start.
virtual void GHOST_TimerTask::setTimerProc | ( | const GHOST_TimerProcPtr | timerProc | ) | [inline, virtual] |
Changes the timer callback.
The | timer callback. |
Implements GHOST_ITimerTask.
Definition at line 134 of file GHOST_TimerTask.h.
References m_timerProc.
virtual void GHOST_TimerTask::setUserData | ( | const GHOST_TUserDataPtr | userData | ) | [inline, virtual] |
Changes the time user data.
data | The timer user data. |
Implements GHOST_ITimerTask.
Definition at line 152 of file GHOST_TimerTask.h.
References m_userData.
GHOST_TUns32 GHOST_TimerTask::m_auxData [protected] |
Auxiliary storage room.
Definition at line 192 of file GHOST_TimerTask.h.
Referenced by getAuxData(), and setAuxData().
GHOST_TUns64 GHOST_TimerTask::m_interval [protected] |
The interval between calls.
Definition at line 180 of file GHOST_TimerTask.h.
Referenced by getInterval(), and setInterval().
GHOST_TUns64 GHOST_TimerTask::m_next [protected] |
The time the timerProc will be called.
Definition at line 183 of file GHOST_TimerTask.h.
GHOST_TUns64 GHOST_TimerTask::m_start [protected] |
The time the timer task was started.
Definition at line 177 of file GHOST_TimerTask.h.
Referenced by getStart(), and setStart().
GHOST_TimerProcPtr GHOST_TimerTask::m_timerProc [protected] |
The callback invoked when the timer expires.
Definition at line 186 of file GHOST_TimerTask.h.
Referenced by getTimerProc(), and setTimerProc().
GHOST_TUserDataPtr GHOST_TimerTask::m_userData [protected] |
The timer task user data.
Definition at line 189 of file GHOST_TimerTask.h.
Referenced by getUserData(), and setUserData().