mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
rx: moved creating fpath (if it doesnt exist) from setting file path to at the start of acquisition when creating file. This is done here so that it does not fail if fwrite is disabled anyway. Also fixed it in documentation. Changed in documentation that the default for fwrite is disabled (#957)
This commit is contained in:
@ -1004,7 +1004,8 @@ class Detector {
|
||||
|
||||
Result<std::string> getFilePath(Positions pos = {}) const;
|
||||
|
||||
/** Default is "/"If path does not exist, it will try to create it */
|
||||
/** Default is "/". If path does not exist and fwrite enabled, it will try
|
||||
* to create it at start of acquisition. */
|
||||
void setFilePath(const std::string &fpath, Positions pos = {});
|
||||
|
||||
Result<std::string> getFileNamePrefix(Positions pos = {}) const;
|
||||
@ -1025,7 +1026,7 @@ class Detector {
|
||||
|
||||
Result<bool> getFileWrite(Positions pos = {}) const;
|
||||
|
||||
/** default enabled */
|
||||
/** default disabled */
|
||||
void setFileWrite(bool value, Positions pos = {});
|
||||
|
||||
bool getMasterFileWrite() const;
|
||||
|
Reference in New Issue
Block a user