Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::TimerEventHandler Class Reference

#include <tevent.h>

List of all members.

Public Types

typedef void(TimerEventHandler::* Handler )(TimerEvent &event, real8 timerInterval)

Public Methods

virtual void onTimer (TimerEvent &event, real8 timerInterval)


Detailed Description

Base class that has the interface and default implementation for the TimerEvent handlers. Classes inheriting from this will have either an overloaded version of onTimer(), or a method matching the Handler prototype invoked by the dispatcher whenever a TimerEvent is triggered.


Member Typedef Documentation

typedef void(TimerEventHandler::* SmartSockets::TimerEventHandler::Handler)( TimerEvent& event, real8 timerInterval)
 

Signature for the TimerEvent handler methods.

Parameters:
event  the TimerEvent that registered this handler with the TipcDispatcher.
timerInterval  the number of seconds until this event handler is next triggered by the Dispatcher.


Member Function Documentation

virtual void SmartSockets::TimerEventHandler::onTimer TimerEvent   event,
real8    timerInterval
[inline, virtual]
 

Default implementation for the TimerEvent handler methods.

Parameters:
event  the TimerEvent that registered this handler with the TipcDispatcher.
timerInterval  the number of seconds until this event handler is next triggered by the Dispatcher.


The documentation for this class was generated from the following file:
Generated on Fri Jul 14 15:05:55 2006 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001