SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 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 
35  sendSource(std::move(source_group));
36 
37  }
38  void receiveProcessSignal(const ProcessSourcesEvent& event) override {
39  sendProcessSignal(event);
40  }
41 
42  void startThreads() override {};
43  void stopThreads() override {};
44  void synchronizeThreads() override {};
45 };
46 
47 }
48 
49 
50 #endif /* SEIMPLEMENTATION_SEIMPLEMENTATION_MEASUREMENT_DUMMYMEASUREMENT_H_ */
void sendProcessSignal(const ProcessSourcesEvent &event) const
Definition: PipelineStage.h:92
Event received by SourceGrouping to request the processing of some of the Sources stored...
Definition: PipelineStage.h:33
void receiveProcessSignal(const ProcessSourcesEvent &event) override
T move(T...args)
STL class.
void receiveSource(std::unique_ptr< SourceGroupInterface > source_group) override
void sendSource(std::unique_ptr< SourceGroupInterface > source) const
Definition: PipelineStage.h:85