mimmo::Factory< Base >::AbstractCreator Class Referenceabstract

Abstract class embedded in Factory to link creators of type Base* <>(const bitpit::Config::Section & xml_root) More...

#include <factory.hpp>

Inheritance diagram for mimmo::Factory< Base >::AbstractCreator:

Public Member Functions

virtual ~AbstractCreator ()
 
virtual Base * create (const bitpit::Config::Section &xml_root) const =0
 

Detailed Description

template<class Base>
class mimmo::Factory< Base >::AbstractCreator

Abstract class embedded in Factory to link creators of type Base* <>(const bitpit::Config::Section & xml_root)

Definition at line 67 of file factory.hpp.

Constructor & Destructor Documentation

◆ ~AbstractCreator()

template<class Base >
virtual mimmo::Factory< Base >::AbstractCreator::~AbstractCreator ( )
inlinevirtual

Destructor

Definition at line 70 of file factory.hpp.

Member Function Documentation

◆ create()

template<class Base >
virtual Base* mimmo::Factory< Base >::AbstractCreator::create ( const bitpit::Config::Section &  xml_root) const
pure virtual

Pre virtual create method

Parameters
[in]xml_rootreference to xml-data tree.

Implemented in mimmo::Creator< Base, Derived >.


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