This commit is contained in:
maliakal_d 2021-09-17 17:40:28 +02:00
parent fd59c20975
commit 288edca78b
5 changed files with 6 additions and 6 deletions

View File

@ -671,7 +671,7 @@ class Detector {
/** [Jungfrau][Eiger] */
Result<int> getNumberofUDPDestinations(Positions pos = {}) const;
void clearUDPDestination(Positions pos = {});
void clearUDPDestinations(Positions pos = {});
/** [Jungfrau] */
Result<int> getFirstUDPDestination(Positions pos = {}) const;

View File

@ -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(

View File

@ -921,8 +921,8 @@ Result<int> 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<int> Detector::getFirstUDPDestination(Positions pos) const {

View File

@ -970,7 +970,7 @@ int Module::getNumberofUDPDestinations() const {
return sendToDetector<int>(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<int>(F_GET_UDP_FIRST_DEST);

View File

@ -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;