NVIDIA DeepStream SDK API Reference

6.4 Release
ds3d::GuardRef< ref, > Class Template Reference

Detailed Description

template<typename ref, _EnableIfBaseOf< abiRefObj, ref > = true>
class ds3d::GuardRef< ref, >

Guard to wrapper all abiRefObj& data.

It is safe to use the Guard to access any kind of abiRefObj data.

Definition at line 213 of file obj.hpp.

Inheritance diagram for ds3d::GuardRef< ref, >:

Public Member Functions

 GuardRef ()=default
 
 GuardRef (const ref &abiref)
 
 GuardRef (ref *abiref, bool takeowner)
 
 GuardRef (GuardRef &&o)
 
 GuardRef (const GuardRef &o)
 
GuardRefoperator= (const GuardRef &o)
 
ref * release ()
 
void reset (ref *abiref=nullptr)
 
virtual ~GuardRef ()
 
ref * abiRef () const
 

Constructor & Destructor Documentation

◆ GuardRef() [1/5]

template<typename ref , _EnableIfBaseOf< abiRefObj, ref > = true>
ds3d::GuardRef< ref, >::GuardRef ( )
default

◆ GuardRef() [2/5]

template<typename ref , _EnableIfBaseOf< abiRefObj, ref > = true>
ds3d::GuardRef< ref, >::GuardRef ( const ref &  abiref)
inline

Definition at line 219 of file obj.hpp.

◆ GuardRef() [3/5]

template<typename ref , _EnableIfBaseOf< abiRefObj, ref > = true>
ds3d::GuardRef< ref, >::GuardRef ( ref *  abiref,
bool  takeowner 
)
inline

Definition at line 225 of file obj.hpp.

◆ GuardRef() [4/5]

template<typename ref , _EnableIfBaseOf< abiRefObj, ref > = true>
ds3d::GuardRef< ref, >::GuardRef ( GuardRef< ref, > &&  o)
inline

Definition at line 235 of file obj.hpp.

◆ GuardRef() [5/5]

template<typename ref , _EnableIfBaseOf< abiRefObj, ref > = true>
ds3d::GuardRef< ref, >::GuardRef ( const GuardRef< ref, > &  o)
inline

Definition at line 241 of file obj.hpp.

◆ ~GuardRef()

template<typename ref , _EnableIfBaseOf< abiRefObj, ref > = true>
virtual ds3d::GuardRef< ref, >::~GuardRef ( )
inlinevirtual

Definition at line 268 of file obj.hpp.

Member Function Documentation

◆ abiRef()

◆ operator=()

template<typename ref , _EnableIfBaseOf< abiRefObj, ref > = true>
GuardRef& ds3d::GuardRef< ref, >::operator= ( const GuardRef< ref, > &  o)
inline

Definition at line 247 of file obj.hpp.

◆ release()

template<typename ref , _EnableIfBaseOf< abiRefObj, ref > = true>
ref* ds3d::GuardRef< ref, >::release ( )
inline

◆ reset()

template<typename ref , _EnableIfBaseOf< abiRefObj, ref > = true>
void ds3d::GuardRef< ref, >::reset ( ref *  abiref = nullptr)
inline

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