SourceXtractorPlusPlus  0.10
Please provide a description of the project.
MeasurementFrameRectangleTaskFactory.cpp
Go to the documentation of this file.
1 
17 /*
18  * MeasurementFrameRectangleTaskFactory.cpp
19  *
20  * Created on: Sep 24, 2018
21  * Author: Alejandro Alvarez Ayllon
22  */
23 
24 #include <iostream>
25 
29 
30 
31 namespace SourceXtractor {
32 
34  auto instance = property_id.getIndex();
35  return std::make_shared<MeasurementFrameRectangleTask>(instance);
36 }
37 
38 } // SEImplementation namespace
std::shared_ptr
STL class.
SourceXtractor::MeasurementFrameRectangleTaskFactory::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: MeasurementFrameRectangleTaskFactory.cpp:33
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40
SourceXtractor
Definition: Aperture.h:30
MeasurementFrameRectangleTaskFactory.h
MeasurementFrameRectangleTask.h
SourceXtractor::PropertyId::getIndex
unsigned int getIndex() const
Definition: PropertyId.h:70
MeasurementFrameRectangle.h