SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SourcePsfTask.h
Go to the documentation of this file.
1 
18 #ifndef _SEIMPLEMENTATION_PLUGIN_SOURCEPSF_SOURCEPSFTASK_H_
19 #define _SEIMPLEMENTATION_PLUGIN_SOURCEPSF_SOURCEPSFTASK_H_
20 
22 #include "SEFramework/Psf/Psf.h"
23 
24 namespace SourceXtractor {
25 
26 class SourcePsfTask: public SourceTask {
27 public:
28  virtual ~SourcePsfTask() = default;
29 
30  SourcePsfTask(unsigned instance, const std::shared_ptr<Psf> &vpsf);
31 
32  void computeProperties(SourceInterface& source) const override;
33 
36 
37 private:
38  unsigned m_instance;
40 };
41 
42 } // end SourceXtractor
43 
44 #endif //_SEIMPLEMENTATION_PLUGIN_SOURCEPSF_SOURCEPSFTASK_H_
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
static std::map< std::string, ValueGetter > component_value_getters
Definition: SourcePsfTask.h:35
virtual ~SourcePsfTask()=default
std::shared_ptr< Psf > m_vpsf
Definition: SourcePsfTask.h:39
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
STL class.
std::function< double(SourceXtractor::SourceInterface &group, unsigned instance)> ValueGetter
Definition: SourcePsfTask.h:34
The SourceInterface is an abstract &quot;source&quot; that has properties attached to it.
SourcePsfTask(unsigned instance, const std::shared_ptr< Psf > &vpsf)