#include <frametimer.h>
Collaboration diagram for FrameTimer::CbInfo:
Public Member Functions | |
void | init (Callback c, BasicObject *d, Uint32 iv, Uint32 n) |
Public Attributes | |
Callback | cb |
BasicObject * | pData |
Uint32 | tInterval |
Uint32 | tNext |
void FrameTimer::CbInfo::init | ( | Callback | c, | |
BasicObject * | d, | |||
Uint32 | iv, | |||
Uint32 | n | |||
) | [inline] |
You do not need init, it is only used locally by FrameTimer.
Pointer to the function to be called when the time elapsed
Pointer to any data that will be given to the callback-function as second param
The time in msecs between two timer-events
Uint32 FrameTimer::CbInfo::tNext |
The time of the next timer-event