summaryrefslogtreecommitdiffstats
path: root/src/DetectorModule/DetectorModule.h
diff options
context:
space:
mode:
authorTobias Frust <tobiasfrust@gmail.com>2016-10-13 10:27:01 +0200
committerGitHub <noreply@github.com>2016-10-13 10:27:01 +0200
commita38a5f1b646cdc992c3b602330a41036bc9bf7b1 (patch)
tree7fc93e5f5c3729d0fa013946fe60fa881a53579c /src/DetectorModule/DetectorModule.h
parent8af3d595e2856f81a46a91d67e96f53cb3b25d0f (diff)
parentcdab7a0b05f655a2f98f00f3fb8928e54b8c28d2 (diff)
downloadods-a38a5f1b646cdc992c3b602330a41036bc9bf7b1.tar.gz
ods-a38a5f1b646cdc992c3b602330a41036bc9bf7b1.tar.bz2
ods-a38a5f1b646cdc992c3b602330a41036bc9bf7b1.tar.xz
ods-a38a5f1b646cdc992c3b602330a41036bc9bf7b1.zip
Merge pull request #2 from tobiasfrust/master
Merge of the DetectorSimulator
Diffstat (limited to 'src/DetectorModule/DetectorModule.h')
-rw-r--r--src/DetectorModule/DetectorModule.h6
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;