SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SourceXtractor::AssocModeTaskFactory Class Reference

#include <AssocModeTaskFactory.h>

Inheritance diagram for SourceXtractor::AssocModeTaskFactory:
Inheritance graph
[legend]
Collaboration diagram for SourceXtractor::AssocModeTaskFactory:
Collaboration graph
[legend]

Public Member Functions

 AssocModeTaskFactory ()
 
virtual ~AssocModeTaskFactory ()=default
 Destructor.
 
void reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const override
 Registers all the Configuration dependencies.
 
void configure (Euclid::Configuration::ConfigManager &manager) override
 Method which should initialize the object.
 
std::shared_ptr< TaskcreateTask (const PropertyId &property_id) const override
 Returns a Task producing a Property corresponding to the given PropertyId.
 
void registerPropertyInstances (OutputRegistry &registry) override
 
- Public Member Functions inherited from SourceXtractor::TaskFactory
virtual ~TaskFactory ()=default
 Destructor.
 
void reportConfigDependencies (Euclid::Configuration::ConfigManager &) const override
 Registers all the Configuration dependencies.
 
void configure (Euclid::Configuration::ConfigManager &) override
 Method which should initialize the object.
 
- Public Member Functions inherited from SourceXtractor::Configurable
virtual ~Configurable ()=default
 Destructor.
 

Private Attributes

std::vector< std::pair< std::string, unsigned int > > m_auto_names
 
AssocModeConfig::AssocMode m_assoc_mode
 
double m_assoc_radius
 
std::vector< std::vector< AssocModeConfig::CatalogEntry > > m_catalogs
 
bool m_add_property_instances = false
 

Detailed Description

Definition at line 28 of file AssocModeTaskFactory.h.

Constructor & Destructor Documentation

◆ AssocModeTaskFactory()

SourceXtractor::AssocModeTaskFactory::AssocModeTaskFactory ( )

Definition at line 31 of file AssocModeTaskFactory.cpp.

◆ ~AssocModeTaskFactory()

virtual SourceXtractor::AssocModeTaskFactory::~AssocModeTaskFactory ( )
virtualdefault

Destructor.

Member Function Documentation

◆ configure()

void SourceXtractor::AssocModeTaskFactory::configure ( Euclid::Configuration::ConfigManager & manager)
overridevirtual

Method which should initialize the object.

The given manager is guaranteed to already be in the initialized state, so all the required Configurations can be accessed using its getConfiguration() method.

Parameters
managerThe manager to get the Configurations from

Implements SourceXtractor::Configurable.

Definition at line 37 of file AssocModeTaskFactory.cpp.

References m_add_property_instances, m_assoc_mode, m_assoc_radius, and m_catalogs.

◆ createTask()

std::shared_ptr< Task > SourceXtractor::AssocModeTaskFactory::createTask ( const PropertyId & property_id) const
overridevirtual

Returns a Task producing a Property corresponding to the given PropertyId.

Implements SourceXtractor::TaskFactory.

Definition at line 46 of file AssocModeTaskFactory.cpp.

References m_assoc_mode, m_assoc_radius, and m_catalogs.

◆ registerPropertyInstances()

void SourceXtractor::AssocModeTaskFactory::registerPropertyInstances ( OutputRegistry & registry)
overridevirtual

Reimplemented from SourceXtractor::TaskFactory.

Definition at line 58 of file AssocModeTaskFactory.cpp.

References m_add_property_instances.

◆ reportConfigDependencies()

void SourceXtractor::AssocModeTaskFactory::reportConfigDependencies ( Euclid::Configuration::ConfigManager & manager) const
overridevirtual

Registers all the Configuration dependencies.

Configurable implementations should implement this method to register to the given ConfigManager (using the registerConfiguration() method) all the Configurations they are going to use

Parameters
managerThe manager to register the dependencies to

Implements SourceXtractor::Configurable.

Definition at line 33 of file AssocModeTaskFactory.cpp.

Member Data Documentation

◆ m_add_property_instances

bool SourceXtractor::AssocModeTaskFactory::m_add_property_instances = false
private

Definition at line 49 of file AssocModeTaskFactory.h.

Referenced by configure(), and registerPropertyInstances().

◆ m_assoc_mode

AssocModeConfig::AssocMode SourceXtractor::AssocModeTaskFactory::m_assoc_mode
private

Definition at line 46 of file AssocModeTaskFactory.h.

Referenced by configure(), and createTask().

◆ m_assoc_radius

double SourceXtractor::AssocModeTaskFactory::m_assoc_radius
private

Definition at line 47 of file AssocModeTaskFactory.h.

Referenced by configure(), and createTask().

◆ m_auto_names

std::vector<std::pair<std::string, unsigned int> > SourceXtractor::AssocModeTaskFactory::m_auto_names
private

Definition at line 44 of file AssocModeTaskFactory.h.

◆ m_catalogs

std::vector<std::vector<AssocModeConfig::CatalogEntry> > SourceXtractor::AssocModeTaskFactory::m_catalogs
private

Definition at line 48 of file AssocModeTaskFactory.h.

Referenced by configure(), and createTask().


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