This commit is contained in:
2020-09-23 15:07:03 +02:00
parent 0b02fabaf8
commit 750adffe6a
3 changed files with 10 additions and 13 deletions

View File

@ -61,7 +61,8 @@ class Detector {
/**Frees shared memory, adds detectors to the list. */
void setHostname(const std::vector<std::string> &hostname);
/** connects to n servers at local host starting at specific control port */
/** connects to n servers at local host starting at specific control port.
* Every virtual server will have a stop port (control port + 1) */
void setVirtualDetectorServers(int numServers, int startingPort);
/** Gets shared memory ID */
@ -1157,7 +1158,7 @@ class Detector {
const int energy, const std::string &fname,
Positions pos = {});
/** [Gotthard2] */
/** [Gotthard2] for all chips */
void setVetoReference(const int gainIndex, const int value,
Positions pos = {});

View File

@ -161,7 +161,8 @@ std::string CmdProxy::VirtualServer(int action) {
os << cmd << ' ';
if (action == defs::HELP_ACTION) {
os << "[n_servers] [starting_port_number]\n\tConnecs to n virtual "
"server at local host starting at specific control port."
"server at local host starting at specific control port. Every "
"virtual server will have a stop port (control port + 1)"
<< '\n';
} else if (action == defs::GET_ACTION) {
throw sls::RuntimeError("cannot get");