SourceXtractorPlusPlus
1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
src
lib
Plugin
DetectionFrameImages
DetectionFrameImagesTaskFactory.cpp
Go to the documentation of this file.
1
17
18
19
#include "
SEImplementation/Plugin/DetectionFrameImages/DetectionFrameImages.h
"
20
#include "
SEImplementation/Plugin/DetectionFrameImages/DetectionFrameImagesTask.h
"
21
#include "
SEImplementation/Plugin/DetectionFrameImages/DetectionFrameImagesTaskFactory.h
"
22
23
using namespace
Euclid::Configuration
;
24
25
namespace
SourceXtractor
{
26
27
std::shared_ptr<Task>
DetectionFrameImagesTaskFactory::createTask
(
const
PropertyId
& property_id)
const
{
28
29
if
(property_id ==
PropertyId::create<DetectionFrameImages>
()) {
30
return
std::make_shared<DetectionFrameImagesTask>
();
31
}
else
{
32
return
nullptr
;
33
}
34
}
35
36
}
// SEImplementation namespace
37
38
39
40
DetectionFrameImagesTaskFactory.h
DetectionFrameImagesTask.h
DetectionFrameImages.h
SourceXtractor::DetectionFrameImagesTaskFactory::createTask
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Definition
DetectionFrameImagesTaskFactory.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
std::make_shared
T make_shared(T... args)
Euclid::Configuration
SourceXtractor
Definition
Aperture.h:30
std::shared_ptr
Generated by
1.14.0