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

#include <CoreThresholdPartitionConfig.h>

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

Public Member Functions

virtual ~CoreThresholdPartitionConfig ()=default
 
 CoreThresholdPartitionConfig (long manager_id)
 
std::map< std::string, OptionDescriptionListgetProgramOptions () override
 
void initialize (const UserValues &args) override
 
const double & getCoreThreshold () const
 
const int & getCoreMinArea () const
 
- Public Member Functions inherited from Euclid::Configuration::Configuration
 Configuration (long manager_id)
 
virtual ~Configuration ()=default
 
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

double m_core_threshold
 
int m_core_minarea
 

Additional Inherited Members

- Public Types inherited from Euclid::Configuration::Configuration
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
 
- Protected Member Functions inherited from Euclid::Configuration::Configuration
void declareDependency ()
 
T & getDependency ()
 
const T & getDependency () const
 

Detailed Description

Definition at line 31 of file CoreThresholdPartitionConfig.h.

Constructor & Destructor Documentation

◆ ~CoreThresholdPartitionConfig()

virtual SourceXtractor::CoreThresholdPartitionConfig::~CoreThresholdPartitionConfig ( )
virtualdefault

◆ CoreThresholdPartitionConfig()

SourceXtractor::CoreThresholdPartitionConfig::CoreThresholdPartitionConfig ( long  manager_id)

Definition at line 42 of file CoreThresholdPartitionConfig.cpp.

References Euclid::Configuration::ConfigManager::getInstance(), and Euclid::Configuration::ConfigManager::registerDependency().

Here is the call graph for this function:

Member Function Documentation

◆ getCoreMinArea()

const int & SourceXtractor::CoreThresholdPartitionConfig::getCoreMinArea ( ) const

Definition at line 81 of file CoreThresholdPartitionConfig.cpp.

References m_core_minarea.

◆ getCoreThreshold()

const double & SourceXtractor::CoreThresholdPartitionConfig::getCoreThreshold ( ) const

Definition at line 77 of file CoreThresholdPartitionConfig.cpp.

References m_core_threshold.

◆ getProgramOptions()

std::map< std::string, Configuration::OptionDescriptionList > SourceXtractor::CoreThresholdPartitionConfig::getProgramOptions ( )
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 49 of file CoreThresholdPartitionConfig.cpp.

References std::string::c_str(), SourceXtractor::CORE_MINAREA, SourceXtractor::CORE_THRESH_USE, and SourceXtractor::CORE_THRESHOLD.

Here is the call graph for this function:

◆ initialize()

void SourceXtractor::CoreThresholdPartitionConfig::initialize ( const UserValues args)
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 57 of file CoreThresholdPartitionConfig.cpp.

References std::map< K, T >::at(), SourceXtractor::CORE_MINAREA, SourceXtractor::CORE_THRESH_USE, SourceXtractor::CORE_THRESHOLD, std::map< K, T >::find(), m_core_minarea, and m_core_threshold.

Here is the call graph for this function:

Member Data Documentation

◆ m_core_minarea

int SourceXtractor::CoreThresholdPartitionConfig::m_core_minarea
private

Definition at line 48 of file CoreThresholdPartitionConfig.h.

Referenced by getCoreMinArea(), and initialize().

◆ m_core_threshold

double SourceXtractor::CoreThresholdPartitionConfig::m_core_threshold
private

Definition at line 47 of file CoreThresholdPartitionConfig.h.

Referenced by getCoreThreshold(), and initialize().


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