SourceXtractorPlusPlus  0.15
Please provide a description of the project.
JacobianTask.h
Go to the documentation of this file.
1 
17 /*
18  * JacobianTask.h
19  *
20  * Created on: Oct 08, 2018
21  * Author: Alejandro Alvarez Ayllon
22  */
23 
24 
25 #ifndef _SEIMPLEMENTATION_PLUGIN_JACOBIAN_JACOBIANTASK_H_
26 #define _SEIMPLEMENTATION_PLUGIN_JACOBIAN_JACOBIANTASK_H_
27 
30 
31 namespace SourceXtractor {
32 
33 class JacobianGroupTask : public GroupTask {
34 public:
35  virtual ~JacobianGroupTask() = default;
36 
37  JacobianGroupTask(unsigned instance) : m_instance{instance} {}
38 
39  void computeProperties(SourceGroupInterface &source) const override;
40 
41 private:
42  unsigned m_instance;
43 };
44 
46 public:
47  virtual ~JacobianSourceTask() = default;
48 
49  JacobianSourceTask(unsigned instance) : m_instance{instance} {}
50 
51  void computeProperties(SourceInterface &source) const override;
52 
53 private:
54  unsigned m_instance;
55 };
56 
57 } // end SourceXtractor
58 
59 #endif // _SEIMPLEMENTATION_PLUGIN_JACOBIAN_JACOBIANTASK_H_
A Task that acts on a SourceGroup to compute one or more properties.
Definition: GroupTask.h:36
virtual ~JacobianGroupTask()=default
void computeProperties(SourceGroupInterface &source) const override
Computes one or more properties for the SourceGroup and/or the Sources it contains.
JacobianGroupTask(unsigned instance)
Definition: JacobianTask.h:37
virtual ~JacobianSourceTask()=default
JacobianSourceTask(unsigned instance)
Definition: JacobianTask.h:49
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Defines the interface used to group sources.
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