Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | List of all members
Mezzanine::WorldManagerFactory Class Referenceabstract

This is a base class for factories that construct managers used by the World class. More...

#include <worldmanagerfactory.h>

+ Inheritance diagram for Mezzanine::WorldManagerFactory:
+ Collaboration diagram for Mezzanine::WorldManagerFactory:

Public Member Functions

 WorldManagerFactory ()
 Class constructor.
 
virtual ~WorldManagerFactory ()
 Class destructor.
 
virtual WorldManagerCreateManager (World *Creator, const NameValuePairList &Params)=0
 Creates a manager of the type represented by this factory. More...
 
virtual WorldManagerCreateManager (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...
 

Detailed Description

This is a base class for factories that construct managers used by the World class.

Definition at line 54 of file worldmanagerfactory.h.

Member Function Documentation

virtual WorldManager* Mezzanine::WorldManagerFactory::CreateManager ( World Creator,
const NameValuePairList Params 
)
pure virtual

Creates a manager of the type represented by this factory.

Parameters
CreatorThe parent world that is creating the manager.
ParamsA NameValuePairList containing the params to be applied during construction.
Returns
Returns a pointer to the created manager.

Implemented in Mezzanine::Physics::DefaultPhysicsManagerFactory, Mezzanine::Graphics::DefaultSceneManagerFactory, Mezzanine::DefaultAreaEffectManagerFactory, Mezzanine::DefaultDebrisManagerFactory, Mezzanine::DefaultActorManagerFactory, and Mezzanine::DefaultTerrainManagerFactory.

virtual WorldManager* Mezzanine::WorldManagerFactory::CreateManager ( World Creator,
const XML::Node XMLNode 
)
pure virtual

Creates a manager from XML.

Parameters
CreatorThe parent world that is creating the manager.
XMLNodeThe node of the xml document to construct from.
Returns
Returns a pointer to the created manager.

Implemented in Mezzanine::Physics::DefaultPhysicsManagerFactory, Mezzanine::Graphics::DefaultSceneManagerFactory, Mezzanine::DefaultAreaEffectManagerFactory, Mezzanine::DefaultDebrisManagerFactory, Mezzanine::DefaultActorManagerFactory, and Mezzanine::DefaultTerrainManagerFactory.

virtual void Mezzanine::WorldManagerFactory::DestroyManager ( WorldManager ToBeDestroyed)
pure virtual

The documentation for this class was generated from the following file: