NVIDIA DeepStream SDK API Reference

6.4 Release
ds3d::gst::PadPtr Class Reference

Detailed Description

Definition at line 123 of file nvds3d_gst_ptr.h.

Inheritance diagram for ds3d::gst::PadPtr:
Collaboration diagram for ds3d::gst::PadPtr:

Public Member Functions

 PadPtr (GstPad *pad, bool takeOwner=true)
 
template<typename... Args>
 PadPtr (Args &&... args)
 
 ~PadPtr ()=default
 
uint32_t addProbe (GstPadProbeType mask, GstPadProbeCallback callback, gpointer udata, GDestroyNotify destroyData)
 
void removeProbe (uint32_t id)
 
void setName (const std::string &name)
 
void reset (GstObjT *obj=nullptr, bool takeOwner=true)
 
GstObjT * copy () const
 
const std::string & name () const
 
 operator GstObjT * () const
 
GstObjT * get () const
 
 operator bool () const
 

Constructor & Destructor Documentation

◆ PadPtr() [1/2]

ds3d::gst::PadPtr::PadPtr ( GstPad *  pad,
bool  takeOwner = true 
)
inline

Definition at line 125 of file nvds3d_gst_ptr.h.

◆ PadPtr() [2/2]

template<typename... Args>
ds3d::gst::PadPtr::PadPtr ( Args &&...  args)
inline

Definition at line 130 of file nvds3d_gst_ptr.h.

◆ ~PadPtr()

ds3d::gst::PadPtr::~PadPtr ( )
default

Member Function Documentation

◆ addProbe()

uint32_t ds3d::gst::PadPtr::addProbe ( GstPadProbeType  mask,
GstPadProbeCallback  callback,
gpointer  udata,
GDestroyNotify  destroyData 
)
inline

Definition at line 135 of file nvds3d_gst_ptr.h.

References DS_ASSERT, and ds3d::gst::GstPtr< GstObjT, ObjFunc >::get().

◆ copy()

template<class GstObjT , class ObjFunc >
GstObjT* ds3d::gst::GstPtr< GstObjT, ObjFunc >::copy ( ) const
inlineinherited

◆ get()

◆ name()

template<class GstObjT , class ObjFunc >
const std::string& ds3d::gst::GstPtr< GstObjT, ObjFunc >::name ( ) const
inlineinherited

◆ operator bool()

template<class GstObjT , class ObjFunc >
ds3d::gst::GstPtr< GstObjT, ObjFunc >::operator bool ( ) const
inlineinherited

Definition at line 111 of file nvds3d_gst_ptr.h.

◆ operator GstObjT *()

template<class GstObjT , class ObjFunc >
ds3d::gst::GstPtr< GstObjT, ObjFunc >::operator GstObjT * ( ) const
inlineinherited

Definition at line 108 of file nvds3d_gst_ptr.h.

References ds3d::gst::GstPtr< GstObjT, ObjFunc >::get().

◆ removeProbe()

void ds3d::gst::PadPtr::removeProbe ( uint32_t  id)
inline

Definition at line 143 of file nvds3d_gst_ptr.h.

References DS_ASSERT, and ds3d::gst::GstPtr< GstObjT, ObjFunc >::get().

◆ reset()

◆ setName()

template<class GstObjT , class ObjFunc >
void ds3d::gst::GstPtr< GstObjT, ObjFunc >::setName ( const std::string &  name)
inlineinherited

The documentation for this class was generated from the following file: