uiTimer_s Struct Reference

#include <ui_timer.h>

Collaboration diagram for uiTimer_s:
Collaboration graph
[legend]

Data Fields

struct uiTimer_snext
struct uiTimer_sprev
int nextTime
struct uiNode_sowner
timerCallback_t callback
int calledTime
int delay
void * userData
qboolean isRunning

Detailed Description

Todo:
We can use void* for the owner type, and allow to use it outside nodes

Definition at line 36 of file ui_timer.h.


Field Documentation

function called every delay

Definition at line 42 of file ui_timer.h.

Referenced by UI_AllocTimer(), UI_HandleTimers(), and UI_TimerRelease().

time we call the function. For the first call the value is 1

Definition at line 43 of file ui_timer.h.

Referenced by UI_AllocTimer(), UI_GenAllRadarMap(), UI_HandleTimers(), UI_SpinnerNodeRepeat(), and UI_VScrollbarNodeRepeat().

delay in millisecond between each call of

Definition at line 45 of file ui_timer.h.

Referenced by UI_AllocTimer(), UI_HandleTimers(), UI_SpinnerNodeRepeat(), UI_TimerStart(), and UI_VScrollbarNodeRepeat().

true if the timer is running

Definition at line 47 of file ui_timer.h.

Referenced by UI_AllocTimer(), UI_Draw(), UI_HandleTimers(), UI_TimerStart(), and UI_TimerStop().

next time we must call the callback function. Must node be edited, it used to sort linkedlist of timers

Definition at line 39 of file ui_timer.h.

Referenced by UI_HandleTimers(), UI_InsertTimerInActiveList(), and UI_TimerStart().

owner node of the timer

Definition at line 41 of file ui_timer.h.

Referenced by testTimerDataStructure(), UI_AllocTimer(), UI_HandleTimers(), and UI_TimerRelease().

previous timer in the ordered list of active timers

Definition at line 38 of file ui_timer.h.

Referenced by UI_AllocTimer(), UI_InsertTimerInActiveList(), UI_RemoveTimerFromActiveList(), UI_TimerRelease(), UI_TimerStart(), and UI_TimerStop().

free to use data, not used by the core functions

Definition at line 46 of file ui_timer.h.


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2