SourceXtractorPlusPlus
0.12
Please provide a description of the project.
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
MeasurementFrameGroupRectangle.h
std::shared_ptr
SourceXtractor::PropertyId::getIndex
unsigned int getIndex() const
Definition:
PropertyId.h:70
SourceXtractor::MeasurementFrameGroupRectangleTaskFactory::createTask
virtual 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
MeasurementFrameGroupRectangleTask.h
SourceXtractor
Definition:
Aperture.h:30
MeasurementFrameGroupRectangleTaskFactory.h
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition:
PropertyId.h:40
Generated by
1.8.14