mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-19 18:40:01 +02:00
missed the rx_zmqip implementations in detector.h and python bindings (#975)
This commit is contained in:
parent
ab7425a9d3
commit
33b8e0817e
@ -1039,15 +1039,6 @@ void init_det(py::module &m) {
|
||||
(void (Detector::*)(uint16_t, int)) &
|
||||
Detector::setRxZmqPort,
|
||||
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",
|
||||
(Result<uint16_t>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getClientZmqPort,
|
||||
|
@ -1104,14 +1104,6 @@ class Detector {
|
||||
*/
|
||||
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;
|
||||
|
||||
/** Port number to listen to zmq data streamed out from receiver or
|
||||
|
Loading…
x
Reference in New Issue
Block a user