|
Blender V4.3
|
#include <GHOST_TimerTask.hh>
Inherits GHOST_ITimerTask.
Public Member Functions | |
| GHOST_TimerTask (uint64_t start, uint64_t interval, GHOST_TimerProcPtr timerProc, GHOST_TUserDataPtr userData=nullptr) | |
| uint64_t | getStart () const |
| void | setStart (uint64_t start) |
| uint64_t | getInterval () const |
| void | setInterval (uint64_t interval) |
| uint64_t | getNext () const |
| void | setNext (uint64_t next) |
| GHOST_TimerProcPtr | getTimerProc () const |
| void | setTimerProc (const GHOST_TimerProcPtr timerProc) |
| GHOST_TUserDataPtr | getUserData () const |
| void | setUserData (const GHOST_TUserDataPtr userData) |
| uint32_t | getAuxData () const |
| void | setAuxData (uint32_t auxData) |
Public Member Functions inherited from GHOST_ITimerTask | |
| virtual | ~GHOST_ITimerTask () |
Protected Attributes | |
| uint64_t | m_start |
| uint64_t | m_interval |
| uint64_t | m_next |
| GHOST_TimerProcPtr | m_timerProc |
| GHOST_TUserDataPtr | m_userData |
| uint32_t | m_auxData |
Implementation of a timer task.
Definition at line 17 of file GHOST_TimerTask.hh.
|
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 26 of file GHOST_TimerTask.hh.
|
inline |
Returns the auxiliary storage room.
Definition at line 133 of file GHOST_TimerTask.hh.
References m_auxData.
|
inline |
Returns the timer interval.
Definition at line 61 of file GHOST_TimerTask.hh.
References m_interval.
|
inline |
Returns the time the timerProc will be called.
Definition at line 79 of file GHOST_TimerTask.hh.
References m_next.
|
inline |
Returns the timer start time.
Definition at line 43 of file GHOST_TimerTask.hh.
References m_start.
|
inlinevirtual |
Returns the timer callback.
Implements GHOST_ITimerTask.
Definition at line 97 of file GHOST_TimerTask.hh.
References m_timerProc.
|
inlinevirtual |
Returns the timer user data.
Implements GHOST_ITimerTask.
Definition at line 115 of file GHOST_TimerTask.hh.
References m_userData.
|
inline |
Changes the auxiliary storage room.
| auxData | The auxiliary storage room. |
Definition at line 142 of file GHOST_TimerTask.hh.
References m_auxData.
|
inline |
Changes the timer interval.
| interval | The timer interval. |
Definition at line 70 of file GHOST_TimerTask.hh.
References m_interval.
|
inline |
Changes the time the timerProc will be called.
| next | The time the timerProc will be called. |
Definition at line 88 of file GHOST_TimerTask.hh.
|
inline |
Changes the timer start time.
| start | The timer start time. |
Definition at line 52 of file GHOST_TimerTask.hh.
References m_start.
|
inlinevirtual |
Changes the timer callback.
| timerProc | The timer callback. |
Implements GHOST_ITimerTask.
Definition at line 106 of file GHOST_TimerTask.hh.
References m_timerProc.
|
inlinevirtual |
Changes the time user data.
| userData | The timer user data. |
Implements GHOST_ITimerTask.
Definition at line 124 of file GHOST_TimerTask.hh.
References m_userData.
|
protected |
Auxiliary storage room.
Definition at line 164 of file GHOST_TimerTask.hh.
Referenced by getAuxData(), and setAuxData().
|
protected |
The interval between calls.
Definition at line 152 of file GHOST_TimerTask.hh.
Referenced by getInterval(), and setInterval().
|
protected |
The time the timerProc will be called.
Definition at line 155 of file GHOST_TimerTask.hh.
|
protected |
The time the timer task was started.
Definition at line 149 of file GHOST_TimerTask.hh.
Referenced by getStart(), and setStart().
|
protected |
The callback invoked when the timer expires.
Definition at line 158 of file GHOST_TimerTask.hh.
Referenced by getTimerProc(), and setTimerProc().
|
protected |
The timer task user data.
Definition at line 161 of file GHOST_TimerTask.hh.
Referenced by getUserData(), and setUserData().