NVIDIA DeepStream SDK API Reference

8.0 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 sources/libs/ds3d/gst/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
 
 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/8]

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

◆ GstPtr() [2/8]

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 sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ ~GstPtr() [1/2]

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

◆ GstPtr() [3/8]

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

Definition at line 70 of file sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ GstPtr() [4/8]

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

Definition at line 76 of file sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ GstPtr() [5/8]

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

◆ GstPtr() [6/8]

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 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ ~GstPtr() [2/2]

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

◆ GstPtr() [7/8]

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

Definition at line 70 of file 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ GstPtr() [8/8]

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

Definition at line 76 of file 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

Member Function Documentation

◆ copy() [1/2]

◆ copy() [2/2]

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

Definition at line 98 of file 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ get() [1/2]

◆ get() [2/2]

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

Definition at line 110 of file 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ name() [1/2]

◆ name() [2/2]

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

Definition at line 106 of file 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ operator bool() [1/2]

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

Definition at line 111 of file sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ operator bool() [2/2]

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

Definition at line 111 of file 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ operator GstObjT *() [1/2]

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

◆ operator GstObjT *() [2/2]

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

◆ operator=() [1/2]

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

Definition at line 82 of file 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ operator=() [2/2]

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

Definition at line 82 of file sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ reset() [1/2]

template<class GstObjT , class ObjFunc >
void ds3d::gst::GstPtr< GstObjT, ObjFunc >::reset ( GstObjT *  obj = nullptr,
bool  takeOwner = true 
)
inline

Definition at line 89 of file 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.

◆ reset() [2/2]

◆ setName() [1/2]

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

◆ setName() [2/2]

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

Definition at line 68 of file 9.0/sources/libs/ds3d/gst/nvds3d_gst_ptr.h.


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