mGNCS API Reference  v1.2.0
A new control set and a new framework for MiniGUI apps
Data Structures | Macros | Typedefs | Enumerations | Variables
mTimer

Data Structures

struct  mTimerClass
 the class of Timer object More...
 
struct  mTimer
 the timer member define More...
 

Macros

#define NCSCTRL_TIMER   NCSCLASSNAME("timer")
 the class name of mTimer More...
 

Typedefs

typedef BOOL(* NCS_CB_ONTIMER) (mTimer *timer, DWORD total_count)
 the callback of event MSG_TIMER More...
 

Enumerations

Variables

MGNCS_EXPORT mTimerClass g_stmTimerCls
 the singleton of mTimerClass More...
 

Detailed Description

Macro Definition Documentation

#define NCSCTRL_TIMER   NCSCLASSNAME("timer")

the class name of mTimer

Definition at line 58 of file mtimer.h.

Typedef Documentation

BOOL(* NCS_CB_ONTIMER)(mTimer *timer, DWORD total_count)

the callback of event MSG_TIMER

Parameters
timerthe sender of timer
total_countthe total tick count from timer started
Returns
TRUE - continue timer, FALSE - stop the timer

Definition at line 138 of file mtimer.h.

Enumeration Type Documentation

the mTimer's property define

Enumerator
NCSP_TIMER_INTERVAL 

the interval of timer

  • Type : DWORD
  • ReadWrite
  • Restart the timer when set it

Definition at line 117 of file mtimer.h.

Variable Documentation

g_stmTimerCls

the singleton of mTimerClass