Blender
V3.3
|
#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 25 of file GHOST_ITimerTask.h.
|
inlinevirtual |
Destructor.
Definition at line 30 of file GHOST_ITimerTask.h.
|
pure virtual |
Returns the timer callback.
Implemented in GHOST_TimerTask.
Referenced by GHOST_GetTimerProc(), and keyboard_handle_key_repeat_reset().
|
pure virtual |
Returns the timer user data.
Implemented in GHOST_TimerTask.
Referenced by GHOST_GetTimerTaskUserData().
|
pure virtual |
Changes the timer callback.
timerProc | The timer callback. |
Implemented in GHOST_TimerTask.
Referenced by GHOST_SetTimerProc().
|
pure virtual |
Changes the time user data.
userData | The timer user data. |
Implemented in GHOST_TimerTask.
Referenced by GHOST_SetTimerTaskUserData().