SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AperturePhotometryArrayTask.h
Go to the documentation of this file.
1 
17 /*
18  * AperturePhotometryArrayTask.h
19  *
20  * Created on: Nov 23, 2018
21  * Author: Alejandro Alvarez Ayllon
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRYARRAYTASK_H_
25 #define _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRYARRAYTASK_H_
26 
29 
30 namespace SourceXtractor {
31 
33 public:
34 
35  virtual ~AperturePhotometryArrayTask() = default;
36 
37  AperturePhotometryArrayTask(const std::vector<unsigned> &aperture_instances, unsigned instance)
38  : m_aperture_instances(aperture_instances), m_instance(instance) {}
39 
40  virtual void computeProperties(SourceInterface &source) const override;
41 
42 private:
44  unsigned m_instance;
45 };
46 
47 } // end SourceXtractor
48 
49 #endif // _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRYARRAYTASK_H_
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
AperturePhotometryArrayTask(const std::vector< unsigned > &aperture_instances, unsigned instance)
virtual void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
The SourceInterface is an abstract &quot;source&quot; that has properties attached to it.