This is a base class for factories that construct managers used by the World class. More...
#include <worldmanagerfactory.h>
Public Member Functions | |
WorldManagerFactory () | |
Class constructor. | |
virtual | ~WorldManagerFactory () |
Class destructor. | |
virtual WorldManager * | CreateManager (World *Creator, const NameValuePairList &Params)=0 |
Creates a manager of the type represented by this factory. More... | |
virtual WorldManager * | CreateManager (World *Creator, const XML::Node &XMLNode)=0 |
Creates a manager from XML. More... | |
virtual void | DestroyManager (WorldManager *ToBeDestroyed)=0 |
Destroys a Manager created by this factory. More... | |
Public Member Functions inherited from Mezzanine::ManagerFactory | |
ManagerFactory () | |
Class constructor. | |
virtual | ~ManagerFactory () |
Class destructor. | |
virtual String | GetManagerImplName () const =0 |
Gets the name of the manager that is created by this factory. More... | |
virtual ManagerBase::ManagerType | GetManagerType () const =0 |
Gets the type of manager that is created by this factory. More... | |
This is a base class for factories that construct managers used by the World class.
Definition at line 54 of file worldmanagerfactory.h.
|
pure virtual |
Creates a manager of the type represented by this factory.
Creator | The parent world that is creating the manager. |
Params | A NameValuePairList containing the params to be applied during construction. |
Implemented in Mezzanine::Physics::DefaultPhysicsManagerFactory, Mezzanine::Graphics::DefaultSceneManagerFactory, Mezzanine::DefaultAreaEffectManagerFactory, Mezzanine::DefaultDebrisManagerFactory, Mezzanine::DefaultActorManagerFactory, and Mezzanine::DefaultTerrainManagerFactory.
|
pure virtual |
Creates a manager from XML.
Creator | The parent world that is creating the manager. |
XMLNode | The node of the xml document to construct from. |
Implemented in Mezzanine::Physics::DefaultPhysicsManagerFactory, Mezzanine::Graphics::DefaultSceneManagerFactory, Mezzanine::DefaultAreaEffectManagerFactory, Mezzanine::DefaultDebrisManagerFactory, Mezzanine::DefaultActorManagerFactory, 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::Graphics::DefaultSceneManagerFactory, Mezzanine::DefaultAreaEffectManagerFactory, Mezzanine::DefaultDebrisManagerFactory, Mezzanine::DefaultActorManagerFactory, and Mezzanine::DefaultTerrainManagerFactory.