mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 21:37:13 +02:00
WIP
This commit is contained in:
@ -520,21 +520,13 @@ class multiSlsDetector : public virtual slsDetectorDefs {
|
||||
*/
|
||||
int getReadNLines(int detPos = -1);//
|
||||
|
||||
/**
|
||||
* Checks if each of the detectors are online/offline
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns empty string if they are all online,
|
||||
* else returns concatenation of strings of all detectors that are offline
|
||||
*/
|
||||
std::string checkOnline(int detPos = -1);
|
||||
|
||||
/**
|
||||
* Set/Gets TCP Port of the detector
|
||||
* @param port_number (-1 gets)
|
||||
* @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 +534,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 +542,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
|
||||
@ -1761,14 +1753,6 @@ class multiSlsDetector : public virtual slsDetectorDefs {
|
||||
*/
|
||||
bool getUseReceiverFlag(int detPos = -1); //
|
||||
|
||||
/**
|
||||
* Checks if the receiver is really online
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns empty string if all online, else concatenates hostnames of all
|
||||
* detectors that are offline
|
||||
*/
|
||||
std::string checkReceiverOnline(int detPos = -1); //not needed
|
||||
|
||||
/**
|
||||
* Locks/Unlocks the connection to the receiver
|
||||
* @param lock sets (1), usets (0), gets (-1) the lock
|
||||
|
Reference in New Issue
Block a user