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

#include <AutoPhotometryTaskFactory.h>

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

Public Member Functions

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

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 ( )

Definition at line 47 of file AutoPhotometryTaskFactory.cpp.

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

Reimplemented from SourceXtractor::TaskFactory.

Definition at line 58 of file AutoPhotometryTaskFactory.cpp.

References std::vector< T >::emplace_back(), 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(), std::vector< T >::push_back(), 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

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

Implements SourceXtractor::TaskFactory.

Definition at line 79 of file AutoPhotometryTaskFactory.cpp.

References SourceXtractor::PropertyId::getIndex(), SourceXtractor::PropertyId::getTypeId(), m_images, m_kron_factor, m_kron_minrad, m_magnitude_zero_point, and m_symmetry_usage.

Here is the call graph for this function:

◆ 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

Reimplemented from SourceXtractor::TaskFactory.

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 configure(), and createTask().

◆ m_kron_minrad

SeFloat SourceXtractor::AutoPhotometryTaskFactory::m_kron_minrad
private

Definition at line 52 of file AutoPhotometryTaskFactory.h.

Referenced by 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 configure(), and createTask().

◆ m_symmetry_usage

bool SourceXtractor::AutoPhotometryTaskFactory::m_symmetry_usage
private

Definition at line 53 of file AutoPhotometryTaskFactory.h.

Referenced by configure(), and createTask().


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