mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
WIP
This commit is contained in:
@ -295,46 +295,46 @@ class Detector {
|
||||
void setReadNLines(const int value, Positions pos = {});
|
||||
|
||||
/**
|
||||
* Get Receiver TCP port (for client communication with Receiver)
|
||||
* Get Detector Control TCP port (for client communication with Detector control server)
|
||||
* @param pos detector position
|
||||
* @returns receiver port
|
||||
* @returns control TCP port
|
||||
*/
|
||||
//int getControlort(Positions pos = {}) const;
|
||||
Result<int> getControlPort(Positions pos = {}) const;
|
||||
|
||||
/**
|
||||
* Set TCP Port of the detector (for client communication with Receiver)
|
||||
* Set Detector Control TCP port (for client communication with Detector control server)
|
||||
* @param value port number
|
||||
* @param pos detector position
|
||||
*/
|
||||
//void setControlPort(int port_number, Positions pos = {});
|
||||
void setControlPort(int value, Positions pos = {});
|
||||
|
||||
/**
|
||||
* Get Detector Stop TCP port (for client communication with Detector Stop server)
|
||||
* @param pos detector position
|
||||
* @returns Stop TCP port
|
||||
*/
|
||||
Result<int> getStopPort(Positions pos = {}) const;
|
||||
|
||||
/**
|
||||
* Set Detector Stop TCP port (for client communication with Detector Stop server)
|
||||
* @param value port number
|
||||
* @param pos detector position
|
||||
*/
|
||||
void setStopPort(int value, Positions pos = {});
|
||||
|
||||
/**
|
||||
* Get Receiver TCP port (for client communication with Receiver)
|
||||
* @param pos detector position
|
||||
* @returns receiver port
|
||||
* @returns Receiver TCP port
|
||||
*/
|
||||
//int getStopPort(Positions pos = {}) const;
|
||||
Result<int> getReceiverPort(Positions pos = {}) const;
|
||||
|
||||
/**
|
||||
* Set TCP Port of the detector (for client communication with Receiver)
|
||||
* Set Receiver TCP port (for client communication with Receiver)
|
||||
* @param value port number
|
||||
* @param pos detector position
|
||||
*/
|
||||
//void setStopPort(int port_number, Positions pos = {});
|
||||
|
||||
/**
|
||||
* Get Receiver TCP port (for client communication with Receiver)
|
||||
* @param pos detector position
|
||||
* @returns receiver port
|
||||
*/
|
||||
//int getReceiverPort(Positions pos = {}) const;
|
||||
|
||||
/**
|
||||
* Set TCP Port of the detector (for client communication with Receiver)
|
||||
* @param value port number
|
||||
* @param pos detector position
|
||||
*/
|
||||
//void setReceiverPort(int port_number, Positions pos = {});
|
||||
void setReceiverPort(int value, Positions pos = {});
|
||||
|
||||
|
||||
|
||||
|
@ -534,7 +534,7 @@ class multiSlsDetector : public virtual slsDetectorDefs {
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns port number
|
||||
*/
|
||||
int setControlPort(int port_number = -1, int detPos = -1);
|
||||
int setControlPort(int port_number = -1, int detPos = -1);//
|
||||
|
||||
/**
|
||||
* Set/Gets TCP STOP Port of the detector
|
||||
@ -542,7 +542,7 @@ class multiSlsDetector : public virtual slsDetectorDefs {
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns port number
|
||||
*/
|
||||
int setStopPort(int port_number = -1, int detPos = -1);
|
||||
int setStopPort(int port_number = -1, int detPos = -1);//
|
||||
|
||||
/**
|
||||
* Set/Gets TCP Port of the receiver
|
||||
@ -550,14 +550,14 @@ class multiSlsDetector : public virtual slsDetectorDefs {
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns port number
|
||||
*/
|
||||
int setReceiverPort(int port_number = -1, int detPos = -1);
|
||||
int setReceiverPort(int port_number = -1, int detPos = -1);//
|
||||
|
||||
/**
|
||||
* Get Receiver port
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns vector of receiver port
|
||||
*/
|
||||
int getReceiverPort(int detPos = -1) const;
|
||||
int getReceiverPort(int detPos = -1) const;//
|
||||
|
||||
/**
|
||||
* Lock server for this client IP
|
||||
|
@ -447,7 +447,7 @@ class slsDetector : public virtual slsDetectorDefs {
|
||||
* Set Detector offset in shared memory
|
||||
* @param value offset for detector
|
||||
*/
|
||||
void setDetectorOffset(slsDetectorDefs::coordinates value);
|
||||
void setDetectorOffsets(slsDetectorDefs::coordinates value);
|
||||
|
||||
/**
|
||||
* Set Detector offset in shared memory in dimension d
|
||||
|
Reference in New Issue
Block a user