mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-10 23:03:53 +01:00
Change interface to use reference
This makes the receiver nicer.
This commit is contained in:
1 parent
d3d98c8c70
commit
f16a81ed52
2 files changed
+6
-6
No files matched your search
@@ -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