SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MeasurementFramePixelCentroidTaskFactory.cpp
Go to the documentation of this file.
1
17/*
18 * MeasurementFramePixelCentroidTaskFactory.cpp
19 *
20 * Created on: Oct 31, 2016
21 * Author: mschefer
22 */
23
27
28namespace SourceXtractor {
29
31 if (property_id.getTypeId() == PropertyId::create<MeasurementFramePixelCentroid>().getTypeId()) {
33 } else {
34 return nullptr;
35 }
36}
37
38}
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
static PropertyId create(unsigned int index=0)
Definition PropertyId.h:45
unsigned int getIndex() const
Definition PropertyId.h:70
std::type_index getTypeId() const
Definition PropertyId.h:66
T make_shared(T... args)