mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-06 01:08:40 +02:00
Change interface to use reference
This makes the receiver nicer.
This commit is contained in:
@@ -25,7 +25,7 @@ public:
|
||||
const int n_slots=buffer_config::RAM_BUFFER_N_SLOTS);
|
||||
~RamBuffer();
|
||||
|
||||
void write_frame(const ModuleFrame *src_meta, const char *src_data) const;
|
||||
void write_frame(const ModuleFrame &src_meta, const char *src_data) const;
|
||||
void read_frame(const uint64_t pulse_id,
|
||||
const uint64_t module_id,
|
||||
ModuleFrame *&meta,
|
||||
|
||||
Reference in New Issue
Block a user