SourceXtractorPlusPlus  0.10
Please provide a description of the project.
Public Member Functions | Private Attributes | List of all members
SourceXtractor::BackgroundAnalyzerFactory Class Reference

#include <BackgroundAnalyzerFactory.h>

Inheritance diagram for SourceXtractor::BackgroundAnalyzerFactory:
[legend]
Collaboration diagram for SourceXtractor::BackgroundAnalyzerFactory:
[legend]

Public Member Functions

virtual ~BackgroundAnalyzerFactory ()=default
 Destructor. More...
 
std::shared_ptr< BackgroundAnalyzercreateBackgroundAnalyzer () const
 
std::shared_ptr< BackgroundAnalyzercreateBackgroundAnalyzer (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...
 
- Public Member Functions inherited from SourceXtractor::Configurable
virtual ~Configurable ()=default
 Destructor. More...
 

Private Attributes

std::string m_cell_size
 
std::string m_smoothing_box
 
WeightImageConfig::WeightType m_weight_type
 

Detailed Description

Definition at line 35 of file BackgroundAnalyzerFactory.h.

Constructor & Destructor Documentation

◆ ~BackgroundAnalyzerFactory()

virtual SourceXtractor::BackgroundAnalyzerFactory::~BackgroundAnalyzerFactory ( )
virtualdefault

Destructor.

Member Function Documentation

◆ configure()

void SourceXtractor::BackgroundAnalyzerFactory::configure ( Euclid::Configuration::ConfigManager manager)
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.

Parameters
managerThe 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().

Here is the call graph for this function:

◆ createBackgroundAnalyzer() [1/2]

std::shared_ptr< BackgroundAnalyzer > SourceXtractor::BackgroundAnalyzerFactory::createBackgroundAnalyzer ( ) const

◆ createBackgroundAnalyzer() [2/2]

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().

Here is the call graph for this function:

◆ reportConfigDependencies()

void SourceXtractor::BackgroundAnalyzerFactory::reportConfigDependencies ( Euclid::Configuration::ConfigManager manager) const
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

Parameters
managerThe manager to register the dependencies to

Implements SourceXtractor::Configurable.

Definition at line 49 of file BackgroundAnalyzerFactory.cpp.

References Euclid::Configuration::ConfigManager::registerConfiguration().

Here is the call graph for this function:

Member Data Documentation

◆ m_cell_size

std::string SourceXtractor::BackgroundAnalyzerFactory::m_cell_size
private

Definition at line 48 of file BackgroundAnalyzerFactory.h.

Referenced by configure(), and createBackgroundAnalyzer().

◆ m_smoothing_box

std::string SourceXtractor::BackgroundAnalyzerFactory::m_smoothing_box
private

Definition at line 49 of file BackgroundAnalyzerFactory.h.

Referenced by configure(), and createBackgroundAnalyzer().

◆ m_weight_type

WeightImageConfig::WeightType SourceXtractor::BackgroundAnalyzerFactory::m_weight_type
private

Definition at line 50 of file BackgroundAnalyzerFactory.h.

Referenced by configure(), and createBackgroundAnalyzer().


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