mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
commented out concatResultOrPos which seems not to be used
This commit is contained in:
parent
938dd5e06c
commit
6147383677
@ -107,17 +107,17 @@ std::vector<RT> multiSlsDetector::parallelCall(RT (slsDetector::*somefunc)(CT...
|
||||
}
|
||||
|
||||
|
||||
std::string multiSlsDetector::concatResultOrPos(std::string (slsDetector::*somefunc)(int), int pos) {
|
||||
if (pos >= 0 && pos < (int)detectors.size()) {
|
||||
return (detectors[pos].get()->*somefunc)(pos);
|
||||
} else {
|
||||
std::string s;
|
||||
for (auto& d : detectors) {
|
||||
s += (d.get()->*somefunc)(pos) + "+";
|
||||
}
|
||||
return s;
|
||||
}
|
||||
}
|
||||
// std::string multiSlsDetector::concatResultOrPos(std::string (slsDetector::*somefunc)(int), int pos) {
|
||||
// if (pos >= 0 && pos < (int)detectors.size()) {
|
||||
// return (detectors[pos].get()->*somefunc)(pos);
|
||||
// } else {
|
||||
// std::string s;
|
||||
// for (auto& d : detectors) {
|
||||
// s += (d.get()->*somefunc)(pos) + "+";
|
||||
// }
|
||||
// return s;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
int multiSlsDetector::decodeNChannel(int offsetX, int offsetY, int& channelX, int& channelY) {
|
||||
|
@ -163,7 +163,7 @@ public:
|
||||
* @param pos positin of detector in array (-1 is for all)
|
||||
* @returns result for detector at that position or concatenated string of all detectors
|
||||
*/
|
||||
std::string concatResultOrPos(std::string (slsDetector::*somefunc)(int), int pos);
|
||||
// std::string concatResultOrPos(std::string (slsDetector::*somefunc)(int), int pos);
|
||||
|
||||
/**
|
||||
* Decodes which detector and the corresponding channel numbers for it
|
||||
|
Loading…
x
Reference in New Issue
Block a user