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

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

#include <debrismanager.h>

+ Inheritance diagram for Mezzanine::DefaultDebrisManagerFactory:
+ Collaboration diagram for Mezzanine::DefaultDebrisManagerFactory:

Public Member Functions

 DefaultDebrisManagerFactory ()
 Class constructor.
 
virtual ~DefaultDebrisManagerFactory ()
 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 DebrisManager.

Definition at line 283 of file debrismanager.h.

Member Function Documentation

WorldManager * Mezzanine::DefaultDebrisManagerFactory::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 398 of file debrismanager.cpp.

WorldManager * Mezzanine::DefaultDebrisManagerFactory::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 401 of file debrismanager.cpp.

void Mezzanine::DefaultDebrisManagerFactory::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 404 of file debrismanager.cpp.

String Mezzanine::DefaultDebrisManagerFactory::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 392 of file debrismanager.cpp.

ManagerBase::ManagerType Mezzanine::DefaultDebrisManagerFactory::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 395 of file debrismanager.cpp.


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