SourceXtractorPlusPlus
0.8
Please provide a description of the project.
|
#include <BackgroundAnalyzerFactory.h>
Public Member Functions | |
virtual | ~BackgroundAnalyzerFactory ()=default |
Destructor. More... | |
std::shared_ptr < BackgroundAnalyzer > | createBackgroundAnalyzer () const |
std::shared_ptr < BackgroundAnalyzer > | createBackgroundAnalyzer (WeightImageConfig::WeightType weight_type) const |
void | configure (Euclid::Configuration::ConfigManager &manager) override |
Method which should initialize the object. More... | |
void | reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const override |
Registers all the Configuration dependencies. More... | |
![]() | |
virtual | ~Configurable ()=default |
Destructor. More... | |
Private Attributes | |
std::string | m_cell_size |
std::string | m_smoothing_box |
WeightImageConfig::WeightType | m_weight_type |
Definition at line 35 of file BackgroundAnalyzerFactory.h.
|
virtualdefault |
Destructor.
|
overridevirtual |
Method which should initialize the object.
The given manager is guaranteed to already be in the initialized state, so all the required Configurations can be accessed using its getConfiguration() method.
manager | The manager to get the Configurations from |
Implements SourceXtractor::Configurable.
Definition at line 54 of file BackgroundAnalyzerFactory.cpp.
References Euclid::Configuration::ConfigManager::getConfiguration(), m_cell_size, m_smoothing_box, and m_weight_type.
Referenced by SourceXtractor::MeasurementFrameTaskFactory::configure().
std::shared_ptr< BackgroundAnalyzer > SourceXtractor::BackgroundAnalyzerFactory::createBackgroundAnalyzer | ( | ) | const |
Definition at line 32 of file BackgroundAnalyzerFactory.cpp.
References m_weight_type.
Referenced by SourceXtractor::MeasurementFrameTaskFactory::configure().
std::shared_ptr< BackgroundAnalyzer > SourceXtractor::BackgroundAnalyzerFactory::createBackgroundAnalyzer | ( | WeightImageConfig::WeightType | weight_type | ) | const |
Definition at line 36 of file BackgroundAnalyzerFactory.cpp.
References m_cell_size, m_smoothing_box, and std::string::size().
|
overridevirtual |
Registers all the Configuration dependencies.
Configurable implementations should implement this method to register to the given ConfigManager (using the registerConfiguration() method) all the Configurations they are going to use
manager | The manager to register the dependencies to |
Implements SourceXtractor::Configurable.
Definition at line 49 of file BackgroundAnalyzerFactory.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().
|
private |
Definition at line 48 of file BackgroundAnalyzerFactory.h.
Referenced by configure(), and createBackgroundAnalyzer().
|
private |
Definition at line 49 of file BackgroundAnalyzerFactory.h.
Referenced by configure(), and createBackgroundAnalyzer().
|
private |
Definition at line 50 of file BackgroundAnalyzerFactory.h.
Referenced by configure(), and createBackgroundAnalyzer().