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

#include <AutoPhotometryTaskFactory.h>

Inheritance diagram for SourceXtractor::AutoPhotometryTaskFactory:
Collaboration diagram for SourceXtractor::AutoPhotometryTaskFactory:

Public Member Functions

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

Private Attributes

SeFloat m_magnitude_zero_point
SeFloat m_kron_factor
SeFloat m_kron_minrad
bool m_symmetry_usage
std::vector< std::pair< std::string, unsigned int > > m_auto_names
std::vector< unsigned > m_images

Detailed Description

Definition at line 33 of file AutoPhotometryTaskFactory.h.

Constructor & Destructor Documentation

◆ AutoPhotometryTaskFactory()

SourceXtractor::AutoPhotometryTaskFactory::AutoPhotometryTaskFactory ( )

◆ ~AutoPhotometryTaskFactory()

virtual SourceXtractor::AutoPhotometryTaskFactory::~AutoPhotometryTaskFactory ( )
virtualdefault

Destructor.

Member Function Documentation

◆ configure()

void SourceXtractor::AutoPhotometryTaskFactory::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 58 of file AutoPhotometryTaskFactory.cpp.

References Euclid::Configuration::ConfigManager::getConfiguration(), SourceXtractor::MeasurementImageConfig::getImageInfos(), m_auto_names, m_images, m_kron_factor, m_kron_minrad, m_magnitude_zero_point, m_symmetry_usage, std::make_pair(), and std::to_string().

Here is the call graph for this function:

◆ createTask()

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

◆ registerPropertyInstances()

void SourceXtractor::AutoPhotometryTaskFactory::registerPropertyInstances ( SourceXtractor::OutputRegistry & output_registry)
overridevirtual

Reimplemented from SourceXtractor::TaskFactory.

Definition at line 75 of file AutoPhotometryTaskFactory.cpp.

References m_auto_names, and SourceXtractor::OutputRegistry::registerPropertyInstances().

Here is the call graph for this function:

◆ reportConfigDependencies()

void SourceXtractor::AutoPhotometryTaskFactory::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 50 of file AutoPhotometryTaskFactory.cpp.

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

Here is the call graph for this function:

Member Data Documentation

◆ m_auto_names

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

Definition at line 54 of file AutoPhotometryTaskFactory.h.

Referenced by configure(), and registerPropertyInstances().

◆ m_images

std::vector<unsigned> SourceXtractor::AutoPhotometryTaskFactory::m_images
private

Definition at line 55 of file AutoPhotometryTaskFactory.h.

Referenced by configure(), and createTask().

◆ m_kron_factor

SeFloat SourceXtractor::AutoPhotometryTaskFactory::m_kron_factor
private

Definition at line 51 of file AutoPhotometryTaskFactory.h.

Referenced by AutoPhotometryTaskFactory(), configure(), and createTask().

◆ m_kron_minrad

SeFloat SourceXtractor::AutoPhotometryTaskFactory::m_kron_minrad
private

Definition at line 52 of file AutoPhotometryTaskFactory.h.

Referenced by AutoPhotometryTaskFactory(), configure(), and createTask().

◆ m_magnitude_zero_point

SeFloat SourceXtractor::AutoPhotometryTaskFactory::m_magnitude_zero_point
private

Definition at line 50 of file AutoPhotometryTaskFactory.h.

Referenced by AutoPhotometryTaskFactory(), configure(), and createTask().

◆ m_symmetry_usage

bool SourceXtractor::AutoPhotometryTaskFactory::m_symmetry_usage
private

Definition at line 53 of file AutoPhotometryTaskFactory.h.

Referenced by AutoPhotometryTaskFactory(), configure(), and createTask().


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