9bool GstreamerTextFactory::startRunImpl([[maybe_unused]]
const std::shared_ptr<GRunDataCollection>& run_data) {
10 if (!ofile.is_open()) {
14 auto runId = run_data->getHeader()->getRunID();
15 ofile <<
"Run number " << runId <<
" {\n";
16 ofile <<
guts::GTAB <<
"Number of events: " << run_data->getHeader()->get_events_processed() <<
"\n";
17 ofile <<
guts::GTAB <<
"Number of events with payload: " << run_data->getHeader()->get_events_with_payload()
23bool GstreamerTextFactory::endRunImpl([[maybe_unused]]
const std::shared_ptr<GRunDataCollection>& run_data) {
24 if (!ofile.is_open()) {
28 auto runId = run_data->getHeader()->getRunID();
30 ofile <<
"} end of run " << runId <<
"\n";
std::shared_ptr< GLogger > log
ASCII streamer plugin declarations.
Shared constants and error codes for the gstreamer module.
constexpr int ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.