Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

SimpleEvent Class Template Reference

#include <SimpleEvent.h>

Inheritance diagram for SimpleEvent:

ScheduledEvent List of all members.

Public Types

typedef void (Receiver::*  Action )()

Public Methods

 SimpleEvent (Receiver* r, Action a)
 SimpleEvent (Receiver*r, Action a, std::string n)
virtual void execute ()
virtual std::string name () const

Private Attributes

Receiver* m_receiver
Action m_action
std::string m_name

Member Typedef Documentation

template<classReceiver>
typedef void (Receiver::* SimpleEvent<Receiver>::Action)()
 


Constructor & Destructor Documentation

template<classReceiver>
SimpleEvent<Receiver>::SimpleEvent<Receiver> ( Receiver * r,
Action a ) [inline]
 

Definition at line 20 of file SimpleEvent.h.

template<classReceiver>
SimpleEvent<Receiver>::SimpleEvent<Receiver> ( Receiver * r,
Action a,
std::string n ) [inline]
 

Definition at line 32 of file SimpleEvent.h.


Member Function Documentation

template<classReceiver>
void SimpleEvent< Receiver >::execute ( ) [inline, virtual]
 

Reimplemented from ScheduledEvent.

Definition at line 49 of file SimpleEvent.h.

template<classReceiver>
std::string SimpleEvent<Receiver>::name ( ) const [inline, virtual]
 

Reimplemented from ScheduledEvent.

Definition at line 38 of file SimpleEvent.h.


Member Data Documentation

template<classReceiver>
Action SimpleEvent<Receiver>::m_action [private]
 

Definition at line 43 of file SimpleEvent.h.

template<classReceiver>
std::string SimpleEvent<Receiver>::m_name [private]
 

Definition at line 44 of file SimpleEvent.h.

template<classReceiver>
Receiver * SimpleEvent<Receiver>::m_receiver [private]
 

Definition at line 42 of file SimpleEvent.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:20:22 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000