SourceXtractorPlusPlus  0.13
Please provide a description of the project.
Measurement.h
Go to the documentation of this file.
1 
17 /*
18  * Measurement.h
19  *
20  * Created on: May 17, 2018
21  * Author: mschefer
22  */
23 
24 #ifndef _SEFRAMEWORK_PIPELINE_MEASUREMENT_H_
25 #define _SEFRAMEWORK_PIPELINE_MEASUREMENT_H_
26 
27 
28 #include "SEUtils/Observable.h"
31 
32 namespace SourceXtractor {
33 
34 class Measurement :
35  public Observer<std::shared_ptr<SourceGroupInterface>>,
36  public Observable<std::shared_ptr<SourceGroupInterface>> {
37 public:
38 
39  virtual ~Measurement() = default;
40 
41  virtual void startThreads() = 0;
42  virtual void waitForThreads() = 0;
43 };
44 
45 }
46 
47 
48 #endif /* _SEFRAMEWORK_PIPELINE_MEASUREMENT_H_ */
SourceXtractor::Observer
Observer interface to be used with Observable to implement the Observer pattern.
Definition: Observable.h:38
SourceGroupInterface.h
SourceXtractor::Measurement::startThreads
virtual void startThreads()=0
SourceXtractor::Measurement
Definition: Measurement.h:36
SourceXtractor::Measurement::waitForThreads
virtual void waitForThreads()=0
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::Measurement::~Measurement
virtual ~Measurement()=default
Observable.h
SourceXtractor::Observable
Implements the Observer pattern. Notifications will be made using a message of type T.
Definition: Observable.h:51
TaskProvider.h