GUI::EntityFactory< T > Class Template Reference

Create a new event entity. More...

#include <EntityFactory.h>

Inheritance diagram for GUI::EntityFactory< T >:

GUI::EntityFactoryBase List of all members.

Public Member Functions

 EntityFactory (const std::string &name)
 Construct a new entity factory for class T.
EventEntitycreate (WinMessage msg)
 Create a new instance if entity T.

Detailed Description

template<class T>
class GUI::EntityFactory< T >

Create a new event entity.

Parameters:
T the event entity class, derived from EventEntity


Constructor & Destructor Documentation

template<class T>
GUI::EntityFactory< T >::EntityFactory ( const std::string &  name  )  [inline]

Construct a new entity factory for class T.

Parameters:
name the entity factory name


Member Function Documentation

template<class T>
EventEntity* GUI::EntityFactory< T >::create ( WinMessage  msg  )  [inline, virtual]

Create a new instance if entity T.

Parameters:
wParam additional message information from EventsDispatcher
lParam additional message information from EventsDispatcher

Implements GUI::EntityFactoryBase.


The documentation for this class was generated from the following file:
Generated on Wed Nov 15 22:21:10 2006 for Win32 by  doxygen 1.4.7