SourceXtractorPlusPlus
0.13
Please provide a description of the project.
|
#include <DeblendStepConfig.h>
Public Types | |
using | DeblendStepCreator = std::function< std::shared_ptr< DeblendStep >(std::shared_ptr< SourceFactory >)> |
![]() | |
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 |
![]() | |
Configuration (long manager_id) | |
virtual | ~Configuration ()=default |
virtual std::map< std::string, OptionDescriptionList > | getProgramOptions () |
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 () |
State & | getCurrentState () |
State | getCurrentState () const |
Private Attributes | |
std::vector< DeblendStepCreator > | m_deblend_step_creators |
Additional Inherited Members | |
![]() | |
void | declareDependency () |
T & | getDependency () |
const T & | getDependency () const |
Definition at line 35 of file DeblendStepConfig.h.
using SourceXtractor::DeblendStepConfig::DeblendStepCreator = std::function<std::shared_ptr<DeblendStep>(std::shared_ptr<SourceFactory>)> |
Definition at line 39 of file DeblendStepConfig.h.
SourceXtractor::DeblendStepConfig::DeblendStepConfig | ( | long | manager_id | ) |
Definition at line 26 of file DeblendStepConfig.cpp.
|
virtualdefault |
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().
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.
|
private |
Definition at line 51 of file DeblendStepConfig.h.
Referenced by addDeblendStepCreator(), and getSteps().