mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-15 06:17:12 +02:00
WIP
This commit is contained in:
@ -8,8 +8,7 @@
|
|||||||
class multiSlsDetector;
|
class multiSlsDetector;
|
||||||
namespace sls {
|
namespace sls {
|
||||||
using ns = std::chrono::nanoseconds;
|
using ns = std::chrono::nanoseconds;
|
||||||
using Positions = const std::vector<int> &;
|
class MacAddr;
|
||||||
using defs = slsDetectorDefs;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \class Detector
|
* \class Detector
|
||||||
@ -1289,6 +1288,12 @@ class Detector {
|
|||||||
|
|
||||||
/** [Eiger][Jungfrau] */
|
/** [Eiger][Jungfrau] */
|
||||||
void setReceiverUDPPort(int udpport, Positions pos = {});
|
void setReceiverUDPPort(int udpport, Positions pos = {});
|
||||||
|
|
||||||
|
/** [Jungfrau] */
|
||||||
|
Result<MacAddr> getReceiverUDPMAC2(Positions pos = {}) const;
|
||||||
|
|
||||||
|
/** [Jungfrau] */
|
||||||
|
void setReceiverUDPMAC2(const std::string &udpmac, Positions pos = {});
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace sls
|
} // namespace sls
|
@ -1113,4 +1113,11 @@ void Detector::setReceiverUDPPort(int udpport, Positions pos){
|
|||||||
pimpl->Parallel(&slsDetector::setReceiverUDPPort2, pos, udpport);
|
pimpl->Parallel(&slsDetector::setReceiverUDPPort2, pos, udpport);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result<MacAddr> Detector::getReceiverUDPMAC2(Positions pos) const{
|
||||||
|
return pimpl->Parallel(&slsDetector::getReceiverUDPMAC2, pos);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Detector::setReceiverUDPMAC2(const std::string &udpmac, Positions pos){
|
||||||
|
pimpl->Parallel(&slsDetector::setReceiverUDPMAC2, pos, udpmac);
|
||||||
|
}
|
||||||
} // namespace sls
|
} // namespace sls
|
Reference in New Issue
Block a user