This commit is contained in:
2021-06-30 14:40:13 +02:00
parent 2f8736e4c4
commit 7ac2b229d3
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -2,9 +2,9 @@
#define SF_DAQ_FRAME_CACHE_HPP
// #include <cstddef>
// #include <cstring>
// #include <stdexcept>
#include <iostream>
#include <cstring>
#include <vector>
#include <functional>
#include <shared_mutex>
+2 -1
View File
@@ -2,11 +2,12 @@
#define SF_DAQ_BUFFER_JFJ_FRAMEWORKER_HPP
#include <iostream>
#include <cstring>
#include <functional>
#include "../../core-buffer/include/formats.hpp"
#include "PacketUdpReceiver.hpp"
#include "PacketBuffer.hpp"
#include "FrameStats.hpp"
#include "JfjFrameStats.hpp"
/** JungfrauJoch UDP receiver
+1 -1
View File
@@ -36,7 +36,7 @@ inline uint64_t JfjFrameWorker::process_packets(BufferBinaryFormat& buffer){
// Sanity check: rather throw than segfault...
if(c_packet.packetnum >= JF_N_PACKETS_PER_FRAME) [[unlikely]] {
std::stringstream ss;
ss << "Packet index '" << c_packet.packetnum "' is out of range of " << JF_N_PACKETS_PER_FRAME << std::endl;
ss << "Packet index '" << c_packet.packetnum << "' is out of range of " << JF_N_PACKETS_PER_FRAME << std::endl;
throw std::range_error(ss.str());
}