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

A factory responsible for the creation and destruction of the default terrainmanager. More...

#include <terrainmanager.h>

+ Inheritance diagram for Mezzanine::DefaultTerrainManagerFactory:
+ Collaboration diagram for Mezzanine::DefaultTerrainManagerFactory:

Public Member Functions

 DefaultTerrainManagerFactory ()
 Class constructor.
 
virtual ~DefaultTerrainManagerFactory ()
 Class destructor.
 
WorldManagerCreateManager (World *Creator, const NameValuePairList &Params)
 Creates a manager of the type represented by this factory. More...
 
WorldManagerCreateManager (World *Creator, const XML::Node &XMLNode)
 Creates a manager from XML. More...
 
void DestroyManager (WorldManager *ToBeDestroyed)
 Destroys a Manager created by this factory. More...
 
String GetManagerImplName () const
 Gets the name of the manager that is created by this factory. More...
 
ManagerBase::ManagerType GetManagerType () const
 Gets the type of manager that is created by this factory. More...
 
- Public Member Functions inherited from Mezzanine::WorldManagerFactory
 WorldManagerFactory ()
 Class constructor.
 
virtual ~WorldManagerFactory ()
 Class destructor.
 
- Public Member Functions inherited from Mezzanine::ManagerFactory
 ManagerFactory ()
 Class constructor.
 
virtual ~ManagerFactory ()
 Class destructor.
 

Detailed Description

A factory responsible for the creation and destruction of the default terrainmanager.

Definition at line 166 of file terrainmanager.h.

Member Function Documentation

WorldManager * Mezzanine::DefaultTerrainManagerFactory::CreateManager ( World Creator,
const NameValuePairList Params 
)
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.

Implements Mezzanine::WorldManagerFactory.

Definition at line 222 of file terrainmanager.cpp.

WorldManager * Mezzanine::DefaultTerrainManagerFactory::CreateManager ( World Creator,
const XML::Node XMLNode 
)
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.

Implements Mezzanine::WorldManagerFactory.

Definition at line 225 of file terrainmanager.cpp.

void Mezzanine::DefaultTerrainManagerFactory::DestroyManager ( WorldManager ToBeDestroyed)
virtual

Destroys a Manager created by this factory.

Parameters
ToBeDestroyedA pointer to the manager to be destroyed.

Implements Mezzanine::WorldManagerFactory.

Definition at line 228 of file terrainmanager.cpp.

String Mezzanine::DefaultTerrainManagerFactory::GetManagerImplName ( ) const
virtual

Gets the name of the manager that is created by this factory.

Returns
Returns the typename of the manager created by this factory.

Implements Mezzanine::ManagerFactory.

Definition at line 216 of file terrainmanager.cpp.

ManagerBase::ManagerType Mezzanine::DefaultTerrainManagerFactory::GetManagerType ( ) const
virtual

Gets the type of manager that is created by this factory.

Returns
Returns a ManagerType enum value indicating the type of manager this factory creates.

Implements Mezzanine::ManagerFactory.

Definition at line 219 of file terrainmanager.cpp.


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