summaryrefslogtreecommitdiffstats
path: root/src/DetectorModule/DetectorModule.cpp
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-08-14 21:58:29 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-08-14 21:58:29 +0200
commit5cdb425d6843c100189611c2edb37b03efc1dc5a (patch)
tree82c5e7397b2950c41c00d09ed8020e9d98ced693 /src/DetectorModule/DetectorModule.cpp
parentad4fef28ad3fc8b73a3bf97c229e878e8c680e16 (diff)
downloadods-5cdb425d6843c100189611c2edb37b03efc1dc5a.tar.gz
ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.tar.bz2
ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.tar.xz
ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.zip
Make it compatible with CentOS 7.5
Diffstat (limited to 'src/DetectorModule/DetectorModule.cpp')
-rw-r--r--src/DetectorModule/DetectorModule.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/DetectorModule/DetectorModule.cpp b/src/DetectorModule/DetectorModule.cpp
index 6767eb9..ff517fe 100644
--- a/src/DetectorModule/DetectorModule.cpp
+++ b/src/DetectorModule/DetectorModule.cpp
@@ -10,8 +10,6 @@
#include "DetectorModule.h"
#include "../ConfigReader/ConfigReader.h"
-#include <boost/log/trivial.hpp>
-
#include <exception>
#include <fstream>
@@ -64,7 +62,6 @@ DetectorModule::DetectorModule(const int detectorID, const std::string& address,
}
auto DetectorModule::send(int packets = 1) -> void{
- BOOST_LOG_TRIVIAL(debug) << "Detectormodule " << detectorID_ << " :sending udp packet with index " << index_ << ".";
int numberOfParts = numberOfProjections_/numberOfProjectionsPerPacket_;
// sendBuffer_[0] = (sizeof(std::size_t)) & 0xff;
// sendBuffer_[1] = (sizeof(std::size_t) >> 8) & 0xff;
@@ -131,7 +128,6 @@ auto DetectorModule::readInput() -> void {
path_.append("/");
//open file
const std::string filePath = path_ + fileName_ + std::to_string(detectorID_+1) + fileEnding_;
- BOOST_LOG_TRIVIAL(debug) << "DetectorModule: Path = " << filePath;
std::ifstream input(filePath, std::ios::in | std::ios::binary);
if(input){
//allocate memory in vector