This is a base class for factories that construct the managers the engine uses. More...
#include <managerfactory.h>
Public Member Functions | |
ManagerFactory () | |
Class constructor. | |
virtual | ~ManagerFactory () |
Class destructor. | |
virtual ManagerBase * | CreateManager (NameValuePairList &Params)=0 |
Creates a manager of the type represented by this factory. More... | |
virtual ManagerBase * | CreateManager (XML::Node &XMLNode)=0 |
Creates a manager from XML. More... | |
virtual void | DestroyManager (ManagerBase *ToBeDestroyed)=0 |
Destroys a Manager created by this factory. More... | |
virtual String | GetManagerTypeName () const =0 |
Gets the name of the Manager that is created by this factory. More... | |
This is a base class for factories that construct the managers the engine uses.
Definition at line 58 of file managerfactory.h.
|
pure virtual |
Creates a manager of the type represented by this factory.
Params | A NameValuePairList containing the params to be applied during construction. |
Implemented in Mezzanine::Physics::DefaultPhysicsManagerFactory, Mezzanine::DefaultEventManagerFactory, Mezzanine::UI::DefaultUIManagerFactory, Mezzanine::Graphics::DefaultSceneManagerFactory, Mezzanine::DefaultResourceManagerFactory, Mezzanine::Graphics::DefaultGraphicsManagerFactory, Mezzanine::Physics::DefaultCollisionShapeManagerFactory, Mezzanine::DefaultAreaEffectManagerFactory, Mezzanine::DefaultDebrisManagerFactory, Mezzanine::Input::DefaultInputManagerFactory, Mezzanine::Graphics::DefaultMeshManagerFactory, Mezzanine::DefaultActorManagerFactory, Mezzanine::Graphics::DefaultCameraManagerFactory, and Mezzanine::DefaultTerrainManagerFactory.
|
pure virtual |
Creates a manager from XML.
XMLNode | The node of the xml document to construct from. |
Implemented in Mezzanine::Physics::DefaultPhysicsManagerFactory, Mezzanine::DefaultEventManagerFactory, Mezzanine::UI::DefaultUIManagerFactory, Mezzanine::Graphics::DefaultSceneManagerFactory, Mezzanine::DefaultResourceManagerFactory, Mezzanine::Graphics::DefaultGraphicsManagerFactory, Mezzanine::Physics::DefaultCollisionShapeManagerFactory, Mezzanine::DefaultAreaEffectManagerFactory, Mezzanine::DefaultDebrisManagerFactory, Mezzanine::Input::DefaultInputManagerFactory, Mezzanine::Graphics::DefaultMeshManagerFactory, Mezzanine::DefaultActorManagerFactory, Mezzanine::Graphics::DefaultCameraManagerFactory, and Mezzanine::DefaultTerrainManagerFactory.
|
pure virtual |
Destroys a Manager created by this factory.
ToBeDestroyed | A pointer to the manager to be destroyed. |
Implemented in Mezzanine::Physics::DefaultPhysicsManagerFactory, Mezzanine::DefaultEventManagerFactory, Mezzanine::UI::DefaultUIManagerFactory, Mezzanine::Graphics::DefaultSceneManagerFactory, Mezzanine::DefaultResourceManagerFactory, Mezzanine::Graphics::DefaultGraphicsManagerFactory, Mezzanine::Physics::DefaultCollisionShapeManagerFactory, Mezzanine::DefaultAreaEffectManagerFactory, Mezzanine::DefaultDebrisManagerFactory, Mezzanine::Input::DefaultInputManagerFactory, Mezzanine::Graphics::DefaultMeshManagerFactory, Mezzanine::DefaultActorManagerFactory, Mezzanine::Graphics::DefaultCameraManagerFactory, and Mezzanine::DefaultTerrainManagerFactory.
|
pure virtual |
Gets the name of the Manager that is created by this factory.
Implemented in Mezzanine::Physics::DefaultPhysicsManagerFactory, Mezzanine::DefaultEventManagerFactory, Mezzanine::UI::DefaultUIManagerFactory, Mezzanine::Graphics::DefaultSceneManagerFactory, Mezzanine::DefaultResourceManagerFactory, Mezzanine::Graphics::DefaultGraphicsManagerFactory, Mezzanine::Physics::DefaultCollisionShapeManagerFactory, Mezzanine::DefaultAreaEffectManagerFactory, Mezzanine::DefaultDebrisManagerFactory, Mezzanine::Input::DefaultInputManagerFactory, Mezzanine::Graphics::DefaultMeshManagerFactory, Mezzanine::DefaultActorManagerFactory, Mezzanine::Graphics::DefaultCameraManagerFactory, and Mezzanine::DefaultTerrainManagerFactory.