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

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

#include <eventmanager.h>

+ Inheritance diagram for Mezzanine::DefaultEventManagerFactory:
+ Collaboration diagram for Mezzanine::DefaultEventManagerFactory:

Public Member Functions

 DefaultEventManagerFactory ()
 Class constructor.
 
virtual ~DefaultEventManagerFactory ()
 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 eventmanager.

Definition at line 420 of file eventmanager.h.

Member Function Documentation

EntresolManager * Mezzanine::DefaultEventManagerFactory::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 eventmanager.cpp.

EntresolManager * Mezzanine::DefaultEventManagerFactory::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 706 of file eventmanager.cpp.

void Mezzanine::DefaultEventManagerFactory::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 714 of file eventmanager.cpp.

String Mezzanine::DefaultEventManagerFactory::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 eventmanager.cpp.

ManagerBase::ManagerType Mezzanine::DefaultEventManagerFactory::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 eventmanager.cpp.


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