Phoxonics
1.0
Object Oriented FDTD Software
|
Public Member Functions | |
virtual | ~CellsFactory () |
void | register_factory_function (std::string class_name, std::function< CellsBase *(void)> class_factory_function) |
std::shared_ptr< CellsBase > | create (std::string class_name, std::shared_ptr< phoxonics::core::SimulationConfig > sim_config) |
Static Public Member Functions | |
static CellsFactory * | 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< CellsBase > phoxonics::core::CellsFactory::create | ( | std::string | class_name, |
std::shared_ptr< phoxonics::core::SimulationConfig > | sim_config | ||
) |
|
static |
void phoxonics::core::CellsFactory::register_factory_function | ( | std::string | class_name, |
std::function< CellsBase *(void)> | class_factory_function | ||
) |
References phoxonics::core::FactoryBase::log_, and phoxonics::common::Logger::log_trac().
Referenced by phoxonics::core::CellsFactoryReg< T >::CellsFactoryReg().