missed the rx_zmqip implementations in detector.h and python bindings (#975)

This commit is contained in:
maliakal_d 2024-09-18 13:41:58 +02:00 committed by GitHub
parent ab7425a9d3
commit 33b8e0817e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 17 deletions

View File

@ -1039,15 +1039,6 @@ void init_det(py::module &m) {
(void (Detector::*)(uint16_t, int)) & (void (Detector::*)(uint16_t, int)) &
Detector::setRxZmqPort, Detector::setRxZmqPort,
py::arg(), py::arg() = -1); py::arg(), py::arg() = -1);
CppDetectorApi.def(
"getRxZmqIP",
(Result<sls::IpAddr>(Detector::*)(sls::Positions) const) &
Detector::getRxZmqIP,
py::arg() = Positions{});
CppDetectorApi.def("setRxZmqIP",
(void (Detector::*)(const sls::IpAddr, sls::Positions)) &
Detector::setRxZmqIP,
py::arg(), py::arg() = Positions{});
CppDetectorApi.def("getClientZmqPort", CppDetectorApi.def("getClientZmqPort",
(Result<uint16_t>(Detector::*)(sls::Positions) const) & (Result<uint16_t>(Detector::*)(sls::Positions) const) &
Detector::getClientZmqPort, Detector::getClientZmqPort,

View File

@ -1104,14 +1104,6 @@ class Detector {
*/ */
void setRxZmqPort(uint16_t port, int module_id = -1); void setRxZmqPort(uint16_t port, int module_id = -1);
Result<IpAddr> getRxZmqIP(Positions pos = {}) const;
/** Zmq Ip Address from which data is to be streamed out of the receiver. \n
* Also restarts receiver zmq streaming if enabled. \n Default is from
* rx_hostname. \n Modified only when using an intermediate process between
* receiver. */
void setRxZmqIP(const IpAddr ip, Positions pos = {});
Result<uint16_t> getClientZmqPort(Positions pos = {}) const; Result<uint16_t> getClientZmqPort(Positions pos = {}) const;
/** Port number to listen to zmq data streamed out from receiver or /** Port number to listen to zmq data streamed out from receiver or