moving towards c++ api

This commit is contained in:
Dhanya Maliakal
2016-12-12 14:24:11 +01:00
parent a67f9d50de
commit e7621a6cd0
9 changed files with 180 additions and 10 deletions

View File

@ -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: