From ba383f11f6d574c98505c66294e53b1378402cfa Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 27 May 2020 13:07:16 +0200 Subject: [PATCH] Improve ImageAssembler interface --- sf-writer/src/ImageAssembler.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sf-writer/src/ImageAssembler.hpp b/sf-writer/src/ImageAssembler.hpp index 5abb76a..60f0088 100644 --- a/sf-writer/src/ImageAssembler.hpp +++ b/sf-writer/src/ImageAssembler.hpp @@ -3,6 +3,16 @@ class ImageAssembler { +public: + void process(const int slot_id, + const int i_module, + const BufferBinaryBlock* block_buffer); + int get_free_slot(); + int get_full_slot(); + void free_slot(int slot_id); + + const ImageMetadataBlock* get_metadata_buffer(int slot_id); + const char* get_data_buffer(int slot_id); };