9bool GstreamerTextFactory::startRunImpl([[maybe_unused]]
const std::shared_ptr<GRunDataCollection>& run_data) {
12 auto runId = run_data->getHeader()->getRunID();
13 ofile <<
"Run number " << runId <<
" {\n";
14 ofile <<
GTAB <<
"Number of events: " << run_data->getHeader()->get_events_processed() <<
"\n";
15 ofile <<
GTAB <<
"Number of events with payload: " << run_data->getHeader()->get_events_with_payload() <<
"\n";
20bool GstreamerTextFactory::endRunImpl([[maybe_unused]]
const std::shared_ptr<GRunDataCollection>& run_data) {
23 auto runId = run_data->getHeader()->getRunID();
25 ofile <<
"} end of run " << runId <<
"\n";
std::shared_ptr< GLogger > log
void error(int exit_code, Args &&... args) const
ASCII streamer plugin declarations.
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.