SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VignetSourceTask.h
Go to the documentation of this file.
1 
25 #ifndef _SEIMPLEMENTATION_PLUGIN_VIGNETSOURCETASK_H_
26 #define _SEIMPLEMENTATION_PLUGIN_VIGNETSOURCETASK_H_
27 
29 
30 namespace SourceXtractor {
31 class VignetSourceTask : public SourceTask {
32 public:
33  VignetSourceTask(unsigned instance, std::array<int, 2> vignet_size, double vignet_default_pixval) :
34  m_instance(instance),
35  m_vignet_size(vignet_size),
36  m_vignet_default_pixval((SeFloat) vignet_default_pixval) {};
37 
38  virtual ~VignetSourceTask() = default;
39 
40  virtual void computeProperties(SourceInterface& source) const;
41 
42 private:
43  unsigned m_instance;
46 }; // End of VignetSourceTask class
47 
48 } // namespace SourceXtractor
49 
50 #endif /* _SEIMPLEMENTATION_PLUGIN_VIGNETSOURCETASK_H_ */
VignetSourceTask(unsigned instance, std::array< int, 2 > vignet_size, double vignet_default_pixval)
SeFloat32 SeFloat
Definition: Types.h:32
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
virtual void computeProperties(SourceInterface &source) const
Computes one or more properties for the Source.
std::array< int, 2 > m_vignet_size
virtual ~VignetSourceTask()=default
The SourceInterface is an abstract &quot;source&quot; that has properties attached to it.