| 
      
        
       | 
    
    
        
            NVIDIA DeepStream SDK API Reference
         | 
        
            
                8.0 Release
            
         | 
    
  
 
 
Go to the documentation of this file.
   33 #include "yaml-cpp/yaml.h" 
   66   Element(
const std::string& type_name, std::string name = std::string());
 
   96     return find_<BufferProbe>(name);
 
  110                     const std::string& probe_name,
 
  111                     const std::string probe_tip = 
"");
 
  114   template<
typename... Args>
 
  116                     const std::string& probe_name,
 
  117                     const std::string probe_tip = 
"",
 
  118                     const Args&... args) {
 
  119     addProbe(plugin_name, probe_name, probe_tip);
 
  121     if (probe && (
sizeof...(args) > 0)) {
 
  140     return find_<SignalHandler>(name);
 
  170                          const std::string& handler_name,
 
  171                          const std::string& signal_names);
 
  174   template<
typename... Args>
 
  176                          const std::string& handler_name,
 
  177                          const std::string& signal_names,
 
  178                          const Args&... args) {
 
  181     if (handler && (
sizeof...(args) > 0)) {
 
  182       handler->set(args...);
 
  201   std::shared_ptr<std::unordered_map<std::string, std::unique_ptr<CustomObject>>> 
objects_;
 
  210       [&](
const auto& pair) {
 
  211         return pair.first == name && dynamic_cast<T*>(pair.second.get());
 
  214     if (itr != 
objects_->end()) 
return dynamic_cast<T*
>(itr->second.get());
 
  
 
bool setState(Element::State state)
Set the Element in particular state.
 
SignalHandler * getSignalHandler(const std::string &name)
Find the signal handler attached to the element by name.
 
Base class for all the custom objects.
 
Element class definition.
 
Represent a custom object for the purpose of probing output buffers.
 
struct _GstObject GstObject
 
BufferProbe * getProbe(const std::string &name)
Find the buffer probe attached to the elmenent by name.
 
Pipeline class definition.
 
virtual ~Element()
Destructor.
 
std::shared_ptr< std::unordered_map< std::string, std::unique_ptr< CustomObject > > > objects_
 
T * find_(const std::string &name)
 
Element & connectSignal(const std::string &plugin_name, const std::string &handler_name, const std::string &signal_names, const Args &... args)
Template function for creating and connecting signal with properties.
 
Element & addProbe(const std::string &plugin_name, const std::string &probe_name, const std::string probe_tip="")
Create and add a buffer probe to the element.
 
Element & addProbe(const std::string &plugin_name, const std::string &probe_name, const std::string probe_tip="", const Args &... args)
Template function for creating and adding buffer probe with properties.
 
Element & connectSignal(const std::string &signal_name, SignalHandler *handler)
Connect a signal handler to the element.
 
Element & add_(CustomObject *object)
 
Element & link(Element &dst, std::pair< std::string, std::string > hint)
Link two Element instances using hint.
 
const Pipeline & getPipeline()