SourceXtractorPlusPlus
0.15
Please provide a description of the project.
SEImplementation
src
lib
Plugin
DetectionFrameCoordinates
DetectionFrameCoordinatesTaskFactory.cpp
Go to the documentation of this file.
1
19
#include "
SEImplementation/Plugin/DetectionFrameCoordinates/DetectionFrameCoordinates.h
"
20
#include "
SEImplementation/Plugin/DetectionFrameCoordinates/DetectionFrameCoordinatesTask.h
"
21
#include "
SEImplementation/Plugin/DetectionFrameCoordinates/DetectionFrameCoordinatesTaskFactory.h
"
22
23
using namespace
Euclid::Configuration
;
24
25
namespace
SourceXtractor
{
26
27
std::shared_ptr<Task>
DetectionFrameCoordinatesTaskFactory::createTask(
const
PropertyId
& property_id)
const
{
28
29
if
(property_id == PropertyId::create<DetectionFrameCoordinates>()) {
30
return
std::make_shared<DetectionFrameCoordinatesTask>();
31
}
else
{
32
return
nullptr
;
33
}
34
}
35
36
}
// SEImplementation namespace
37
38
39
40
DetectionFrameCoordinatesTaskFactory.h
DetectionFrameCoordinatesTask.h
DetectionFrameCoordinates.h
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition:
PropertyId.h:40
Euclid::Configuration
SourceXtractor
Definition:
Aperture.h:30
std::shared_ptr
Generated by
1.9.1