SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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_ */
virtual void startThreads()=0
virtual ~Measurement()=default
Implements the Observer pattern. Notifications will be made using a message of type T...
Definition: Observable.h:51
virtual void waitForThreads()=0
Observer interface to be used with Observable to implement the Observer pattern.
Definition: Observable.h:38