Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <global_timer.h>
Public Types | |
enum class | Type : bool { kRepeating = false , kOneShot = true } |
Public Member Functions | |
GlobalTimer (CJS_App *pObj, CJS_Runtime *pRuntime, Type nType, const WideString &script, uint32_t dwElapse, uint32_t dwTimeOut) | |
~GlobalTimer () | |
bool | IsOneShot () const |
uint32_t | GetTimeOut () const |
int32_t | GetTimerID () const |
CJS_Runtime * | GetRuntime () const |
WideString | GetJScript () const |
Static Public Member Functions | |
static void | InitializeGlobals () |
static void | DestroyGlobals () |
static void | Trigger (int32_t nTimerID) |
static void | Cancel (int32_t nTimerID) |
Definition at line 15 of file global_timer.h.
|
strong |
Enumerator | |
---|---|
kRepeating | |
kOneShot |
Definition at line 17 of file global_timer.h.
GlobalTimer::GlobalTimer | ( | CJS_App * | pObj, |
CJS_Runtime * | pRuntime, | ||
Type | nType, | ||
const WideString & | script, | ||
uint32_t | dwElapse, | ||
uint32_t | dwTimeOut ) |
Definition at line 35 of file global_timer.cpp.
References GlobalTimer(), CJS_Runtime::GetTimerHandler(), CFX_Timer::HandlerIface::SetTimer(), and Trigger().
Referenced by GlobalTimer().
GlobalTimer::~GlobalTimer | ( | ) |
Definition at line 53 of file global_timer.cpp.
|
static |
Definition at line 92 of file global_timer.cpp.
|
static |
Definition at line 30 of file global_timer.cpp.
|
inline |
Definition at line 40 of file global_timer.h.
Referenced by CJS_App::TimerProc().
|
inline |
Definition at line 39 of file global_timer.h.
Referenced by CJS_App::TimerProc().
|
inline |
Definition at line 37 of file global_timer.h.
Referenced by CJS_App::TimerProc().
|
inline |
Definition at line 38 of file global_timer.h.
Referenced by CJS_TimerObj::SetTimer().
|
static |
Definition at line 24 of file global_timer.cpp.
|
inline |
Definition at line 36 of file global_timer.h.
References kOneShot.
Referenced by CJS_App::TimerProc(), and Trigger().
|
static |
Definition at line 65 of file global_timer.cpp.
References IsOneShot().
Referenced by GlobalTimer().