mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 01:58:00 +02:00
r_framesperfile configurable to have infinite frames in file with option 0
This commit is contained in:
@ -98,7 +98,7 @@ class UDPBaseImplementation : protected virtual slsReceiverDefs, public UDPInter
|
||||
uint64_t getFileIndex() const;
|
||||
|
||||
/**
|
||||
* Get Frames per File
|
||||
* Get Frames per File (0 means infinite)
|
||||
* @return Frames per File
|
||||
*/
|
||||
uint32_t getFramesPerFile() const;
|
||||
@ -363,7 +363,7 @@ class UDPBaseImplementation : protected virtual slsReceiverDefs, public UDPInter
|
||||
void setFileIndex(const uint64_t i);
|
||||
|
||||
/**
|
||||
* Set Frames per File
|
||||
* Set Frames per File (0 means infinite)
|
||||
* @param i Frames per File
|
||||
*/
|
||||
void setFramesPerFile(const uint32_t i);
|
||||
@ -751,7 +751,7 @@ class UDPBaseImplementation : protected virtual slsReceiverDefs, public UDPInter
|
||||
char filePath[MAX_STR_LENGTH];
|
||||
/** File Index */
|
||||
uint64_t fileIndex;
|
||||
/** Frames per file */
|
||||
/** Frames per file (0 means infinite) */
|
||||
uint32_t framesPerFile;
|
||||
/** Scan Tag */
|
||||
int scanTag;
|
||||
|
@ -186,7 +186,7 @@ class UDPInterface {
|
||||
virtual uint64_t getFileIndex() const = 0;
|
||||
|
||||
/**
|
||||
* Get Frames per File
|
||||
* Get Frames per File (0 means infinite)
|
||||
* @return Frames per File
|
||||
*/
|
||||
virtual uint32_t getFramesPerFile() const = 0;
|
||||
@ -450,7 +450,7 @@ class UDPInterface {
|
||||
virtual void setFileIndex(const uint64_t i) = 0;
|
||||
|
||||
/**
|
||||
* Set Frames per File
|
||||
* Set Frames per File (0 means infinite)
|
||||
* @param i Frames per File
|
||||
*/
|
||||
virtual void setFramesPerFile(const uint32_t i) = 0;
|
||||
|
@ -15,6 +15,8 @@
|
||||
#define DO_NOTHING 0
|
||||
#define DO_EVERYTHING 1
|
||||
|
||||
#define STATISTIC_FRAMENUMBER_INFINITE 20000
|
||||
|
||||
//binary
|
||||
#define FILE_BUFFER_SIZE (16*1024*1024) //16mb
|
||||
|
||||
|
Reference in New Issue
Block a user