DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Naive typed abstract factory. More...
#include <NaiveFactory.hpp>
Additional Inherited Members | |
![]() | |
AbstractFactory () | |
AbstractFactory (const AbstractFactory &)=delete | |
AbstractFactory & | operator= (const AbstractFactory &)=delete |
virtual | ~AbstractFactory ()=default |
std::shared_ptr< NaiveProcessor > | create_processor (const std::string &processor_name) |
Create the requested processor. | |
![]() | |
static void | register_creator (const std::string &processor_name, create_processor_func creator) |
Register the processor creation function to a given name. | |
static std::shared_ptr< AbstractFactory< NaiveProcessor > > | get_instance () |
Singleton get instance function. | |
![]() | |
static std::shared_ptr< AbstractFactory< NaiveProcessor > > | s_single_factory |
Singleton instance. | |
Naive typed abstract factory.
Definition at line 26 of file NaiveFactory.hpp.