NVIDIA DeepStream SDK API Reference

6.4 Release
ds3d::gst::GstPtr< GstObjT, ObjFunc > Class Template Reference

Detailed Description

template<class GstObjT, class ObjFunc>
class ds3d::gst::GstPtr< GstObjT, ObjFunc >

Definition at line 54 of file nvds3d_gst_ptr.h.

Inheritance diagram for ds3d::gst::GstPtr< GstObjT, ObjFunc >:

Public Member Functions

 GstPtr ()=default
 
 GstPtr (GstObjT *obj, const std::string &name="", bool takeOwner=true)
 
virtual ~GstPtr ()=default
 
void setName (const std::string &name)
 
 GstPtr (GstPtr &&other)
 
 GstPtr (const GstPtr &other)
 
GstPtroperator= (const GstPtr &other)
 
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

◆ GstPtr() [1/4]

template<class GstObjT , class ObjFunc >
ds3d::gst::GstPtr< GstObjT, ObjFunc >::GstPtr ( )
default

◆ GstPtr() [2/4]

template<class GstObjT , class ObjFunc >
ds3d::gst::GstPtr< GstObjT, ObjFunc >::GstPtr ( GstObjT *  obj,
const std::string &  name = "",
bool  takeOwner = true 
)
inline

Definition at line 61 of file nvds3d_gst_ptr.h.

◆ ~GstPtr()

template<class GstObjT , class ObjFunc >
virtual ds3d::gst::GstPtr< GstObjT, ObjFunc >::~GstPtr ( )
virtualdefault

◆ GstPtr() [3/4]

template<class GstObjT , class ObjFunc >
ds3d::gst::GstPtr< GstObjT, ObjFunc >::GstPtr ( GstPtr< GstObjT, ObjFunc > &&  other)
inline

Definition at line 70 of file nvds3d_gst_ptr.h.

◆ GstPtr() [4/4]

template<class GstObjT , class ObjFunc >
ds3d::gst::GstPtr< GstObjT, ObjFunc >::GstPtr ( const GstPtr< GstObjT, ObjFunc > &  other)
inline

Definition at line 76 of file nvds3d_gst_ptr.h.

Member Function Documentation

◆ copy()

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

◆ get()

◆ name()

◆ operator bool()

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

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
inline

Definition at line 108 of file nvds3d_gst_ptr.h.

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

◆ operator=()

template<class GstObjT , class ObjFunc >
GstPtr& ds3d::gst::GstPtr< GstObjT, ObjFunc >::operator= ( const GstPtr< GstObjT, ObjFunc > &  other)
inline

Definition at line 82 of file nvds3d_gst_ptr.h.

◆ reset()

◆ setName()

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

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