Add buffer retrieval methods

This commit is contained in:
2020-05-27 14:24:21 +02:00
parent 29fc304f02
commit 7d619aa90e
+16 -6
View File
@@ -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_);
}