From 5ecc4dde3731724f28d4629f8a563f30bb260617 Mon Sep 17 00:00:00 2001 From: Tobias Frust Date: Wed, 29 Jun 2016 15:22:50 +0200 Subject: added udpClient, which will later send out the packages --- src/DetectorModule/DetectorModule.cpp | 9 +++++++++ src/DetectorModule/DetectorModule.h | 24 ++++++++++++++++++++++++ src/UDPClient/UDPClient.cpp | 12 ++++++++++++ src/UDPClient/UDPClient.h | 15 +++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 src/UDPClient/UDPClient.cpp create mode 100644 src/UDPClient/UDPClient.h 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 + +template +class DetectorModule { +public: + DetectorModule(); + +private: + std::vector> 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_ */ -- cgit v1.2.1