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

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

#include <resourcemanager.h>

+ Inheritance diagram for Mezzanine::Resource::DefaultResourceManagerFactory:
+ Collaboration diagram for Mezzanine::Resource::DefaultResourceManagerFactory:

Public Member Functions

 DefaultResourceManagerFactory ()
 Class constructor.
 
virtual ~DefaultResourceManagerFactory ()
 Class destructor.
 
EntresolManagerCreateManager (const NameValuePairList &Params)
 Creates a manager of the type represented by this factory. More...
 
EntresolManagerCreateManager (const XML::Node &XMLNode)
 Creates a manager from XML. More...
 
void DestroyManager (EntresolManager *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::EntresolManagerFactory
 EntresolManagerFactory ()
 Class constructor.
 
virtual ~EntresolManagerFactory ()
 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 resourcemanager.

Definition at line 252 of file resourcemanager.h.

Member Function Documentation

EntresolManager * Mezzanine::Resource::DefaultResourceManagerFactory::CreateManager ( const NameValuePairList Params)
virtual

Creates a manager of the type represented by this factory.

Parameters
ParamsA NameValuePairList containing the params to be applied during construction.
Returns
Returns a pointer to the created manager.
Todo:
Add something to log a warning that the manager exists and was requested to be constructed when we have a logging manager set up.

Implements Mezzanine::EntresolManagerFactory.

Definition at line 276 of file resourcemanager.cpp.

EntresolManager * Mezzanine::Resource::DefaultResourceManagerFactory::CreateManager ( const XML::Node XMLNode)
virtual

Creates a manager from XML.

Parameters
XMLNodeThe node of the xml document to construct from.
Returns
Returns a pointer to the created manager.
Todo:
Add something to log a warning that the manager exists and was requested to be constructed when we have a logging manager set up.

Implements Mezzanine::EntresolManagerFactory.

Definition at line 301 of file resourcemanager.cpp.

void Mezzanine::Resource::DefaultResourceManagerFactory::DestroyManager ( EntresolManager ToBeDestroyed)
virtual

Destroys a Manager created by this factory.

Parameters
ToBeDestroyedA pointer to the manager to be destroyed.

Implements Mezzanine::EntresolManagerFactory.

Definition at line 310 of file resourcemanager.cpp.

String Mezzanine::Resource::DefaultResourceManagerFactory::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 270 of file resourcemanager.cpp.

ManagerBase::ManagerType Mezzanine::Resource::DefaultResourceManagerFactory::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 273 of file resourcemanager.cpp.


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