SourceXtractorPlusPlus  0.8
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PixelCentroidTaskFactory.cpp
Go to the documentation of this file.
1 
26 
27 namespace SourceXtractor {
28 
30  if (property_id == PropertyId::create<PixelCentroid>()) {
31  return std::make_shared<PixelCentroidTask>();
32  } else {
33  return nullptr;
34  }
35 }
36 
37 
38 }
39 
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40
virtual std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.