mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-17 16:50:01 +01:00
New ReplayBuffer struct for data transfer
This commit is contained in:
1 parent
8eb767285c
commit
78b2524f20
2 files changed
+11
No files matched your search
@@ -13,4 +13,14 @@ struct ImageMetadataBuffer
|
||||
uint16_t n_images;
|
||||
};
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
struct ReplayBuffer
|
||||
{
|
||||
ModuleFrame metadata[core_buffer::REPLAY_READ_BUFFER_SIZE];
|
||||
uint64_t start_pulse_id;
|
||||
uint16_t n_frames;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
#endif //SF_DAQ_BUFFER_FORMATS_HPP
|
||||
@@ -104,5 +104,6 @@ void FastQueue<T>::release()
|
||||
}
|
||||
|
||||
template class FastQueue<ImageMetadataBuffer>;
|
||||
template class FastQueue<ReplayBuffer>;
|
||||
template class FastQueue<ModuleFrame>;
|
||||
template class FastQueue<ModuleFrameBuffer>;
|
||||
Reference in new issue
Block a user