Definition at line 822 of file EventBuilder.cc.
References RUN_CTRL2::closeTime, factPrintf(), RUN_CTRL2::fileStat, MessageImp::kError, kFileClosed, kFileNotYetOpen, kFileOpen, MessageImp::kInfo, kRequestConnectionChange, kRequestEventCheckFailed, kRequestManual, kRequestMaxEvtsReached, kRequestMaxTimeReached, kRequestNone, kRequestTimeout, RUN_CTRL2::maxEvt, RUN_CTRL2::openTime, Queue< T, List >::post(), run, runClose(), runOpen(), runWrite(), secondaryQueue, and str.
879 vector<string> reason;
881 reason.emplace_back(
"close requested");
883 reason.emplace_back(
"receive timeout");
885 reason.emplace_back(
"connection changed");
887 reason.emplace_back(
"event check failed");
891 reason.push_back(to_string(run.
maxEvt)+
" evts reached");
893 reason.emplace_back(
"runWrite failed");
895 const string str = boost::algorithm::join(reason,
", ");
bool runWrite(const EVT_CTRL2 &evt)
void factPrintf(int severity, const char *fmt,...)
Queue< shared_ptr< EVT_CTRL2 > > processingQueue1(bind(&proc1, placeholders::_1))
An info telling something which can be interesting to know.
bool runOpen(const EVT_CTRL2 &evt)
void runClose(const EVT_CTRL2 &run)
Error, something unexpected happened, but can still be handled by the program.