SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::PsfTaskFactory Class Reference

#include <PsfTaskFactory.h>

Inheritance diagram for SourceXtractor::PsfTaskFactory:
Collaboration diagram for SourceXtractor::PsfTaskFactory:

Public Member Functions

virtual ~PsfTaskFactory ()=default
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.
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.
virtual void registerPropertyInstances (OutputRegistry &)
Public Member Functions inherited from SourceXtractor::Configurable
virtual ~Configurable ()=default
 Destructor.

Private Attributes

std::map< int, std::shared_ptr< Psf > > m_vpsf

Detailed Description

Definition at line 35 of file PsfTaskFactory.h.

Constructor & Destructor Documentation

◆ ~PsfTaskFactory()

virtual SourceXtractor::PsfTaskFactory::~PsfTaskFactory ( )
virtualdefault

Member Function Documentation

◆ configure()

void SourceXtractor::PsfTaskFactory::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 34 of file PsfTaskFactory.cpp.

References Euclid::Configuration::ConfigManager::getConfiguration(), m_vpsf, and SourceXtractor::PsfPluginConfig::readPsf().

Here is the call graph for this function:

◆ createTask()

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

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

Implements SourceXtractor::TaskFactory.

Definition at line 51 of file PsfTaskFactory.cpp.

References SourceXtractor::PropertyId::getIndex(), m_vpsf, and std::make_shared().

Here is the call graph for this function:

◆ reportConfigDependencies()

void SourceXtractor::PsfTaskFactory::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 29 of file PsfTaskFactory.cpp.

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

Here is the call graph for this function:

Member Data Documentation

◆ m_vpsf

std::map<int, std::shared_ptr<Psf> > SourceXtractor::PsfTaskFactory::m_vpsf
private

Definition at line 46 of file PsfTaskFactory.h.

Referenced by configure(), and createTask().


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