mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-22 22:54:35 +02:00
New class BufferUdpReceiver
This commit is contained in:
@@ -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