mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 00:00:02 +02:00
WIP
This commit is contained in:
parent
56703c4886
commit
206740efd6
@ -8,8 +8,7 @@
|
||||
class multiSlsDetector;
|
||||
namespace sls {
|
||||
using ns = std::chrono::nanoseconds;
|
||||
using Positions = const std::vector<int> &;
|
||||
using defs = slsDetectorDefs;
|
||||
class MacAddr;
|
||||
|
||||
/**
|
||||
* \class Detector
|
||||
@ -1289,6 +1288,12 @@ class Detector {
|
||||
|
||||
/** [Eiger][Jungfrau] */
|
||||
void setReceiverUDPPort(int udpport, Positions pos = {});
|
||||
|
||||
/** [Jungfrau] */
|
||||
Result<MacAddr> getReceiverUDPMAC2(Positions pos = {}) const;
|
||||
|
||||
/** [Jungfrau] */
|
||||
void setReceiverUDPMAC2(const std::string &udpmac, Positions pos = {});
|
||||
};
|
||||
|
||||
} // namespace sls
|
@ -1113,4 +1113,11 @@ void Detector::setReceiverUDPPort(int udpport, Positions pos){
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user