9bool GstreamerTextFactory::publishEventHeaderImpl([[maybe_unused]]
const std::unique_ptr<GEventHeader>& gevent_header) {
10 if (!ofile.is_open()) {
log->error(
ERR_CANTOPENOUTPUT, SFUNCTION_NAME,
"Error: can't access ", filename()); }
12 ofile <<
GTAB <<
"Header Bank {\n";
13 ofile <<
GTABTAB <<
" time: " << gevent_header->getTimeStamp() <<
"\n";
14 ofile <<
GTABTAB <<
" thread id: " << gevent_header->getThreadID() <<
"\n";
15 ofile <<
GTAB <<
"}\n";
std::shared_ptr< GLogger > log
ASCII streamer plugin declarations.
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.