SourceXtractorPlusPlus  0.13
Please provide a description of the project.
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_
SourceXtractor::AperturePhotometryArrayTask::computeProperties
virtual void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition: AperturePhotometryArrayTask.cpp:30
SourceXtractor::AperturePhotometryArrayTask::~AperturePhotometryArrayTask
virtual ~AperturePhotometryArrayTask()=default
std::vector< unsigned >
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::AperturePhotometryArrayTask::AperturePhotometryArrayTask
AperturePhotometryArrayTask(const std::vector< unsigned > &aperture_instances, unsigned instance)
Definition: AperturePhotometryArrayTask.h:37
Aperture.h
SourceXtractor::AperturePhotometryArrayTask
Definition: AperturePhotometryArrayTask.h:32
SourceXtractor::SourceTask
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
SourceXtractor::AperturePhotometryArrayTask::m_instance
unsigned m_instance
Definition: AperturePhotometryArrayTask.h:44
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition: SourceInterface.h:46
SourceXtractor::AperturePhotometryArrayTask::m_aperture_instances
std::vector< unsigned > m_aperture_instances
Definition: AperturePhotometryArrayTask.h:43
SourceTask.h