Auxiliary class for handling event name and optional number.  
 More...
#include <JRuncontrolToolkit.hh>
Auxiliary class for handling event name and optional number. 
Definition at line 65 of file JRuncontrolToolkit.hh.
 
  
  
      
        
          | KM3NETDAQ::JEvent_t::JEvent_t  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | KM3NETDAQ::JEvent_t::JEvent_t  | 
          ( | 
          const std::string &  | 
          name,  | 
         
        
           | 
           | 
          const int  | 
          number  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | name | event name  | 
    | number | event number  | 
  
   
Definition at line 81 of file JRuncontrolToolkit.hh.
then echo Enter input within $TIMEOUT_S seconds echo n User name
 
 
 
 
  
  
      
        
          | const std::string& KM3NETDAQ::JEvent_t::getName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int KM3NETDAQ::JEvent_t::getNumber  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | static JEvent_t KM3NETDAQ::JEvent_t::toValue  | 
          ( | 
          const std::string &  | 
          buffer | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Convert string to event. 
- Parameters
 - 
  
  
 
- Returns
 - event 
 
Definition at line 116 of file JRuncontrolToolkit.hh.
  125       if (sep != string::npos) {
 
  127         istringstream(buffer.substr(sep + 1)) >> 
object.
event_number;
 
  129         object.event_name   = 
trim(buffer.substr(0, sep));
 
  133         object.event_name   = 
trim(buffer);
 
  134         object.event_number = -1;
 
static const char EVENTNAME_DELIMETER
 
std::string trim(const std::string &buffer)
Trim string. 
 
JEvent_t()
Default constructor. 
 
 
 
 
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          JEvent_t &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Read event name and optional number from input stream. 
- Parameters
 - 
  
    | in | input stream  | 
    | object | event  | 
  
   
- Returns
 - input stream 
 
Definition at line 148 of file JRuncontrolToolkit.hh.
static JEvent_t toValue(const std::string &buffer)
Convert string to event. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
 
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JEvent_t &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write event to output stream. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | event  | 
  
   
- Returns
 - output stream 
 
Definition at line 167 of file JRuncontrolToolkit.hh.
  169       out << 
object.event_name;
 
char getEventnameDelimeter()
Get the event name delimeter. 
 
 
 
 
  
  
      
        
          | std::string KM3NETDAQ::JEvent_t::event_name | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | int KM3NETDAQ::JEvent_t::event_number | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this struct was generated from the following file: