SourceXtractorPlusPlus  0.10
Please provide a description of the project.
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 
std::shared_ptr
STL class.
SourceXtractor::PixelCentroidTaskFactory::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: PixelCentroidTaskFactory.cpp:29
PixelCentroidTaskFactory.h
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40
SourceXtractor
Definition: Aperture.h:30
PixelCentroidTask.h
PixelCentroid.h