SourceXtractorPlusPlus
0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
src
lib
Plugin
ErrorEllipse
ErrorEllipseTaskFactory.cpp
Go to the documentation of this file.
1
17
/*
18
* ErrorEllipseTaskFactory.cpp
19
*
20
* Created on: Feb 11 2022
21
* Author: mkuemmel
22
*/
23
24
#include "
SEImplementation/Plugin/ErrorEllipse/ErrorEllipse.h
"
25
#include "
SEImplementation/Plugin/ErrorEllipse/ErrorEllipseTask.h
"
26
#include "
SEImplementation/Plugin/ErrorEllipse/ErrorEllipseTaskFactory.h
"
27
28
namespace
SourceXtractor
{
29
30
std::shared_ptr<Task>
ErrorEllipseTaskFactory::createTask
(
const
PropertyId
&
property_id
)
const
{
31
if
(
property_id
== PropertyId::create<ErrorEllipse>()) {
32
return
std::make_shared<ErrorEllipseTask>
();
33
}
else
{
34
return
nullptr
;
35
}
36
}
37
38
}
39
40
ErrorEllipseTaskFactory.h
ErrorEllipseTask.h
ErrorEllipse.h
SourceXtractor::ErrorEllipseTaskFactory::createTask
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Definition
ErrorEllipseTaskFactory.cpp:30
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition
PropertyId.h:40
std::function
SourceXtractor
Definition
Aperture.h:30
Generated by
1.10.0