mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 00:00:02 +02:00
example
This commit is contained in:
parent
21ca289ebf
commit
287cd118b0
@ -273,19 +273,10 @@ bool multiSlsDetector::isAcquireReady() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int multiSlsDetector::checkVersionCompatibility(portType t, int detPos) {
|
int multiSlsDetector::checkVersionCompatibility(portType t, int detPos) {
|
||||||
|
|
||||||
// single
|
// single
|
||||||
if (detPos >= 0) {
|
if (detPos >= 0) {
|
||||||
|
return = detectors[detPos]->checkVersionCompatibility(t);
|
||||||
if(isDetectorIndexOutOfBounds(detPos))
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
int ret = detectors[detPos]->checkVersionCompatibility(t);
|
|
||||||
if (detectors[detPos]->getErrorMask())
|
|
||||||
setErrorMask(getErrorMask() | (1 << detPos));
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// multi
|
// multi
|
||||||
return parallelCallDetectorMember(&slsDetector::checkVersionCompatibility, t);
|
return parallelCallDetectorMember(&slsDetector::checkVersionCompatibility, t);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user