mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-10-26 20:21:28 +01:00
New class BufferUdpReceiver
This commit is contained in:
1 parent
72d31d027e
commit
67e59c8360
2 files changed
+102
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#ifndef SF_DAQ_BUFFER_BUFFERUDPRECEIVER_HPP
|
||||
#define SF_DAQ_BUFFER_BUFFERUDPRECEIVER_HPP
|
||||
|
||||
|
||||
#include "UdpReceiver.hpp"
|
||||
#include "jungfrau.hpp"
|
||||
|
||||
class BufferUdpReceiver {
|
||||
const int source_id_;
|
||||
UdpReceiver udp_receiver_;
|
||||
|
||||
public:
|
||||
BufferUdpReceiver(const int source_id);
|
||||
void bind(const uint16_t port);
|
||||
void get_frame_from_udp(ModuleFrame& metadata, char* frame_buffer);
|
||||
};
|
||||
|
||||
|
||||
#endif //SF_DAQ_BUFFER_BUFFERUDPRECEIVER_HPP
|
||||
Reference in new issue
Block a user