Example program to test JNET::JLigierObjectIterator.  
More...
Go to the source code of this file.
 | 
| int  | main (int argc, char *argv[]) | 
|   | 
Example program to test JNET::JLigierObjectIterator. 
- Author
 - mdejong 
 
Definition in file JLigierObjectIterator.cc.
 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char *  | 
          argv[]  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 22 of file JLigierObjectIterator.cc.
   26   using namespace KM3NETDAQ;
 
   34     JParser<> zap(
"Example program to test receiving of objects as Ligier server.");
 
   42   catch(
const exception &error) {
 
   43     FATAL(error.what() << endl);
 
   55     while (
in.hasNext()) {
 
   57       data_type* p = 
in.next();
 
   60         NOTICE(p->getDAQHeader() << endl);
 
Utility class to parse command line options. 
 
void setDAQLongprint(const bool option)
Set DAQ print option. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
virtual const char * what() const override
Get error message. 
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
 
Object iteration through ControlHost server. 
 
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