pflib v2.7.0-1-gd371ab6a
Polarfire Interaction Library
|
The object that can construct new polarfire settings given the name of the setting. More...
#include <DetectorConfiguration.h>
Public Member Functions | |
template<typename DerivedType > | |
uint64_t | declare (const std::string &name) |
std::unique_ptr< PolarfireSetting > | make (const std::string &full_name) |
Factory (Factory const &)=delete | |
void | operator= (Factory const &)=delete |
Static Public Member Functions | |
static Factory & | get () |
Static Private Member Functions | |
template<typename DerivedType > | |
static std::unique_ptr< PolarfireSetting > | maker () |
Private Attributes | |
std::map< std::string, std::function< std::unique_ptr< PolarfireSetting >()> > | library_ |
The object that can construct new polarfire settings given the name of the setting.