Factory< Base > Class Template Reference

Ratpac-two: Mimir::Factory< Base > Class Template Reference
Ratpac-two
Mimir::Factory< Base > Class Template Reference

Public Types

using MakeFunc = std::function< std::unique_ptr< Base >()>
 

Public Member Functions

void register_type (const std::string &name, MakeFunc mf)
 
std::unique_ptr< Base > make (const std::string &type_name) const
 
std::unique_ptr< Base > make_and_configure (const std::string &type_name, const std::string &config_name) const
 

Static Public Member Functions

static FactoryGetInstance ()
 

The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/fit/mimir/include/mimir/Factory.hh