SourceXtractorPlusPlus
0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SEImplementation
src
lib
Plugin
MeasurementFrameGroupRectangle
MeasurementFrameGroupRectangleTaskFactory.cpp
Go to the documentation of this file.
1
17
/*
18
* MeasurementFrameGroupRectangleTaskFactory.cpp
19
*
20
* Created on: Sep 5, 2018
21
* Author: Alejandro Alvarez Ayllon
22
*/
23
24
#include <iostream>
25
26
#include "
SEImplementation/Plugin/MeasurementFrameGroupRectangle/MeasurementFrameGroupRectangle.h
"
27
#include "
SEImplementation/Plugin/MeasurementFrameGroupRectangle/MeasurementFrameGroupRectangleTask.h
"
28
#include "
SEImplementation/Plugin/MeasurementFrameGroupRectangle/MeasurementFrameGroupRectangleTaskFactory.h
"
29
30
31
namespace
SourceXtractor
{
32
33
std::shared_ptr<Task>
MeasurementFrameGroupRectangleTaskFactory::createTask
(
const
PropertyId
&
property_id
)
const
{
34
auto
instance
=
property_id
.getIndex();
35
return
std::make_shared<MeasurementFrameGroupRectangleTask>
(
instance
);
36
}
37
38
}
// SEImplementation namespace
MeasurementFrameGroupRectangleTaskFactory.h
MeasurementFrameGroupRectangleTask.h
MeasurementFrameGroupRectangle.h
SourceXtractor::MeasurementFrameGroupRectangleTaskFactory::createTask
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Definition
MeasurementFrameGroupRectangleTaskFactory.cpp:33
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