SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
virtual std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
unsigned int getIndex() const
Definition: PropertyId.h:70
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40