7bool GstreamerTextFactory::publishEventTrueInfoDataImpl(
const std::string& detectorName,
8 const std::vector<const GTrueInfoData*>& trueInfoData) {
11 ofile <<
GTAB <<
"Detector <" << detectorName <<
"> True Info Bank {\n";
13 for (
auto trueInfoHit : trueInfoData) {
14 std::string identifierString = trueInfoHit->getIdentityString();
16 ofile <<
GTABTAB <<
"Hit address: " << identifierString <<
" {\n";
18 for (
const auto& [variableName, value] : trueInfoHit->getDoubleVariablesMap()) {
19 ofile <<
GTABTABTAB << variableName <<
": " << value <<
"\n";
21 for (
const auto& [variableName, value] : trueInfoHit->getStringVariablesMap()) {
22 ofile <<
GTABTABTAB << variableName <<
": " << value <<
"\n";
27 ofile <<
GTAB <<
"}\n";
std::shared_ptr< GLogger > log
void error(int exit_code, Args &&... args) const
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened (file/device not accessible).