SourceXtractorPlusPlus  0.8
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SourceTask.h
Go to the documentation of this file.
1 
23 #ifndef _SEFRAMEWORK_TASK_SOURCETASK_H
24 #define _SEFRAMEWORK_TASK_SOURCETASK_H
25 
26 #include "SEFramework/Task/Task.h"
28 
29 namespace SourceXtractor {
30 
36 class SourceTask : public Task {
37 
38 public:
39 
43  virtual ~SourceTask() = default;
44 
46  virtual void computeProperties(SourceInterface& source) const = 0;
47 
48 private:
49 
50 }; /* End of SourceTask class */
51 
52 } /* namespace SourceXtractor */
53 
54 
55 #endif
Basic interface for a Task that is used to compute properties.
Definition: Task.h:35
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.
The SourceInterface is an abstract "source" that has properties attached to it.
virtual ~SourceTask()=default
Destructor.