summaryrefslogtreecommitdiffstats
path: root/src/DetectorModule/DetectorModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DetectorModule/DetectorModule.h')
-rw-r--r--src/DetectorModule/DetectorModule.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/DetectorModule/DetectorModule.h b/src/DetectorModule/DetectorModule.h
index afe4d04..f959857 100644
--- a/src/DetectorModule/DetectorModule.h
+++ b/src/DetectorModule/DetectorModule.h
@@ -27,7 +27,7 @@ public:
private:
std::vector<unsigned short> buffer_;
- std::vector<char> sendBuffer_;
+ std::vector<std::vector<char>> sendBuffer_;
int detectorID_;
UDPClient client_;
@@ -40,12 +40,16 @@ private:
unsigned int numberOfFrames_;
std::string path_, fileName_, fileEnding_;
+ unsigned int max_packets_;
std::size_t index_;
+ std::size_t ips_;
+ std::size_t counter_;
+ std::chrono::high_resolution_clock::time_point ts_;
unsigned short partID_{0};
auto readConfig(const std::string& configFile) -> bool;
auto readInput() -> void;
- auto send() -> void;
+ auto send(int packets) -> void;
};