OMK::Inp::InputListenerCreator Class Reference

Ancestor of every InputListener creator class used by the PrototypeFactory. More...

#include <OMKInputListener.h>

Inheritance diagram for OMK::Inp::InputListenerCreator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~InputListenerCreator ()
virtual InputListeneroperator() (ExtensibleSimulatedObject *sender, const Name &id, const ConfigurationParameterDescriptor *node) const

Detailed Description

Ancestor of every InputListener creator class used by the PrototypeFactory.

Date:
2007-02-14
Author:
Benoît Chanclou
Define the functor parameters to create a new InputListener object.

Definition at line 103 of file OMKInputListener.h.


Constructor & Destructor Documentation

virtual OMK::Inp::InputListenerCreator::~InputListenerCreator (  )  [inline, virtual]

Definition at line 106 of file OMKInputListener.h.

00106 {}


Member Function Documentation

virtual InputListener* OMK::Inp::InputListenerCreator::operator() ( ExtensibleSimulatedObject sender,
const Name id,
const ConfigurationParameterDescriptor node 
) const [inline, virtual]

Reimplemented in OMK::Inp::InputListenerCreatorT< T >.

Definition at line 108 of file OMKInputListener.h.

References OMK::Exception, and OMERROR.

00110   {
00111     OMERROR( "Creator is not registered for" << std::endl << *node ) ;
00112     throw Exception( "Creator is not registered" ) ;
00113     return 0 ;
00114   }


logo OpenMask

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

Generated with doxygen by Dimitri van Heesch ,   1997-2007