diff options
Diffstat (limited to 'src/DetectorModule/DetectorModule.h')
-rw-r--r-- | src/DetectorModule/DetectorModule.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/DetectorModule/DetectorModule.h b/src/DetectorModule/DetectorModule.h index 1bc36bb..3ca5f23 100644 --- a/src/DetectorModule/DetectorModule.h +++ b/src/DetectorModule/DetectorModule.h @@ -21,7 +21,7 @@ class DetectorModule { public: - DetectorModule(const int detectorID, const std::string& address, const std::string& configPath); + DetectorModule(const int detectorID, const std::string& address, const std::string& configPath, const int packetSize); auto sendPeriodically(unsigned int timeIntervall) -> void; @@ -32,14 +32,18 @@ private: int detectorID_; UDPClient client_; + int packetSize_; + int numberOfDetectors_; int numberOfPlanes_; int numberOfProjections_; int numberOfDetectorsPerModule_; + int numberOfProjectionsPerPacket_; unsigned int numberOfFrames_; std::string path_, fileName_, fileEnding_; std::size_t index_; + unsigned short partID_{0}; auto readConfig(const std::string& configFile) -> bool; auto readInput() -> void; |