SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ReferenceCoordinatesTask.h
Go to the documentation of this file.
1
17
18#ifndef _SEIMPLEMENTATION_PLUGIN_REFERENCECOORDINATES_REFERENCECOORDINATESTASK_H_
19#define _SEIMPLEMENTATION_PLUGIN_REFERENCECOORDINATES_REFERENCECOORDINATESTASK_H_
20
23
24namespace SourceXtractor {
25
32public:
33
37 virtual ~ReferenceCoordinatesTask() = default;
38
40 explicit ReferenceCoordinatesTask(unsigned int instance, std::shared_ptr<CoordinateSystem> coordinate_system)
41 : m_instance(instance), m_coordinate_system(coordinate_system) {
42 }
43
44 void computeProperties(SourceInterface& source) const override;
45
46private:
47 unsigned int m_instance;
49
50}; /* End of ReferenceCoordinatesTask class */
51
52}
53
54
55#endif /* _SEIMPLEMENTATION_PLUGIN_REFERENCECOORDINATES_REFERENCECOORDINATESTASK_H_ */
ReferenceCoordinatesTask(unsigned int instance, std::shared_ptr< CoordinateSystem > coordinate_system)
Constructor.
virtual ~ReferenceCoordinatesTask()=default
Destructor.
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
std::shared_ptr< CoordinateSystem > m_coordinate_system
The SourceInterface is an abstract "source" that has properties attached to it.
A Task that acts on a Source to compute one or more properties.
Definition SourceTask.h:36