ewmscp  ..
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
inputHandler::base::factoryClass Class Referenceabstract

#include <inputHandler.h>

Inheritance diagram for inputHandler::base::factoryClass:
[legend]
Collaboration diagram for inputHandler::base::factoryClass:
[legend]

Public Member Functions

virtual basecreate () const =0
 

Protected Member Functions

 factoryClass (const std::string &aName)
 

Protected Attributes

const std::string name
 

Detailed Description

Definition at line 45 of file inputHandler.h.

Constructor & Destructor Documentation

◆ factoryClass()

inputHandler::base::factoryClass::factoryClass ( const std::string &  aName)
inlineprotected

Definition at line 48 of file inputHandler.h.

48  :
49  name(aName) {
50  getFactoryMap()[name] = this;
51  }

References inputHandler::base::getFactoryMap(), and name.

Here is the call graph for this function:

Member Function Documentation

◆ create()

virtual base* inputHandler::base::factoryClass::create ( ) const
pure virtual

Member Data Documentation

◆ name

const std::string inputHandler::base::factoryClass::name
protected

Definition at line 47 of file inputHandler.h.

Referenced by factoryClass().


The documentation for this class was generated from the following file:
inputHandler::base::factoryClass::name
const std::string name
Definition: inputHandler.h:47
inputHandler::base::getFactoryMap
static std::map< std::string, factoryClass * > & getFactoryMap()
Definition: inputHandler.h:40