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(
12 gstreamer::ERR_CANTOPENOUTPUT, "%1Error: can't access %2", SFUNCTION_NAME, filename_digitized());
13 }
14
15 // Cache the run identifier for diagnostics and later row generation.
16 runId = run_data->getHeader()->getRunID();
17
18 return true;
19}
20
21
22bool GstreamerCsvFactory::endRunImpl([[maybe_unused]] const std::shared_ptr<GRunDataCollection>& run_data) {
23 return true;
24}
std::shared_ptr< GLogger > log
CSV streamer plugin declarations.
Shared constants and error codes for the gstreamer module.
constexpr int ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.