Blender V2.61 - r43446
|
#include <GHOST_ITimerTask.h>
Public Member Functions | |
virtual | ~GHOST_ITimerTask () |
virtual GHOST_TimerProcPtr | getTimerProc () const =0 |
virtual void | setTimerProc (const GHOST_TimerProcPtr timerProc)=0 |
virtual GHOST_TUserDataPtr | getUserData () const =0 |
virtual void | setUserData (const GHOST_TUserDataPtr userData)=0 |
Interface for a timer task. Timer tasks are created by the system and can be installed by the system. After installation, the timer callback-procedure or "timerProc" will be called periodically. You should not need to inherit this class. It is passed to the application in the timer-callback.
Note that GHOST processes timers in the UI thread. You should ask GHOST process messages in order for the timer-callbacks to be called.
Definition at line 53 of file GHOST_ITimerTask.h.
virtual GHOST_ITimerTask::~GHOST_ITimerTask | ( | ) | [inline, virtual] |
Destructor.
Definition at line 59 of file GHOST_ITimerTask.h.
virtual GHOST_TimerProcPtr GHOST_ITimerTask::getTimerProc | ( | ) | const [pure virtual] |
Returns the timer callback.
Implemented in GHOST_TimerTask.
Referenced by GHOST_GetTimerProc().
virtual GHOST_TUserDataPtr GHOST_ITimerTask::getUserData | ( | ) | const [pure virtual] |
Returns the timer user data.
Implemented in GHOST_TimerTask.
Referenced by frameTimerProc(), gearsTimerProc(), and GHOST_GetTimerTaskUserData().
virtual void GHOST_ITimerTask::setTimerProc | ( | const GHOST_TimerProcPtr | timerProc | ) | [pure virtual] |
Changes the timer callback.
timerProc | The timer callback. |
Implemented in GHOST_TimerTask.
Referenced by GHOST_SetTimerProc().
virtual void GHOST_ITimerTask::setUserData | ( | const GHOST_TUserDataPtr | userData | ) | [pure virtual] |
Changes the time user data.
data | The timer user data. |
Implemented in GHOST_TimerTask.
Referenced by GHOST_SetTimerTaskUserData().