Go to the documentation of this file.
21 int main(
int argc,
char* argv[])
35 JParser<> zap(
"Example program to test receiving of objects from ControlHost server.");
45 catch(
const exception &error) {
46 FATAL(error.what() << endl);
58 for (
int i = 0; i != numberOfTimeouts; ) {
62 data_type* p = in.
next();
65 NOTICE(p->getDAQHeader() << endl);
71 NOTICE(
"timeout " << setw(3) << i <<
'\r');
Auxiliary class for time values.
Object iteration through ControlHost.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
int main(int argc, char *argv[])
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
#define DEBUG(A)
Message macros.
KM3NeT DAQ data structures and auxiliaries.
void setDAQLongprint(const bool option)
Set DAQ print option.
virtual const char * what() const
Get error message.
virtual bool hasNext()
Check availability of next element.
virtual const pointer_type & next()
Get next element.