9bool GstreamerTextFactory::publishEventTrueInfoDataImpl(
const std::string& detectorName,
10 const std::vector<const GTrueInfoData*>& trueInfoData) {
13 ofile <<
GTAB <<
"Detector <" << detectorName <<
"> True Info Bank {\n";
15 for (
auto trueInfoHit : trueInfoData) {
16 std::string identifierString = trueInfoHit->getIdentityString();
18 ofile <<
GTABTAB <<
"Hit address: " << identifierString <<
" {\n";
20 for (
const auto& [variableName, value] : trueInfoHit->getDoubleVariablesMap()) {
21 ofile <<
GTABTABTAB << variableName <<
": " << value <<
"\n";
23 for (
const auto& [variableName, value] : trueInfoHit->getStringVariablesMap()) {
24 ofile <<
GTABTABTAB << variableName <<
": " << value <<
"\n";
29 ofile <<
GTAB <<
"}\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.