mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-22 15:24:37 +02:00
Add buffer retrieval methods
This commit is contained in:
@@ -16,6 +16,11 @@ ImageAssembler::~ImageAssembler()
|
||||
delete[] metadata_buffer_;
|
||||
}
|
||||
|
||||
int ImageAssembler::get_free_slot()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ImageAssembler::process(
|
||||
const int slot_id,
|
||||
const int i_module,
|
||||
@@ -24,17 +29,22 @@ void ImageAssembler::process(
|
||||
|
||||
}
|
||||
|
||||
int ImageAssembler::get_full_slot()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void ImageAssembler::free_slot(const int slot_id)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
char* ImageAssembler::get_data_buffer(const int slot_id)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
ImageMetadataBlock* ImageAssembler::get_metadata_buffer(const int slot_id)
|
||||
{
|
||||
return &(metadata_buffer_[slot_id]);
|
||||
}
|
||||
|
||||
}
|
||||
char* ImageAssembler::get_data_buffer(const int slot_id)
|
||||
{
|
||||
return image_buffer_ + (slot_id * MODULE_N_BYTES * n_modules_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user