Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

TMethodEventJob< T > Class Template Reference

Use a member function as an event job. More...

#include <TMethodEventJob.h>

Inherits IEventJob.

Inheritance diagram for TMethodEventJob< T >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TMethodEventJob (T *object, void(T::*method)(const CEvent &, void *), void *arg=NULL)
 run(event) invokes object->method(event, arg)
virtual void run (const CEvent &)
 Run the job.

Detailed Description

template<class T>
class TMethodEventJob< T >

Use a member function as an event job.

An event job class that invokes a member function.

Definition at line 25 of file TMethodEventJob.h.


The documentation for this class was generated from the following file:
Generated on Fri Nov 6 00:21:39 2009 for synergy-plus by  doxygen 1.3.9.1