MezzanineEngine 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Mezzanine::Input::DefaultInputManagerFactory Class Reference

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

#include <inputmanager.h>

+ Inheritance diagram for Mezzanine::Input::DefaultInputManagerFactory:
+ Collaboration diagram for Mezzanine::Input::DefaultInputManagerFactory:

Public Member Functions

 DefaultInputManagerFactory ()
 Class constructor.
 
virtual ~DefaultInputManagerFactory ()
 Class destructor.
 
ManagerBaseCreateManager (NameValuePairList &Params)
 Creates a manager of the type represented by this factory. More...
 
ManagerBaseCreateManager (XML::Node &XMLNode)
 Creates a manager from XML. More...
 
void DestroyManager (ManagerBase *ToBeDestroyed)
 Destroys a Manager created by this factory. More...
 
String GetManagerTypeName () const
 Gets the name of the Manager that is created by this factory. More...
 
- 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 inputmanager.

Definition at line 239 of file inputmanager.h.

Member Function Documentation

ManagerBase * Mezzanine::Input::DefaultInputManagerFactory::CreateManager ( 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 manager created.
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::ManagerFactory.

Definition at line 361 of file inputmanager.cpp.

ManagerBase * Mezzanine::Input::DefaultInputManagerFactory::CreateManager ( 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 manager created.
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::ManagerFactory.

Definition at line 370 of file inputmanager.cpp.

void Mezzanine::Input::DefaultInputManagerFactory::DestroyManager ( ManagerBase ToBeDestroyed)
virtual

Destroys a Manager created by this factory.

Parameters
ToBeDestroyedA pointer to the manager to be destroyed.

Implements Mezzanine::ManagerFactory.

Definition at line 379 of file inputmanager.cpp.

String Mezzanine::Input::DefaultInputManagerFactory::GetManagerTypeName ( ) 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 356 of file inputmanager.cpp.


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