queso-0.57.1
|
#include <Factory.h>
Public Member Functions | |
virtual | ~Factory () |
virtual SharedPtr< Base >::Type | create ()=0 |
Static Public Member Functions | |
static SharedPtr< Base >::Type | build (const std::string &name) |
Protected Member Functions | |
Factory (const std::string &name) | |
template<> | |
std::map< std::string, Factory < Algorithm< GslVector, GslMatrix > > * > & | factory_map () |
template<> | |
std::map< std::string, Factory < BaseTKGroup< GslVector, GslMatrix > > * > & | factory_map () |
Static Protected Member Functions | |
static std::map< std::string, Factory< Base > * > & | factory_map () |
Factory class defintion.
|
inlineprotected |
|
inlinevirtual |
|
inlinestatic |
Builds an object of type Base identified by name.
Definition at line 114 of file Factory.h.
References QUESO::Factory< Base >::create().
|
pure virtual |
Create a Base class. Force this to be implemented later.
Implemented in QUESO::TransitionKernelFactory, QUESO::FactoryImp< Derived, Base >, and QUESO::AlgorithmFactory.
Referenced by QUESO::Factory< Base >::build().
|
protected |
Definition at line 34 of file AlgorithmFactory.C.
|
protected |
Definition at line 37 of file TransitionKernelFactory.C.
|
staticprotected |
Map from a name to a Factory<Base> * pointer.