SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
src
lib
Plugin
MeasurementFrameImages
MeasurementFrameImagesTaskFactory.cpp
Go to the documentation of this file.
1
17
18
19
#include "
SEImplementation/Plugin/MeasurementFrameImages/MeasurementFrameImages.h
"
20
#include "
SEImplementation/Plugin/MeasurementFrameImages/MeasurementFrameImagesTask.h
"
21
#include "
SEImplementation/Plugin/MeasurementFrameImages/MeasurementFrameImagesTaskFactory.h
"
22
23
using namespace
Euclid::Configuration
;
24
25
namespace
SourceXtractor
{
26
27
std::shared_ptr<Task>
MeasurementFrameImagesTaskFactory::createTask
(
const
PropertyId
& property_id)
const
{
28
if
(property_id.
getTypeId
() ==
PropertyId::create<MeasurementFrameImages>
().getTypeId()) {
29
return
std::make_shared<MeasurementFrameImagesTask>
(property_id.
getIndex
());
30
}
else
{
31
return
nullptr
;
32
}
33
}
34
35
}
// SEImplementation namespace
36
37
38
39
MeasurementFrameImagesTaskFactory.h
MeasurementFrameImagesTask.h
MeasurementFrameImages.h
SourceXtractor::MeasurementFrameImagesTaskFactory::createTask
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Definition
MeasurementFrameImagesTaskFactory.cpp:27
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition
PropertyId.h:40
SourceXtractor::PropertyId::create
static PropertyId create(unsigned int index=0)
Definition
PropertyId.h:45
SourceXtractor::PropertyId::getIndex
unsigned int getIndex() const
Definition
PropertyId.h:70
SourceXtractor::PropertyId::getTypeId
std::type_index getTypeId() const
Definition
PropertyId.h:66
std::make_shared
T make_shared(T... args)
Euclid::Configuration
SourceXtractor
Definition
Aperture.h:30
std::shared_ptr
Generated by
1.15.0