SourceXtractorPlusPlus  0.11
Please provide a description of the project.
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 
PropertyId.h
std::shared_ptr
STL class.
Task.h
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40
SourceXtractor
Definition: Aperture.h:30
KronRadiusTaskFactory.h
SourceXtractor::KronRadiusTaskFactory::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: KronRadiusTaskFactory.cpp:36
KronRadiusTask.h
KronRadius.h