mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 13:57:13 +02:00
WIP
This commit is contained in:
@ -45,18 +45,10 @@ class BinaryFile : private virtual slsDetectorDefs, public File {
|
|||||||
masterAttributes& masterFileAttributes) override;
|
masterAttributes& masterFileAttributes) override;
|
||||||
void CloseCurrentFile() override;
|
void CloseCurrentFile() override;
|
||||||
void CloseAllFiles() override;
|
void CloseAllFiles() override;
|
||||||
/**
|
void WriteToFile(char* buffer, int buffersize, uint64_t currentFrameNumber,
|
||||||
* Write data to file
|
|
||||||
* @param buffer buffer to write from
|
|
||||||
* @param buffersize size of buffer
|
|
||||||
* @param currentFrameNumber current image number
|
|
||||||
* @param numPacketsCaught number of packets caught
|
|
||||||
*/
|
|
||||||
void WriteToFile(char* buffer, int buffersize, uint64_t currentFrameNumber,
|
|
||||||
uint32_t numPacketsCaught) override;
|
uint32_t numPacketsCaught) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
int WriteData(char* buf, int bsize);
|
int WriteData(char* buf, int bsize);
|
||||||
|
|
||||||
FILE* filefd;
|
FILE* filefd;
|
||||||
|
Reference in New Issue
Block a user