SourceXtractorPlusPlus  0.15
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DummyMeasurement.h
Go to the documentation of this file.
1 
17 /*
18  * DummyMeasurement.h
19  *
20  * Created on: May 17, 2018
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_MEASUREMENT_DUMMYMEASUREMENT_H_
25 #define _SEIMPLEMENTATION_MEASUREMENT_DUMMYMEASUREMENT_H_
26 
28 
29 namespace SourceXtractor {
30 
31 class DummyMeasurement : public Measurement {
32 public:
33 
34  virtual void handleMessage(const std::shared_ptr<SourceGroupInterface>& source_group) override {
35  notifyObservers(source_group);
36  }
37 
38  virtual void startThreads() override {}
39  virtual void waitForThreads() override {}
40 
41 };
42 
43 }
44 
45 
46 #endif /* SEIMPLEMENTATION_SEIMPLEMENTATION_MEASUREMENT_DUMMYMEASUREMENT_H_ */
void notifyObservers(const std::shared_ptr< SourceGroupInterface > &message) const
Definition: Observable.h:71
virtual void startThreads() override
virtual void handleMessage(const std::shared_ptr< SourceGroupInterface > &source_group) override
virtual void waitForThreads() override