FrameTimer::CbInfo Struct Reference

#include <frametimer.h>

Collaboration diagram for FrameTimer::CbInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void init (Callback c, BasicObject *d, Uint32 iv, Uint32 n)

Public Attributes

Callback cb
BasicObjectpData
Uint32 tInterval
Uint32 tNext

Detailed Description

This struct contains all data, that is needed for a timer-event


Member Function Documentation

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.

See also:
FrameTimer::addCallback


Member Data Documentation

Callback FrameTimer::CbInfo::cb

Pointer to the function to be called when the time elapsed

BasicObject* FrameTimer::CbInfo::pData

Pointer to any data that will be given to the callback-function as second param

Uint32 FrameTimer::CbInfo::tInterval

The time in msecs between two timer-events

Warning:
Do not change this value directly, use FrameTimer::setInterval instead

Uint32 FrameTimer::CbInfo::tNext

The time of the next timer-event

Warning:
Do not change this value directly, use FrameTimer::setInterval instead


The documentation for this struct was generated from the following file:
Generated on Wed May 9 17:36:12 2007 for netrinjo by  doxygen 1.5.1