SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceTask.h
Go to the documentation of this file.
1
22
23#ifndef _SEFRAMEWORK_TASK_SOURCETASK_H
24#define _SEFRAMEWORK_TASK_SOURCETASK_H
25
28
29namespace SourceXtractor {
30
36class SourceTask : public Task {
37
38public:
39
43 virtual ~SourceTask() = default;
44
46 virtual void computeProperties(SourceInterface& source) const = 0;
47
48private:
49
50}; /* End of SourceTask class */
51
52} /* namespace SourceXtractor */
53
54
55#endif
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
virtual void computeProperties(SourceInterface &source) const =0
Computes one or more properties for the Source.
virtual ~SourceTask()=default
Destructor.
Basic interface for a Task that is used to compute properties.
Definition Task.h:35