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