mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-18 15:57:13 +02:00
master file no index
This commit is contained in:
@ -563,11 +563,16 @@ class CmdProxy {
|
||||
return ToStringHex(value, width);
|
||||
}
|
||||
|
||||
template <typename V> std::string OutString(const V &value) {
|
||||
template <typename V> std::string OutString(const sls::Result<V> &value) {
|
||||
if (value.equal())
|
||||
return ToString(value.front());
|
||||
return ToString(value);
|
||||
}
|
||||
|
||||
template <typename V> std::string OutString(const V &value) {
|
||||
return ToString(value);
|
||||
}
|
||||
|
||||
template <typename V>
|
||||
std::string OutString(const V &value, const std::string &unit) {
|
||||
if (value.equal())
|
||||
|
@ -979,12 +979,12 @@ void Detector::setFileWrite(bool value, Positions pos) {
|
||||
pimpl->Parallel(&Module::setFileWrite, pos, value);
|
||||
}
|
||||
|
||||
void Detector::setMasterFileWrite(bool value, Positions pos) {
|
||||
pimpl->Parallel(&Module::setMasterFileWrite, pos, value);
|
||||
void Detector::setMasterFileWrite(bool value) {
|
||||
pimpl->Parallel(&Module::setMasterFileWrite, {0}, value);
|
||||
}
|
||||
|
||||
Result<bool> Detector::getMasterFileWrite(Positions pos) const {
|
||||
return pimpl->Parallel(&Module::getMasterFileWrite, pos);
|
||||
bool Detector::getMasterFileWrite() const {
|
||||
return pimpl->Parallel(&Module::getMasterFileWrite, {0})[0];
|
||||
}
|
||||
|
||||
Result<bool> Detector::getFileOverWrite(Positions pos) const {
|
||||
|
Reference in New Issue
Block a user