mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 08:38:00 +02:00
const string&
This commit is contained in:
@ -468,7 +468,7 @@ public:
|
||||
* @param fname configuration file name
|
||||
* @return OK or FAIL
|
||||
*/
|
||||
int readConfigurationFile(std::string const fname);
|
||||
int readConfigurationFile(const std::string& fname);
|
||||
|
||||
/**
|
||||
* Write current configuration to a file
|
||||
@ -929,7 +929,7 @@ public:
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns OK or FAIL
|
||||
*/
|
||||
int loadImageToDetector(imageType index,std::string const fname, int detPos = -1);
|
||||
int loadImageToDetector(imageType index, const std::string& fname, int detPos = -1);
|
||||
|
||||
/**
|
||||
* Writes the counter memory block from the detector (Gotthard)
|
||||
@ -938,7 +938,7 @@ public:
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns OK or FAIL
|
||||
*/
|
||||
int writeCounterBlockFile(std::string const fname,int startACQ=0, int detPos = -1);
|
||||
int writeCounterBlockFile(const std::string& fname,int startACQ=0, int detPos = -1);
|
||||
|
||||
/**
|
||||
* Resets counter in detector (Gotthard)
|
||||
@ -1516,7 +1516,7 @@ public:
|
||||
* from files with default extensions as generated by dumpDetectorSetup
|
||||
* @returns OK or FAIL
|
||||
*/
|
||||
int retrieveDetectorSetup(std::string const fname, int level=0);
|
||||
int retrieveDetectorSetup(const std::string& fname, int level=0);
|
||||
|
||||
/**
|
||||
* Saves the detector setup to file
|
||||
@ -1525,7 +1525,7 @@ public:
|
||||
* and writes them to files with automatically added extension
|
||||
* @returns OK or FAIL
|
||||
*/
|
||||
int dumpDetectorSetup(std::string const fname, int level=0);
|
||||
int dumpDetectorSetup(const std::string& fname, int level=0);
|
||||
|
||||
/**
|
||||
* register callback for accessing acquisition final data
|
||||
|
Reference in New Issue
Block a user