SourceXtractorPlusPlus
0.11
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
Vignet
VignetTaskFactory.h
Go to the documentation of this file.
1
24
#ifndef _SEIMPLEMENTATION_PLUGIN_VIGNETTASKFACTORY_H_
25
#define _SEIMPLEMENTATION_PLUGIN_VIGNETTASKFACTORY_H_
26
27
#include <limits>
28
#include "
SEFramework/Task/TaskFactory.h
"
29
30
namespace
SourceXtractor
{
31
class
VignetTaskFactory
:
public
TaskFactory
{
32
public
:
33
VignetTaskFactory
():
m_vignet_default_pixval
(
std
::
numeric_limits
<double>::quiet_NaN()) {}
34
35
virtual
~VignetTaskFactory
() =
default
;
36
37
void
reportConfigDependencies
(
Euclid::Configuration::ConfigManager
& manager)
const override
;
38
39
void
configure
(
Euclid::Configuration::ConfigManager
& manager)
override
;
40
41
// TaskFactory implementation
42
std::shared_ptr<Task>
createTask
(
const
PropertyId
& property_id)
const override
;
43
44
private
:
45
std::array<int, 2>
m_vignet_size
;
46
double
m_vignet_default_pixval
;
47
std::vector<unsigned>
m_images
;
48
};
// end of VignetTaskFactory class
49
50
}
// namespace SourceXtractor
51
#endif
/* _SEIMPLEMENTATION_PLUGIN_VIGNETTASKFACTORY_H_ */
TaskFactory.h
SourceXtractor::VignetTaskFactory::m_vignet_default_pixval
double m_vignet_default_pixval
Definition:
VignetTaskFactory.h:46
SourceXtractor::VignetTaskFactory
Definition:
VignetTaskFactory.h:31
SourceXtractor::VignetTaskFactory::m_images
std::vector< unsigned > m_images
Definition:
VignetTaskFactory.h:47
std::shared_ptr
STL class.
SourceXtractor::TaskFactory
Creates a Task for computing a given property.
Definition:
TaskFactory.h:42
Euclid::Configuration::ConfigManager
std::vector< unsigned >
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition:
PropertyId.h:40
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::VignetTaskFactory::~VignetTaskFactory
virtual ~VignetTaskFactory()=default
std::array< int, 2 >
SourceXtractor::VignetTaskFactory::VignetTaskFactory
VignetTaskFactory()
Definition:
VignetTaskFactory.h:33
std
STL namespace.
SourceXtractor::VignetTaskFactory::createTask
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Definition:
VignetTaskFactory.cpp:54
SourceXtractor::VignetTaskFactory::m_vignet_size
std::array< int, 2 > m_vignet_size
Definition:
VignetTaskFactory.h:45
SourceXtractor::VignetTaskFactory::reportConfigDependencies
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
Definition:
VignetTaskFactory.cpp:35
std::numeric_limits
SourceXtractor::VignetTaskFactory::configure
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
Definition:
VignetTaskFactory.cpp:39
Generated by
1.8.18