Phoxonics
1.0
Object Oriented FDTD Software
|
Public Member Functions | |
virtual | ~DetectorFactory () |
void | register_factory_function (std::string class_name, std::function< DetectorBase *(void)> class_factory_function) |
std::shared_ptr< DetectorBase > | create (std::string class_name, std::shared_ptr< phoxonics::core::SimulationConfig > sim_config) |
Static Public Member Functions | |
static DetectorFactory * | instance () |
Additional Inherited Members | |
![]() | |
typedef phoxonics::common::Formatter | fmt_ |
![]() | |
FactoryBase () | |
virtual | ~FactoryBase () |
![]() | |
phoxonics::common::Logger | log_ |
|
virtual |
References phoxonics::core::FactoryBase::log_, and phoxonics::common::Logger::log_trac().
std::shared_ptr< DetectorBase > phoxonics::core::DetectorFactory::create | ( | std::string | class_name, |
std::shared_ptr< phoxonics::core::SimulationConfig > | sim_config | ||
) |
|
static |
Referenced by create(), and phoxonics::core::DetectorFactoryReg< T >::DetectorFactoryReg().
void phoxonics::core::DetectorFactory::register_factory_function | ( | std::string | class_name, |
std::function< DetectorBase *(void)> | class_factory_function | ||
) |
References phoxonics::core::FactoryBase::log_, and phoxonics::common::Logger::log_trac().
Referenced by phoxonics::core::DetectorFactoryReg< T >::DetectorFactoryReg().