|
Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
|
Auxiliary class for itemization of process list. More...
#include <JRuncontrolToolkit.hh>
Public Member Functions | |
| JDAQProcess () | |
| Default constructor. | |
| JDAQProcess (const JHostname &hostname, const std::string &key="") | |
| Constructor. | |
| JTag | getUniqueTag () const |
| Get unique tag. | |
| bool | equals (const JTag &tag) const |
| Test whether given tag equals. | |
| bool | equals (int port) const |
| Test whether given port equals. | |
| bool | equals (const JHostname &hostname) const |
| Test whether given host name equals. | |
| void | set (const std::string &buffer) |
| Set hostname and port number. | |
Public Attributes | |
| std::string | index |
| index in process list | |
| std::string | hostname |
| int | port |
Static Public Attributes | |
| static const char | SEPARATOR = ':' |
| Separation character between hostname and port number. | |
Friends | |
| std::istream & | operator>> (std::istream &in, JDAQProcess &object) |
| Read process from input stream. | |
| std::ostream & | operator<< (std::ostream &out, const JDAQProcess &object) |
| Write process to output stream. | |
Auxiliary class for itemization of process list.
Definition at line 341 of file JRuncontrolToolkit.hh.
|
inline |
Default constructor.
Definition at line 348 of file JRuncontrolToolkit.hh.
|
inline |
Constructor.
| hostname | host name |
| key | index |
Definition at line 360 of file JRuncontrolToolkit.hh.
|
inline |
Get unique tag.
Definition at line 372 of file JRuncontrolToolkit.hh.
Test whether given tag equals.
The comparison is based on the unique tag.
| tag | tag |
Definition at line 392 of file JRuncontrolToolkit.hh.
Test whether given port equals.
The comparison is based on the IP number and port number.
| port | port |
Definition at line 405 of file JRuncontrolToolkit.hh.
Test whether given host name equals.
The comparison is based on the IP number and port number.
| hostname | host name |
Definition at line 418 of file JRuncontrolToolkit.hh.
Set hostname and port number.
The argument correponds to the hostname and an optional port number of the server.
The syntax is hostname[:port]. The default port number is DISPATCH_PORT.
If the complete buffer corresponds to an integer value, it is interpreted as the port number.
| buffer | host name and optional port number |
Definition at line 104 of file JHostname.hh.
|
friend |
Read process from input stream.
| in | input stream |
| object | process |
Definition at line 431 of file JRuncontrolToolkit.hh.
|
friend |
Write process to output stream.
| out | output stream |
| object | process |
Definition at line 447 of file JRuncontrolToolkit.hh.
| std::string KM3NETDAQ::JDAQProcess::index |
index in process list
Definition at line 457 of file JRuncontrolToolkit.hh.
Separation character between hostname and port number.
Definition at line 39 of file JHostname.hh.
|
inherited |
Definition at line 171 of file JHostname.hh.
|
inherited |
Definition at line 172 of file JHostname.hh.