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

#include <DeblendStepConfig.h>

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

Public Types

using DeblendStepCreator = std::function< std::shared_ptr< DeblendStep >(std::shared_ptr< SourceFactory >)>
 
- Public Types inherited from Euclid::Configuration::Configuration
enum  State { State::CONSTRUCTED, State::PRE_INITIALIZED, State::INITIALIZED, State::FINAL }
 
typedef std::vector< boost::program_options::option_description > OptionDescriptionList
 
typedef std::map< std::string, boost::program_options::variable_value > UserValues
 

Public Member Functions

 DeblendStepConfig (long manager_id)
 
virtual ~DeblendStepConfig ()=default
 
void addDeblendStepCreator (DeblendStepCreator step_creator)
 
std::vector< std::shared_ptr< DeblendStep > > getSteps (std::shared_ptr< SourceFactory > source_factory) const
 
- 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 initialize (const UserValues &args)
 
virtual void postInitialize (const UserValues &args)
 
const std::set< std::type_index > & getDependencies ()
 
StategetCurrentState ()
 
State getCurrentState () const
 

Private Attributes

std::vector< DeblendStepCreatorm_deblend_step_creators
 

Additional Inherited Members

- Protected Member Functions inherited from Euclid::Configuration::Configuration
void declareDependency ()
 
T & getDependency ()
 
const T & getDependency () const
 

Detailed Description

Definition at line 35 of file DeblendStepConfig.h.

Member Typedef Documentation

◆ DeblendStepCreator

Definition at line 39 of file DeblendStepConfig.h.

Constructor & Destructor Documentation

◆ DeblendStepConfig()

SourceXtractor::DeblendStepConfig::DeblendStepConfig ( long  manager_id)

Definition at line 26 of file DeblendStepConfig.cpp.

◆ ~DeblendStepConfig()

virtual SourceXtractor::DeblendStepConfig::~DeblendStepConfig ( )
virtualdefault

Member Function Documentation

◆ addDeblendStepCreator()

void SourceXtractor::DeblendStepConfig::addDeblendStepCreator ( DeblendStepCreator  step_creator)

Definition at line 29 of file DeblendStepConfig.cpp.

References Euclid::Configuration::Configuration::FINAL, Euclid::Configuration::Configuration::getCurrentState(), m_deblend_step_creators, and std::move().

Here is the call graph for this function:

◆ getSteps()

std::vector< std::shared_ptr< DeblendStep > > SourceXtractor::DeblendStepConfig::getSteps ( std::shared_ptr< SourceFactory source_factory) const

Definition at line 36 of file DeblendStepConfig.cpp.

References std::vector< T >::emplace_back(), Euclid::Configuration::Configuration::FINAL, Euclid::Configuration::Configuration::getCurrentState(), and m_deblend_step_creators.

Here is the call graph for this function:

Member Data Documentation

◆ m_deblend_step_creators

std::vector<DeblendStepCreator> SourceXtractor::DeblendStepConfig::m_deblend_step_creators
private

Definition at line 51 of file DeblendStepConfig.h.

Referenced by addDeblendStepCreator(), and getSteps().


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