gstreamer
Loading...
Searching...
No Matches
run.cc
Go to the documentation of this file.
1// gstreamer
4
5// Implementation summary:
6// Cache run-level context needed by later CSV publish routines.
7
8bool GstreamerCsvFactory::startRunImpl([[maybe_unused]] const std::shared_ptr<GRunDataCollection>& run_data) {
9
10 if (!ofile_digitized.is_open()) {
11 log->error(ERR_CANTOPENOUTPUT, SFUNCTION_NAME, "Error: can't access ", filename_digitized());
12 }
13
14 // Cache the run identifier for diagnostics and later row generation.
15 runId = run_data->getHeader()->getRunID();
16
17 return true;
18}
19
20
21bool GstreamerCsvFactory::endRunImpl([[maybe_unused]] const std::shared_ptr<GRunDataCollection>& run_data) {
22 return true;
23}
std::shared_ptr< GLogger > log
void error(int exit_code, Args &&... args) const
CSV streamer plugin declarations.
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.