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

#include <checksumBase.h>

Inheritance diagram for checksum::base::factoryClass:
[legend]
Collaboration diagram for checksum::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 18 of file checksumBase.h.

Constructor & Destructor Documentation

◆ factoryClass()

checksum::base::factoryClass::factoryClass ( const std::string &  aName)
inlineexplicitprotected

Definition at line 21 of file checksumBase.h.

21  :
22  name(aName) {
23  getFactoryMap()[name] = this;
24  }

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

Here is the call graph for this function:

Member Function Documentation

◆ create()

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

Member Data Documentation

◆ name

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

Definition at line 20 of file checksumBase.h.

Referenced by checksum::base::factoryTemplate< T >::create(), and factoryClass().


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