wip rewrite

This commit is contained in:
2021-06-29 20:45:52 +02:00
parent ee1a1563ba
commit d7dc1912ac
12 changed files with 481 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include "File.h"
#include "MasterAttributes.h"
class BinaryMasterFile : private virtual slsDetectorDefs, public File {
public:
BinaryMasterFile(int index);
~BinaryMasterFile();
void CloseFile() override;
void CreateMasterFile(MasterAttributes *attr, std::string filePath,
std::string fileNamePrefix, uint64_t fileIndex,
bool overWriteEnable, bool silentMode) override;
private:
FILE *fd_{nullptr};
std::string fileName_;
};