mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-27 15:42:24 +02:00
Make UdpReceiver quicker and more simple
This commit is contained in:
@@ -12,6 +12,14 @@ class UdpRecvModule {
|
||||
std::thread receiving_thread_;
|
||||
std::atomic_bool is_receiving_;
|
||||
|
||||
inline void init_frame(
|
||||
ModuleFrame* frame_metadata,
|
||||
jungfrau_packet& packet_buffer);
|
||||
|
||||
inline void reserve_next_frame_buffers(
|
||||
ModuleFrame*& frame_metadata,
|
||||
char*& frame_buffer);
|
||||
|
||||
protected:
|
||||
void receive_thread(const uint16_t udp_port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user