SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
29 
30 
31 namespace SourceXtractor {
32 
34  auto instance = property_id.getIndex();
35  return std::make_shared<MeasurementFrameGroupRectangleTask>(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