mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
moving towards c++ api
This commit is contained in:
@ -92,6 +92,15 @@ class fileIO : public fileIOStatic, public virtual slsDetectorBase {
|
||||
*/
|
||||
virtual int setDetectorIndex(int i) {detIndex=i;return detIndex;};
|
||||
|
||||
/**
|
||||
sets the default file format
|
||||
\param i file format to be set
|
||||
\returns actual file frame format
|
||||
*/
|
||||
virtual fileFormat setFileFormat(int i) {*fileFormatType=(fileFormat)i; return *fileFormatType;};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
\returns the output files path
|
||||
|
||||
@ -127,6 +136,11 @@ class fileIO : public fileIOStatic, public virtual slsDetectorBase {
|
||||
*/
|
||||
virtual int getFramesPerFile() {return *framesPerFile;};
|
||||
|
||||
/**
|
||||
\returns the max frames per file
|
||||
*/
|
||||
virtual fileFormat getFileFormat() {return *fileFormatType;};
|
||||
|
||||
|
||||
string createFileName();
|
||||
|
||||
@ -306,8 +320,8 @@ yes */
|
||||
int detIndex;
|
||||
/** frames per file */
|
||||
int *framesPerFile;
|
||||
|
||||
// int *fileFormat;
|
||||
/** file format */
|
||||
fileFormat *fileFormatType;
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user