8bool GstreamerTextFactory::publishPayloadImpl(
const std::vector<GIntegralPayload*>* payload) {
9 if (!ofile.is_open()) {
log->error(
ERR_CANTOPENOUTPUT, SFUNCTION_NAME,
"Error: can't access ", filename()); }
11 ofile <<
GTAB <<
"Payload {\n";
14 for (
auto pload : *payload) {
15 for (
auto pvar : pload->getPayload()) { ofile <<
GTABTAB << pvar; }
18 ofile <<
GTAB <<
"}\n";
std::shared_ptr< GLogger > log
ASCII streamer plugin declarations.
Shared constants and error codes for the gstreamer module.
#define ERR_CANTOPENOUTPUT
Output medium could not be opened successfully.