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

#include <AssocModeTaskFactory.h>

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

Public Member Functions

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

Private Attributes

std::vector< std::pair< std::string, unsigned int > > m_auto_names
 
AssocModeConfig::AssocMode m_assoc_mode
 
double m_assoc_radius
 
std::vector< AssocModeConfig::CatalogEntrym_catalog
 

Detailed Description

Definition at line 28 of file AssocModeTaskFactory.h.

Constructor & Destructor Documentation

◆ AssocModeTaskFactory()

SourceXtractor::AssocModeTaskFactory::AssocModeTaskFactory ( )

Definition at line 33 of file AssocModeTaskFactory.cpp.

References UNKNOWN.

◆ ~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

Reimplemented from SourceXtractor::TaskFactory.

Definition at line 39 of file AssocModeTaskFactory.cpp.

References Euclid::Configuration::ConfigManager::getConfiguration(), m_assoc_mode, m_assoc_radius, and m_catalog.

Here is the call graph for this function:

◆ 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 47 of file AssocModeTaskFactory.cpp.

References SourceXtractor::PropertyId::getTypeId(), m_assoc_mode, m_assoc_radius, and m_catalog.

Here is the call graph for this function:

◆ 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

Reimplemented from SourceXtractor::TaskFactory.

Definition at line 35 of file AssocModeTaskFactory.cpp.

References Euclid::Configuration::ConfigManager::registerConfiguration().

Here is the call graph for this function:

Member Data Documentation

◆ m_assoc_mode

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

Definition at line 45 of file AssocModeTaskFactory.h.

Referenced by configure(), and createTask().

◆ m_assoc_radius

double SourceXtractor::AssocModeTaskFactory::m_assoc_radius
private

Definition at line 46 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 43 of file AssocModeTaskFactory.h.

◆ m_catalog

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

Definition at line 47 of file AssocModeTaskFactory.h.

Referenced by configure(), and createTask().


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