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

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

#include <graphicsmanager.h>

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

Public Member Functions

 DefaultGraphicsManagerFactory ()
 Class constructor.
 
virtual ~DefaultGraphicsManagerFactory ()
 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 graphicsmanager.

Definition at line 321 of file graphicsmanager.h.

Member Function Documentation

EntresolManager * Mezzanine::Graphics::DefaultGraphicsManagerFactory::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 698 of file graphicsmanager.cpp.

EntresolManager * Mezzanine::Graphics::DefaultGraphicsManagerFactory::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 708 of file graphicsmanager.cpp.

void Mezzanine::Graphics::DefaultGraphicsManagerFactory::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 718 of file graphicsmanager.cpp.

String Mezzanine::Graphics::DefaultGraphicsManagerFactory::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 692 of file graphicsmanager.cpp.

ManagerBase::ManagerType Mezzanine::Graphics::DefaultGraphicsManagerFactory::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 695 of file graphicsmanager.cpp.


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