mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-24 02:27:59 +02:00
WIp, doc
This commit is contained in:
@ -551,24 +551,28 @@ class Detector {
|
||||
/** IP of the interface in receiver that the detector sends data to */
|
||||
void setDestinationUDPIP(const IpAddr ip, Positions pos = {});
|
||||
|
||||
/** [Jungfrau bottom half] */
|
||||
/** [Jungfrau] bottom half \n [Gotthard2] veto debugging */
|
||||
Result<IpAddr> getDestinationUDPIP2(Positions pos = {}) const;
|
||||
|
||||
/** [Jungfrau bottom half] */
|
||||
/** [Jungfrau] bottom half \n [Gotthard2] veto debugging */
|
||||
void setDestinationUDPIP2(const IpAddr ip, Positions pos = {});
|
||||
|
||||
Result<MacAddr> getDestinationUDPMAC(Positions pos = {}) const;
|
||||
|
||||
/** MAC of the interface in receiver that the detector sends data to
|
||||
* Only needed if you use a custom receiver (not slsReceiver)
|
||||
* Must be followed by configuremac.
|
||||
/** Mac address of the receiver (destination) udp interface. Not mandatory
|
||||
* to set as setDestinationUDPIP (udp_dstip) retrieves it from slsReceiver
|
||||
* process but must be set if you use a custom receiver (not slsReceiver).
|
||||
*/
|
||||
void setDestinationUDPMAC(const MacAddr mac, Positions pos = {});
|
||||
|
||||
/** [Jungfrau bottom half] */
|
||||
/** [Jungfrau] bottom half \n [Gotthard2] veto debugging */
|
||||
Result<MacAddr> getDestinationUDPMAC2(Positions pos = {}) const;
|
||||
|
||||
/** [Jungfrau bottom half] */
|
||||
/* [Jungfrau][Gotthard2] Mac address of the receiver (destination) udp
|
||||
interface 2. \n Not mandatory to set as udp_dstip2 retrieves it from
|
||||
slsReceiver process but must be set if you use a custom receiver (not
|
||||
slsReceiver). \n [Jungfrau] bottom half \n [Gotthard2] veto debugging \n
|
||||
*/
|
||||
void setDestinationUDPMAC2(const MacAddr mac, Positions pos = {});
|
||||
|
||||
Result<int> getDestinationUDPPort(Positions pos = {}) const;
|
||||
|
@ -1112,10 +1112,10 @@ std::string CmdProxy::UDPDestinationIP2(int action) {
|
||||
std::ostringstream os;
|
||||
os << cmd << ' ';
|
||||
if (action == defs::HELP_ACTION) {
|
||||
os << "[x.x.x.x] or auto\n\t[Jungfrau] Ip address of the receiver "
|
||||
"(destination) udp interface where the second half of detector "
|
||||
"data is sent to. If 'auto' used, then ip is set to ip of "
|
||||
"rx_hostname."
|
||||
os << "[x.x.x.x] or auto\n\t[Jungfrau][Gotthard2] Ip address of the "
|
||||
"receiver (destination) udp interface 2. If 'auto' used, then ip "
|
||||
"is set to ip of rx_hostname.\n\t[Jungfrau] bottom half "
|
||||
"\n\t[Gotthard2] veto debugging. "
|
||||
<< '\n';
|
||||
} else if (action == defs::GET_ACTION) {
|
||||
auto t = det->getDestinationUDPIP2({det_id});
|
||||
|
@ -1687,13 +1687,17 @@ class CmdProxy {
|
||||
INTEGER_COMMAND(
|
||||
udp_dstmac, getDestinationUDPMAC, setDestinationUDPMAC, MacAddr,
|
||||
"[x:x:x:x:x:x]\n\tMac address of the receiver (destination) udp "
|
||||
"interface. Can be unused as udp_dstip retrieves it.");
|
||||
"interface. Not mandatory to set as udp_dstip retrieves it from "
|
||||
"slsReceiver process, but must be set if you use a custom receiver "
|
||||
"(not slsReceiver).");
|
||||
|
||||
INTEGER_COMMAND(
|
||||
udp_dstmac2, getDestinationUDPMAC2, setDestinationUDPMAC2, MacAddr,
|
||||
"[x:x:x:x:x:x]\n\t[Jungfrau] Mac address of the receiver (destination) "
|
||||
"udp interface where the second half of detector data is sent to. Can "
|
||||
"be unused as udp_dstip2 retrieves it.");
|
||||
"udp interface 2. Not mandatory to set as udp_dstip2 retrieves it from "
|
||||
"slsReceiver process but must be set if you use a custom receiver (not "
|
||||
"slsReceiver). \n [Jungfrau] bottom half \n [Gotthard2] veto debugging "
|
||||
"\n");
|
||||
|
||||
INTEGER_COMMAND(udp_dstport, getDestinationUDPPort, setDestinationUDPPort,
|
||||
StringTo<int>,
|
||||
|
Reference in New Issue
Block a user