diff --git a/slsDetectorSoftware/include/sls/Detector.h b/slsDetectorSoftware/include/sls/Detector.h index f148cf4a1..a92a7087b 100644 --- a/slsDetectorSoftware/include/sls/Detector.h +++ b/slsDetectorSoftware/include/sls/Detector.h @@ -671,7 +671,7 @@ class Detector { /** [Jungfrau][Eiger] */ Result getNumberofUDPDestinations(Positions pos = {}) const; - void clearUDPDestination(Positions pos = {}); + void clearUDPDestinations(Positions pos = {}); /** [Jungfrau] */ Result getFirstUDPDestination(Positions pos = {}) const; diff --git a/slsDetectorSoftware/src/CmdProxy.h b/slsDetectorSoftware/src/CmdProxy.h index 038f3ff9e..081197f49 100644 --- a/slsDetectorSoftware/src/CmdProxy.h +++ b/slsDetectorSoftware/src/CmdProxy.h @@ -1543,7 +1543,7 @@ class CmdProxy { "destinations that the detector will stream images " "out in a round robin fashion. This is get only command. Default: 1"); - EXECUTE_SET_COMMAND(udp_cleardst, clearUDPDestination, + EXECUTE_SET_COMMAND(udp_cleardst, clearUDPDestinations, "\n\tClears udp destination details on the detector."); INTEGER_COMMAND_VEC_ID( diff --git a/slsDetectorSoftware/src/Detector.cpp b/slsDetectorSoftware/src/Detector.cpp index 28130a238..65cf32fae 100644 --- a/slsDetectorSoftware/src/Detector.cpp +++ b/slsDetectorSoftware/src/Detector.cpp @@ -921,8 +921,8 @@ Result Detector::getNumberofUDPDestinations(Positions pos) const { return pimpl->Parallel(&Module::getNumberofUDPDestinations, pos); } -void Detector::clearUDPDestination(Positions pos) { - pimpl->Parallel(&Module::clearUDPDestination, pos); +void Detector::clearUDPDestinations(Positions pos) { + pimpl->Parallel(&Module::clearUDPDestinations, pos); } Result Detector::getFirstUDPDestination(Positions pos) const { diff --git a/slsDetectorSoftware/src/Module.cpp b/slsDetectorSoftware/src/Module.cpp index 02e484fc9..4f4038803 100644 --- a/slsDetectorSoftware/src/Module.cpp +++ b/slsDetectorSoftware/src/Module.cpp @@ -970,7 +970,7 @@ int Module::getNumberofUDPDestinations() const { return sendToDetector(F_GET_NUM_DEST_UDP); } -void Module::clearUDPDestination() { sendToDetector(F_CLEAR_ALL_UDP_DEST); } +void Module::clearUDPDestinations() { sendToDetector(F_CLEAR_ALL_UDP_DEST); } int Module::getFirstUDPDestination() const { return sendToDetector(F_GET_UDP_FIRST_DEST); diff --git a/slsDetectorSoftware/src/Module.h b/slsDetectorSoftware/src/Module.h index 21462cf3c..f33e981eb 100644 --- a/slsDetectorSoftware/src/Module.h +++ b/slsDetectorSoftware/src/Module.h @@ -224,7 +224,7 @@ class Module : public virtual slsDetectorDefs { sls::UdpDestination getDestinationUDPList(const uint32_t entry) const; void setDestinationUDPList(const sls::UdpDestination dest); int getNumberofUDPDestinations() const; - void clearUDPDestination(); + void clearUDPDestinations(); int getFirstUDPDestination() const; void setFirstUDPDestination(const int value); sls::IpAddr getDestinationUDPIP() const;