summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Frust <tobiasfrust@gmail.com>2016-06-29 15:22:50 +0200
committerTobias Frust <tobiasfrust@gmail.com>2016-06-29 15:22:50 +0200
commit5ecc4dde3731724f28d4629f8a563f30bb260617 (patch)
treedf5ee878ba6033e2dd815e3307a0dd364b27c91b
parent16e83c0afcec0cea8af82189d4e98cd232bdf154 (diff)
downloadods-5ecc4dde3731724f28d4629f8a563f30bb260617.tar.gz
ods-5ecc4dde3731724f28d4629f8a563f30bb260617.tar.bz2
ods-5ecc4dde3731724f28d4629f8a563f30bb260617.tar.xz
ods-5ecc4dde3731724f28d4629f8a563f30bb260617.zip
added udpClient, which will later send out the packages
-rw-r--r--src/DetectorModule/DetectorModule.cpp9
-rw-r--r--src/DetectorModule/DetectorModule.h24
-rw-r--r--src/UDPClient/UDPClient.cpp12
-rw-r--r--src/UDPClient/UDPClient.h15
4 files changed, 60 insertions, 0 deletions
diff --git a/src/DetectorModule/DetectorModule.cpp b/src/DetectorModule/DetectorModule.cpp
index e69de29..ac9ee27 100644
--- a/src/DetectorModule/DetectorModule.cpp
+++ b/src/DetectorModule/DetectorModule.cpp
@@ -0,0 +1,9 @@
+/*
+ * Copyright 2016 Tobias Frust
+ *
+ * DetectorModule.cpp
+ *
+ * Created on: 29.06.2016
+ * Author: Tobias Frust
+ */
+
diff --git a/src/DetectorModule/DetectorModule.h b/src/DetectorModule/DetectorModule.h
index e69de29..aa63d82 100644
--- a/src/DetectorModule/DetectorModule.h
+++ b/src/DetectorModule/DetectorModule.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2016 Tobias Frust
+ *
+ * DetectorModule.h
+ *
+ * Created on: 29.06.2016
+ * Author: Tobias Frust
+ */
+
+#ifndef DETECTORMODULE_H_
+#define DETECTORMODULE_H_
+
+#include <vector>
+
+template <typename T>
+class DetectorModule {
+public:
+ DetectorModule();
+
+private:
+ std::vector<std::vector<T>> buffer_;
+};
+
+#endif
diff --git a/src/UDPClient/UDPClient.cpp b/src/UDPClient/UDPClient.cpp
new file mode 100644
index 0000000..640555f
--- /dev/null
+++ b/src/UDPClient/UDPClient.cpp
@@ -0,0 +1,12 @@
+/*
+ * Copyright 2016 Tobias Frust
+ *
+ * UDPSender.cpp
+ *
+ * Created on: 29.06.2016
+ * Author: Tobias Frust
+ */
+
+
+
+
diff --git a/src/UDPClient/UDPClient.h b/src/UDPClient/UDPClient.h
new file mode 100644
index 0000000..a962fe9
--- /dev/null
+++ b/src/UDPClient/UDPClient.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright 2016 Tobias Frust
+ *
+ * UDPSender.h
+ *
+ * Created on: 29.06.2016
+ * Author: Tobias Frust
+ */
+
+#ifndef UDPSENDER_H_
+#define UDPSENDER_H_
+
+
+
+#endif /* UDPSENDER_H_ */