Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TimerCall< T > Struct Template Reference

#include <MNTimerCall.h>

Inheritance diagram for TimerCall< T >:

Inheritance graph
[legend]
Collaboration diagram for TimerCall< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef void(T::* callback )(void *data, TimerCallBase *self)

Public Member Functions

 TimerCall (bool clean, T *client, callback fun)
void timer_callback (void *data, TimerCallBase *self)

Public Attributes

T * _client
 report expirations to this object
callback _fun
 bind and call this function to report

template<class T>
struct TimerCall< T >


Member Typedef Documentation

template<class T>
typedef void(T::* TimerCall< T >::callback)(void *data, TimerCallBase *self)
 


Constructor & Destructor Documentation

template<class T>
TimerCall< T >::TimerCall bool  clean,
T *  client,
callback  fun
[inline]
 


Member Function Documentation

template<class T>
void TimerCall< T >::timer_callback void *  data,
TimerCallBase self
[inline, virtual]
 

This function is called when the timer expires. It must be overloaded by calling functions to process the timer.

Implements TimerCallBase.


Member Data Documentation

template<class T>
T* TimerCall< T >::_client
 

report expirations to this object

template<class T>
callback TimerCall< T >::_fun
 

bind and call this function to report


The documentation for this struct was generated from the following file:
Generated on Sun Mar 6 13:36:20 2005 for Komssys by doxygen 1.3.8