NEventHandler1 Class Template Reference

Handles events with 1 parameter. More...

Inheritance diagram for NEventHandler1:

NEventHandlerBase1

List of all members.

Public Types

typedef void(ListenerT::* PtrMember )(ParamT)

Public Member Functions

 NEventHandler1 (ListenerT *object, PtrMember member)
 Creates a new event handler.
 ~NEventHandler1 (void)
 Destroys a NEventHandlerBase1 object.
void notify (ParamT param)
 Executes the associated method.


Detailed Description

template<typename ListenerT, typename ParamT>
class NEventHandler1< ListenerT, ParamT >

Handles events with 1 parameter.

See also:
See the files in examples/raven for examples

Definition at line 58 of file nhandler1.hpp.


Constructor & Destructor Documentation

NEventHandler1 ( ListenerT *  object,
PtrMember  member 
) [inline]

Creates a new event handler.

Parameters:
object Pointer to an object that will react to an event
member Member function pointer that will be executed on reaction to an event.

Definition at line 94 of file nhandler1.hpp.


Member Function Documentation

void notify ( ParamT  param  )  [inline, virtual]

Executes the associated method.

Parameters:
param Any given parameter to be passed to the method that will be executed on reaction to a given event

Implements NEventHandlerBase1.

Definition at line 103 of file nhandler1.hpp.


The documentation for this class was generated from the following file:
Generated on Wed Mar 5 23:10:36 2008 for NemesisUtilitiesSystem by  doxygen 1.5.4