mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-10-28 23:51:28 +01:00
ZMQ placeholder
This commit is contained in:
1 parent
35cebb59e4
commit
9bc39432fb
3 files changed
+125
-1
No files matched your search
@@ -45,7 +45,7 @@ struct ImageBinaryFormat {
|
||||
ImageMetadata meta;
|
||||
char* data = nullptr;
|
||||
const size_t size;
|
||||
ImageBinaryFormat(size_t H, size_t W, size_t D): size(H*W*D) { data = (char*) calloc(8*H*W*D, sizeof(int)); };
|
||||
ImageBinaryFormat(size_t H, size_t W, size_t D): size(H*W*D) { data = (char*) calloc(H*W*D, sizeof(int)); };
|
||||
~ImageBinaryFormat(){ free(data); std::cout << "ImageBinaryFormat destructor called!" << std::endl; }
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user