SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::BackgroundAnalyzerFactory Class Reference

#include <BackgroundAnalyzerFactory.h>

Inheritance diagram for SourceXtractor::BackgroundAnalyzerFactory:
Collaboration diagram for SourceXtractor::BackgroundAnalyzerFactory:

Public Member Functions

 BackgroundAnalyzerFactory (long manager_id)
virtual ~BackgroundAnalyzerFactory ()=default
 Destructor.
std::shared_ptr< BackgroundAnalyzercreateBackgroundAnalyzer () const
std::shared_ptr< BackgroundAnalyzercreateBackgroundAnalyzer (WeightImageConfig::WeightType weight_type) const
void initialize (const UserValues &args) override
Public Member Functions inherited from Euclid::Configuration::Configuration
 Configuration (long manager_id)
virtual ~Configuration ()=default
virtual std::map< std::string, OptionDescriptionListgetProgramOptions ()
virtual void preInitialize (const UserValues &args)
virtual void postInitialize (const UserValues &args)
const std::set< std::type_index > & getDependencies ()
StategetCurrentState ()
State getCurrentState () const

Private Attributes

std::vector< int > m_cell_size
std::vector< int > m_smoothing_box
WeightImageConfig::WeightType m_weight_type

Additional Inherited Members

Public Types inherited from Euclid::Configuration::Configuration
enum  State
typedef std::vector< boost::program_options::option_description > OptionDescriptionList
typedef std::map< std::string, boost::program_options::variable_value > UserValues
Protected Member Functions inherited from Euclid::Configuration::Configuration
void declareDependency ()
T & getDependency ()
const T & getDependency () const

Detailed Description

Definition at line 36 of file BackgroundAnalyzerFactory.h.

Constructor & Destructor Documentation

◆ BackgroundAnalyzerFactory()

SourceXtractor::BackgroundAnalyzerFactory::BackgroundAnalyzerFactory ( long manager_id)
explicit

◆ ~BackgroundAnalyzerFactory()

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

Destructor.

Member Function Documentation

◆ createBackgroundAnalyzer() [1/2]

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

Definition at line 32 of file BackgroundAnalyzerFactory.cpp.

References createBackgroundAnalyzer(), and m_weight_type.

Referenced by createBackgroundAnalyzer().

Here is the call graph for this function:

◆ 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::make_shared().

Here is the call graph for this function:

◆ initialize()

void SourceXtractor::BackgroundAnalyzerFactory::initialize ( const UserValues & args)
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 53 of file BackgroundAnalyzerFactory.cpp.

References Euclid::Configuration::Configuration::getDependency(), m_cell_size, m_smoothing_box, and m_weight_type.

Here is the call graph for this function:

Member Data Documentation

◆ m_cell_size

std::vector<int> SourceXtractor::BackgroundAnalyzerFactory::m_cell_size
private

Definition at line 49 of file BackgroundAnalyzerFactory.h.

Referenced by createBackgroundAnalyzer(), and initialize().

◆ m_smoothing_box

std::vector<int> SourceXtractor::BackgroundAnalyzerFactory::m_smoothing_box
private

Definition at line 50 of file BackgroundAnalyzerFactory.h.

Referenced by createBackgroundAnalyzer(), and initialize().

◆ m_weight_type

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

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