NVIDIA DeepStream SDK API Reference

6.4 Release
ds3d::GuardDataMap Class Reference

Detailed Description

Definition at line 21 of file datamap.hpp.

Inheritance diagram for ds3d::GuardDataMap:
Collaboration diagram for ds3d::GuardDataMap:

Public Types

using KeyName = std::string
 
using abiRefType = abiRefT< abiDataMap >
 

Public Member Functions

 GuardDataMap ()=default
 
template<typename... Args>
 GuardDataMap (Args &&... args)
 
 ~GuardDataMap ()=default
 
bool hasData (const KeyName &name)
 
template<class T , _EnableIfValidIdType< T > = true>
ErrCode setData (const KeyName &name, const T &value)
 
template<class T >
ErrCode setGuardData (const KeyName &name, const GuardDataT< T > &value)
 
template<class T >
ErrCode setRefData (const KeyName &name, const abiRefT< T > &value)
 
template<class T >
ErrCode setPtrData (const KeyName &name, ShrdPtr< T > value)
 
template<class T >
ErrCode setPtrData (const KeyName &name, UniqPtr< T > value)
 
template<class T >
ErrCode getPtrData (const KeyName &name, ShrdPtr< T > &value)
 
template<class T >
ErrCode getRefData (const KeyName &name, abiRefT< T > *&value)
 
template<class T >
ErrCode getGuardData (const KeyName &name, GuardDataT< T > &value)
 
template<class T , _EnableIfValidIdType< T > = true>
ErrCode getData (const KeyName &name, T &value)
 
ErrCode removeData (const KeyName &name)
 
ErrCode clear ()
 
ErrCode copy (GuardDataMap input, DataMapPolicy policy=DataMapPolicy::kCopyPolicyNone, char *policyData=nullptr)
 
ErrCode copy (GuardDataMap input, const KeyName key, DataMapPolicy policy=DataMapPolicy::kCopyPolicyNone, char *policyData=nullptr)
 
int32_t getSize ()
 
void printDebug () const
 
GuardTy cast ()
 
abiDataMapptr () const
 
abiDataMapoperator-> () const
 
 operator bool () const
 
 operator ShrdPtr< abiDataMap > ()
 
abiRefT< abiDataMap > * release ()
 
void reset (abiRefT< abiDataMap > *abiref=nullptr)
 
abiRefT< abiDataMap > * abiRef () const
 

Member Typedef Documentation

◆ abiRefType

Definition at line 333 of file obj.hpp.

◆ KeyName

using ds3d::GuardDataMap::KeyName = std::string

Definition at line 25 of file datamap.hpp.

Constructor & Destructor Documentation

◆ GuardDataMap() [1/2]

ds3d::GuardDataMap::GuardDataMap ( )
default

◆ GuardDataMap() [2/2]

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

Definition at line 29 of file datamap.hpp.

◆ ~GuardDataMap()

ds3d::GuardDataMap::~GuardDataMap ( )
default

Member Function Documentation

◆ abiRef()

abiRefT< abiDataMap > * ds3d::GuardRef< abiRefT< abiDataMap > , >::abiRef
inlineinherited

Definition at line 269 of file obj.hpp.

◆ cast()

GuardTy ds3d::GuardDataT< abiDataMap >::cast
inlineinherited

Definition at line 356 of file obj.hpp.

◆ clear()

ErrCode ds3d::GuardDataMap::clear ( )
inline

◆ copy() [1/2]

ErrCode ds3d::GuardDataMap::copy ( GuardDataMap  input,
const KeyName  key,
DataMapPolicy  policy = DataMapPolicy::kCopyPolicyNone,
char *  policyData = nullptr 
)
inline

◆ copy() [2/2]

ErrCode ds3d::GuardDataMap::copy ( GuardDataMap  input,
DataMapPolicy  policy = DataMapPolicy::kCopyPolicyNone,
char *  policyData = nullptr 
)
inline

◆ getData()

template<class T , _EnableIfValidIdType< T > = true>
ErrCode ds3d::GuardDataMap::getData ( const KeyName name,
T &  value 
)
inline

◆ getGuardData()

template<class T >
ErrCode ds3d::GuardDataMap::getGuardData ( const KeyName name,
GuardDataT< T > &  value 
)
inline

Definition at line 164 of file datamap.hpp.

References getRefData(), and ds3d::GuardRef< abiRefT< Tp > >::reset().

◆ getPtrData()

template<class T >
ErrCode ds3d::GuardDataMap::getPtrData ( const KeyName name,
ShrdPtr< T > &  value 
)
inline

◆ getRefData()

template<class T >
ErrCode ds3d::GuardDataMap::getRefData ( const KeyName name,
abiRefT< T > *&  value 
)
inline

◆ getSize()

int32_t ds3d::GuardDataMap::getSize ( )
inline

◆ hasData()

bool ds3d::GuardDataMap::hasData ( const KeyName name)
inline

◆ operator bool()

ds3d::GuardDataT< abiDataMap >::operator bool
inlineinherited

Definition at line 370 of file obj.hpp.

◆ operator ShrdPtr< abiDataMap >()

ds3d::GuardDataT< abiDataMap >::operator ShrdPtr< abiDataMap >
inlineinherited

Definition at line 372 of file obj.hpp.

◆ operator->()

abiDataMap * ds3d::GuardDataT< abiDataMap >::operator->
inlineinherited

Definition at line 368 of file obj.hpp.

◆ printDebug()

void ds3d::GuardDataMap::printDebug ( ) const
inline

◆ ptr()

abiDataMap * ds3d::GuardDataT< abiDataMap >::ptr
inlineinherited

Definition at line 361 of file obj.hpp.

◆ release()

abiRefT< abiDataMap > * ds3d::GuardRef< abiRefT< abiDataMap > , >::release
inlineinherited

Definition at line 253 of file obj.hpp.

◆ removeData()

ErrCode ds3d::GuardDataMap::removeData ( const KeyName name)
inline

◆ reset()

void ds3d::GuardRef< abiRefT< abiDataMap > , >::reset ( abiRefT< abiDataMap > *  abiref = nullptr)
inlineinherited

Definition at line 260 of file obj.hpp.

◆ setData()

template<class T , _EnableIfValidIdType< T > = true>
ErrCode ds3d::GuardDataMap::setData ( const KeyName name,
const T &  value 
)
inline

Definition at line 138 of file datamap.hpp.

References setPtrData().

◆ setGuardData()

template<class T >
ErrCode ds3d::GuardDataMap::setGuardData ( const KeyName name,
const GuardDataT< T > &  value 
)
inline

◆ setPtrData() [1/2]

template<class T >
ErrCode ds3d::GuardDataMap::setPtrData ( const KeyName name,
ShrdPtr< T >  value 
)
inline

◆ setPtrData() [2/2]

template<class T >
ErrCode ds3d::GuardDataMap::setPtrData ( const KeyName name,
UniqPtr< T >  value 
)
inline

Definition at line 54 of file datamap.hpp.

References setPtrData().

◆ setRefData()

template<class T >
ErrCode ds3d::GuardDataMap::setRefData ( const KeyName name,
const abiRefT< T > &  value 
)
inline

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