OMK::Inp::InputListenerCreatorT< T > Class Template Reference

InputListener creator class to be parametrized by the descendants of InputListener. More...

#include <OMKInputListener.h>

Inheritance diagram for OMK::Inp::InputListenerCreatorT< T >:

Inheritance graph
[legend]
Collaboration diagram for OMK::Inp::InputListenerCreatorT< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T object_to_create

Public Member Functions

virtual ~InputListenerCreatorT ()
InputListeneroperator() (ExtensibleSimulatedObject *sender, const Name &instanceId, const ConfigurationParameterDescriptor *node) const

Detailed Description

template<class T>
class OMK::Inp::InputListenerCreatorT< T >

InputListener creator class to be parametrized by the descendants of InputListener.

Date:
2007-02-14
Author:
Benoît Chanclou

Definition at line 125 of file OMKInputListener.h.


Member Typedef Documentation

template<class T>
typedef T OMK::Inp::InputListenerCreatorT< T >::object_to_create

Definition at line 129 of file OMKInputListener.h.


Constructor & Destructor Documentation

template<class T>
virtual OMK::Inp::InputListenerCreatorT< T >::~InputListenerCreatorT (  )  [inline, virtual]

Definition at line 131 of file OMKInputListener.h.

00131 {}


Member Function Documentation

template<class T>
InputListener* OMK::Inp::InputListenerCreatorT< T >::operator() ( ExtensibleSimulatedObject sender,
const Name instanceId,
const ConfigurationParameterDescriptor node 
) const [inline, virtual]

Reimplemented from OMK::Inp::InputListenerCreator.

Definition at line 133 of file OMKInputListener.h.

00135   {
00136     return new T( sender, instanceId, node ) ;
00137   }


logo OpenMask

Documentation generated on Mon Jun 9 11:46:04 2008

Generated with doxygen by Dimitri van Heesch ,   1997-2007