SwTimer

From SWWorkshop

Jump to: navigation, search

Timer implementation like Java swing.Timer class. You first register a function and set delay seconds for triggering callback functions.

Functions

int  swTimerCreate(float delaySeconds,void *obj,void(*callBack)(void *));
void swTimerDestroy(int timerID);
void swTimerStart(int timerID);
void swTimerStop(int timerID);
bool swTimerIsRunning(int timerID);
Personal tools