|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
22 #include "data_feeder.hpp"
23 #include <ds3d/gst/nvds3d_gst_plugin.h>
24 #include <ds3d/common/defines.h>
25 #include <ds3d/common/hpp/datamap.hpp>
51 std::string configPath;
53 std::string configContent;
55 std::cout <<
"lidar_feeder plugin config-path: " << configPath << std::endl;
77 c = loader.readData(datamap);
79 eos = (c == ErrCode::KEndOfStream);
90 std::cout <<
"EOS reached" << std::endl;
98 bool _initialized =
false;
required interface for a data feeder
A specific signal handler for feeding data.
void initialize(DataFeeder &feeder)
static constexpr const char * kNone
The span does not have a parent, it is a root span.
struct _GstBuffer OpaqueBuffer
OpaqueBuffer * buffer_
opaque buffer pointer
Buffer read(DataFeeder &feeder, unsigned int size, bool &eos)
ErrCode loadCustomProcessor(const config::ComponentConfig &compConfig, GuardProcess &customProcessor, Ptr< CustomLibFactory > &lib)
GuardDataLoader is the safe access entry for abiDataLoader.
bool readFile(const std::string &path, std::string &context)
ErrCode parseComponentConfig(const std::string &yamlComp, const std::string &path, ComponentConfig &config)
constexpr const char * size
DS3DBuffer(OpaqueBuffer *buffer)
std::string configContent
Object & getProperty(const std::string &name, T &value, Args &... args)
Template for getting multiple properties.