mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-23 00:32:42 +02:00
Remove DetectorFrame from RB implementation
This commit is contained in:
@@ -40,18 +40,6 @@ struct UdpFrameMetadata
|
||||
uint16_t n_recv_packets;
|
||||
};
|
||||
|
||||
struct DetectorFrame
|
||||
{
|
||||
// Ring buffer needed data.
|
||||
size_t buffer_slot_index;
|
||||
size_t frame_bytes_size = 2*32*512*1024;
|
||||
|
||||
uint64_t pulse_id;
|
||||
uint64_t frame_index;
|
||||
uint32_t daq_rec;
|
||||
uint16_t n_received_packets;
|
||||
};
|
||||
|
||||
template <class T>
|
||||
class RingBuffer
|
||||
{
|
||||
|
||||
@@ -300,5 +300,4 @@ size_t RingBuffer<T>::get_slot_size()
|
||||
}
|
||||
|
||||
template class RingBuffer<FrameMetadata>;
|
||||
template class RingBuffer<UdpFrameMetadata>;
|
||||
template class RingBuffer<DetectorFrame>;
|
||||
template class RingBuffer<UdpFrameMetadata>;
|
||||
Reference in New Issue
Block a user