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

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

#include <texturemanager.h>

+ Inheritance diagram for Mezzanine::Graphics::DefaultTextureManagerFactory:
+ Collaboration diagram for Mezzanine::Graphics::DefaultTextureManagerFactory:

Public Member Functions

 DefaultTextureManagerFactory ()
 Class constructor.
 
virtual ~DefaultTextureManagerFactory ()
 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 TextureManager.

Definition at line 191 of file texturemanager.h.

Member Function Documentation

EntresolManager * Mezzanine::Graphics::DefaultTextureManagerFactory::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 192 of file texturemanager.cpp.

EntresolManager * Mezzanine::Graphics::DefaultTextureManagerFactory::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 200 of file texturemanager.cpp.

void Mezzanine::Graphics::DefaultTextureManagerFactory::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 208 of file texturemanager.cpp.

String Mezzanine::Graphics::DefaultTextureManagerFactory::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 186 of file texturemanager.cpp.

ManagerBase::ManagerType Mezzanine::Graphics::DefaultTextureManagerFactory::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 189 of file texturemanager.cpp.


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