SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ReferenceCoordinatesTaskFactory.cpp
Go to the documentation of this file.
1
17
18
20
24
25using namespace Euclid::Configuration;
26
27namespace SourceXtractor {
28
32
34 auto& detection_image_config = manager.getConfiguration<DetectionImageConfig>();
35 if (detection_image_config.isReferenceImage()) {
36 m_coordinate_system = detection_image_config.getCoordinateSystem();
37 }
38}
39
41 if (property_id.getTypeId() == PropertyId::create<ReferenceCoordinates>().getTypeId()) {
43 } else {
44 return nullptr;
45 }
46}
47
48} // SEImplementation namespace
49
50
51
52
Identifier used to set and retrieve properties.
Definition PropertyId.h:40
static PropertyId create(unsigned int index=0)
Definition PropertyId.h:45
unsigned int getIndex() const
Definition PropertyId.h:70
std::type_index getTypeId() const
Definition PropertyId.h:66
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
T make_shared(T... args)