SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
KronRadiusTaskFactory.cpp
Go to the documentation of this file.
1 
17 /*
18  * KronRadiusTaskFactory.cpp
19  *
20  * Created on: Sep 12, 2016
21  * Author: mkuemmel@usm.lmu.de
22  */
23 
24 #include <iostream>
25 #include <sstream>
26 
28 #include "SEFramework/Task/Task.h"
29 
33 
34 namespace SourceXtractor {
35 
37  if (property_id == PropertyId::create<KronRadius>()) {
38  return std::make_shared<KronRadiusTask>();
39  } else {
40  return nullptr;
41  }
42 }
43 
44 }
45 
virtual std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40