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