summaryrefslogtreecommitdiffstats
path: root/src/Detector/Detector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Detector/Detector.h')
-rw-r--r--src/Detector/Detector.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Detector/Detector.h b/src/Detector/Detector.h
index 17acb8d..1969dbd 100644
--- a/src/Detector/Detector.h
+++ b/src/Detector/Detector.h
@@ -10,6 +10,26 @@
#ifndef DETECTOR_H_
#define DETECTOR_H_
+#include "../DetectorModule/DetectorModule.h"
+#include <vector>
+#include <thread>
+
+class Detector {
+public:
+ Detector(const std::string& address, const std::string& configPath, const unsigned int timeIntervall);
+
+ auto run() -> void;
+private:
+ std::vector<DetectorModule> modules_;
+
+ std::vector<std::thread> moduleThreads_;
+
+ unsigned int timeIntervall_;
+ int numberOfDetectorModules_;
+
+ auto readConfig(const std::string& configFile) -> bool;
+
+};
#endif /* DETECTOR_H_ */