/* * Copyright 2016 Tobias Frust * * Detector.h * * Created on: 30.06.2016 * Author: Tobias Frust */ #ifndef DETECTOR_H_ #define DETECTOR_H_ #include "../DetectorModule/DetectorModule.h" #include #include class Detector { public: Detector(const std::string& address, const std::string& configPath, const unsigned int timeIntervall); auto run() -> void; private: std::vector modules_; std::vector moduleThreads_; unsigned int timeIntervall_; int numberOfDetectorModules_; auto readConfig(const std::string& configFile) -> bool; }; #endif /* DETECTOR_H_ */