mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-10-28 18:41:27 +01:00
More headers
This commit is contained in:
1 parent
2ead4bc2db
commit
b7820c71de
1 file changed
+8
@@ -39,6 +39,14 @@ struct BufferBinaryFormat {
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
class ImageBinaryFormat {
|
||||
public:
|
||||
ImageMetadata meta;
|
||||
std::vector<char> data;
|
||||
ImageBinaryFormat(size_t H, size_t W, size_t D): data(H*W*D, 0) { meta.height = H; meta.width = W; };
|
||||
~ImageBinaryFormat(){ std::cout << "ImageBinaryFormat destructor called!" << std::endl; }
|
||||
};
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
struct BufferBinaryBlock
|
||||
|
||||
Reference in new issue
Block a user