pflib v2.7.0-1-gd371ab6a
Polarfire Interaction Library
pflib::detail::PolarfireSetting::Factory Class Reference

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< PolarfireSettingmake (const std::string &full_name)
 
 Factory (Factory const &)=delete
 
void operator= (Factory const &)=delete
 

Static Public Member Functions

static Factoryget ()
 

Static Private Member Functions

template<typename DerivedType >
static std::unique_ptr< PolarfireSettingmaker ()
 

Private Attributes

std::map< std::string, std::function< std::unique_ptr< PolarfireSetting >()> > library_
 

Detailed Description

The object that can construct new polarfire settings given the name of the setting.


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