gstreamer
Loading...
Searching...
No Matches
runHeader.cc
Go to the documentation of this file.
1// gstreamer
4
5// Implementation summary:
6// Fill the run-header ROOT tree.
7
8bool GstreamerRootFactory::publishRunHeaderImpl([[maybe_unused]] const std::unique_ptr<GRunHeader>& grun_header) {
9 if (rootfile == nullptr) {
10 log->error(gstreamer::ERR_CANTOPENOUTPUT, "GstreamerRootFactory: file is not initialized");
11 }
12
13 // Retrieve the unique run-header tree and fill it with the current header values.
14 const auto& headerTree = getOrInstantiateHeaderTree(grun_header);
15
16 return headerTree->fillTree(grun_header);
17}
std::shared_ptr< GLogger > log
Shared constants and error codes for the gstreamer module.
ROOT streamer plugin declarations.
constexpr int ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.