Auxiliary class for itemization of process list.  
 More...
#include <JRuncontrolToolkit.hh>
 | 
| static const char  | SEPARATOR = ':' | 
|   | Separation character between hostname and port number.  More...
  | 
|   | 
Auxiliary class for itemization of process list. 
Definition at line 341 of file JRuncontrolToolkit.hh.
 
  
  
      
        
          | KM3NETDAQ::JDAQProcess::JDAQProcess  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 348 of file JRuncontrolToolkit.hh.
std::string index
index in process list 
 
JHostname()
Default constructor. 
 
 
 
 
  
  
      
        
          | KM3NETDAQ::JDAQProcess::JDAQProcess  | 
          ( | 
          const JHostname &  | 
          hostname,  | 
         
        
           | 
           | 
          const std::string &  | 
          key = ""  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | hostname | host name  | 
    | key | index  | 
  
   
Definition at line 360 of file JRuncontrolToolkit.hh.
std::string index
index in process list 
 
JHostname()
Default constructor. 
 
 
 
 
  
  
      
        
          | JTag KM3NETDAQ::JDAQProcess::getUniqueTag  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get unique tag. 
- Returns
 - tag 
 
Definition at line 372 of file JRuncontrolToolkit.hh.
  375       using namespace JSYSTEM;
 
  381       return JTag(os.str());
 
int getIPnumber(const std::string &host_name)
Get IP number. 
 
unsigned short getSubaddress(const int ip)
Get host identifier within network. 
 
std::string index
index in process list 
 
 
 
 
  
  
      
        
          | bool KM3NETDAQ::JDAQProcess::equals  | 
          ( | 
          const JTag &  | 
          tag | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Test whether given tag equals. 
The comparison is based on the unique tag.
- Parameters
 - 
  
  
 
- Returns
 - true if match; else false 
 
Definition at line 392 of file JRuncontrolToolkit.hh.
JTag getUniqueTag() const 
Get unique tag. 
 
 
 
 
  
  
      
        
          | bool KM3NETDAQ::JDAQProcess::equals  | 
          ( | 
          int  | 
          port | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Test whether given port equals. 
The comparison is based on the IP number and port number.
- Parameters
 - 
  
  
 
- Returns
 - true if match; else false 
 
Definition at line 405 of file JRuncontrolToolkit.hh.
int getIPnumber(const std::string &host_name)
Get IP number. 
 
 
 
 
  
  
      
        
          | bool KM3NETDAQ::JDAQProcess::equals  | 
          ( | 
          const JHostname &  | 
          hostname | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Test whether given host name equals. 
The comparison is based on the IP number and port number.
- Parameters
 - 
  
  
 
- Returns
 - true if match; else false 
 
Definition at line 418 of file JRuncontrolToolkit.hh.
int getIPnumber(const std::string &host_name)
Get IP number. 
 
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
 
 
 
 
  
  
      
        
          | void JNET::JHostname::set  | 
          ( | 
          const std::string &  | 
          buffer | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
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.
- Parameters
 - 
  
    | buffer | host name and optional port number  | 
  
   
Definition at line 104 of file JHostname.hh.
  108       const string::size_type pos = buffer.find(
SEPARATOR);
 
  110       if (pos != string::npos) {
 
  112         this->
hostname = buffer.substr(0, pos);
 
  114         istringstream(buffer.substr(pos + 1)) >> this->
port;
 
  118         bool is_number = 
true;
 
  120         for (string::const_iterator 
i = buffer.begin(); is_number && 
i != buffer.end(); ++
i) {
 
  121           is_number &= isdigit(*
i);
 
  128           istringstream(buffer) >> this->
port;
 
static const int DISPATCH_PORT
Default ControlHost port. 
 
static const char SEPARATOR
Separation character between hostname and port number. 
 
 
 
 
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          JDAQProcess &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Read process from input stream. 
- Parameters
 - 
  
    | in | input stream  | 
    | object | process  | 
  
   
- Returns
 - input stream 
 
Definition at line 431 of file JRuncontrolToolkit.hh.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
 
JHostname()
Default constructor. 
 
 
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JDAQProcess &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write process to output stream. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | process  | 
  
   
- Returns
 - output stream 
 
Definition at line 447 of file JRuncontrolToolkit.hh.
  451       out << static_cast<const JHostname&>(object);
 
 
 
 
      
        
          | std::string KM3NETDAQ::JDAQProcess::index | 
        
      
 
 
  
  
      
        
          | const char JNET::JHostname::SEPARATOR = ':' | 
         
       
   | 
  
staticinherited   | 
  
 
Separation character between hostname and port number. 
Definition at line 39 of file JHostname.hh.
 
 
  
  
      
        
          | std::string JNET::JHostname::hostname | 
         
       
   | 
  
inherited   | 
  
 
 
  
  
      
        
          | int JNET::JHostname::port | 
         
       
   | 
  
inherited   | 
  
 
 
The documentation for this class was generated from the following file: