SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
SourceXtractor::VignetTaskFactory Class Reference

#include <VignetTaskFactory.h>

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

Public Member Functions

 VignetTaskFactory ()
 
virtual ~VignetTaskFactory ()=default
 
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::array< int, 2 > m_vignet_size
 
double m_vignet_default_pixval
 
std::vector< unsigned > m_images
 

Detailed Description

Definition at line 31 of file VignetTaskFactory.h.

Constructor & Destructor Documentation

SourceXtractor::VignetTaskFactory::VignetTaskFactory ( )
inline

Definition at line 33 of file VignetTaskFactory.h.

virtual SourceXtractor::VignetTaskFactory::~VignetTaskFactory ( )
virtualdefault

Member Function Documentation

void SourceXtractor::VignetTaskFactory::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 VignetTaskFactory.cpp.

References Euclid::Configuration::ConfigManager::getConfiguration(), SourceXtractor::MeasurementImageConfig::getImageInfos(), m_images, m_vignet_default_pixval, m_vignet_size, and std::vector< T >::push_back().

Here is the call graph for this function:

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

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

Implements SourceXtractor::TaskFactory.

Definition at line 54 of file VignetTaskFactory.cpp.

References SourceXtractor::PropertyId::getIndex(), SourceXtractor::PropertyId::getTypeId(), m_images, m_vignet_default_pixval, and m_vignet_size.

Here is the call graph for this function:

void SourceXtractor::VignetTaskFactory::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 VignetTaskFactory.cpp.

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

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 47 of file VignetTaskFactory.h.

Referenced by configure(), and createTask().

double SourceXtractor::VignetTaskFactory::m_vignet_default_pixval
private

Definition at line 46 of file VignetTaskFactory.h.

Referenced by configure(), and createTask().

std::array<int, 2> SourceXtractor::VignetTaskFactory::m_vignet_size
private

Definition at line 45 of file VignetTaskFactory.h.

Referenced by configure(), and createTask().


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