SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
#include <SamplingConfig.h>
Public Member Functions | |
SamplingConfig (long manager_id) | |
virtual | ~SamplingConfig ()=default |
std::map< std::string, OptionDescriptionList > | getProgramOptions () override |
void | preInitialize (const UserValues &args) override |
void | initialize (const UserValues &args) override |
double | getAdaptiveTargetPrecision () const |
double | getScaleFactor () const |
size_t | getMaxFitSize () const |
![]() | |
Configuration (long manager_id) | |
virtual | ~Configuration ()=default |
virtual void | postInitialize (const UserValues &args) |
const std::set< std::type_index > & | getDependencies () |
State & | getCurrentState () |
State | getCurrentState () const |
Private Attributes | |
double | m_adaptive_target |
double | m_scale_factor |
size_t | m_max_fit_size |
Additional Inherited Members | |
![]() | |
enum class | State { CONSTRUCTED , PRE_INITIALIZED , INITIALIZED , FINAL } |
typedef std::vector< boost::program_options::option_description > | OptionDescriptionList |
typedef std::map< std::string, boost::program_options::variable_value > | UserValues |
![]() | |
void | declareDependency () |
T & | getDependency () |
const T & | getDependency () const |
Definition at line 25 of file SamplingConfig.h.
|
explicit |
Definition at line 31 of file SamplingConfig.cpp.
|
virtualdefault |
|
inline |
Definition at line 39 of file SamplingConfig.h.
References m_adaptive_target.
|
inline |
Definition at line 47 of file SamplingConfig.h.
References m_max_fit_size.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 34 of file SamplingConfig.cpp.
References std::string::c_str(), SourceXtractor::SAMPLING_MAX_FIT_SIZE, and SourceXtractor::SAMPLING_SCALE_FACTOR.
|
inline |
Definition at line 43 of file SamplingConfig.h.
References m_scale_factor.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 50 of file SamplingConfig.cpp.
References std::map< K, T >::at(), m_max_fit_size, m_scale_factor, SourceXtractor::SAMPLING_MAX_FIT_SIZE, and SourceXtractor::SAMPLING_SCALE_FACTOR.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 47 of file SamplingConfig.cpp.
|
private |
Definition at line 53 of file SamplingConfig.h.
Referenced by getAdaptiveTargetPrecision().
|
private |
Definition at line 55 of file SamplingConfig.h.
Referenced by getMaxFitSize(), and initialize().
|
private |
Definition at line 54 of file SamplingConfig.h.
Referenced by getScaleFactor(), and initialize().