NVIDIA DeepStream SDK API Reference

8.0 Release
ds3d::GuardDataMap Class Reference

Detailed Description

Definition at line 21 of file sources/includes/ds3d/common/hpp/datamap.hpp.

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

Public Types

using KeyName = std::string
 
using KeyName = std::string
 
using abiRefType = abiRefT< abiDataMap >
 
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
 
 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 ()
 
GuardTy cast ()
 
abiDataMapptr () const
 
abiDataMapptr () const
 
abiDataMapoperator-> () const
 
abiDataMapoperator-> () const
 
 operator bool () const
 
 operator bool () const
 
 operator ShrdPtr< abiDataMap > ()
 
 operator ShrdPtr< abiDataMap > ()
 
abiRefT< abiDataMap > * release ()
 
abiRefT< abiDataMap > * release ()
 
void reset (abiRefT< abiDataMap > *abiref=nullptr)
 
void reset (abiRefT< abiDataMap > *abiref=nullptr)
 
abiRefT< abiDataMap > * abiRef () const
 
abiRefT< abiDataMap > * abiRef () const
 

Member Typedef Documentation

◆ abiRefType [1/2]

◆ abiRefType [2/2]

◆ KeyName [1/2]

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

Definition at line 25 of file sources/includes/ds3d/common/hpp/datamap.hpp.

◆ KeyName [2/2]

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

Constructor & Destructor Documentation

◆ GuardDataMap() [1/4]

ds3d::GuardDataMap::GuardDataMap ( )
default

◆ GuardDataMap() [2/4]

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

Definition at line 29 of file sources/includes/ds3d/common/hpp/datamap.hpp.

◆ ~GuardDataMap() [1/2]

ds3d::GuardDataMap::~GuardDataMap ( )
default

◆ GuardDataMap() [3/4]

ds3d::GuardDataMap::GuardDataMap ( )
default

◆ GuardDataMap() [4/4]

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

◆ ~GuardDataMap() [2/2]

ds3d::GuardDataMap::~GuardDataMap ( )
default

Member Function Documentation

◆ abiRef() [1/2]

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

Definition at line 269 of file sources/includes/ds3d/common/hpp/obj.hpp.

◆ abiRef() [2/2]

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

◆ cast() [1/2]

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

Definition at line 356 of file sources/includes/ds3d/common/hpp/obj.hpp.

◆ cast() [2/2]

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

◆ clear() [1/2]

ErrCode ds3d::GuardDataMap::clear ( )
inline

◆ clear() [2/2]

ErrCode ds3d::GuardDataMap::clear ( )
inline

◆ copy() [1/4]

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

◆ copy() [2/4]

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

◆ copy() [3/4]

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

◆ copy() [4/4]

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

◆ getData() [1/2]

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

◆ getData() [2/2]

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

◆ getGuardData() [1/2]

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

◆ getGuardData() [2/2]

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

◆ getPtrData() [1/2]

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

◆ getPtrData() [2/2]

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

◆ getRefData() [1/2]

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

◆ getRefData() [2/2]

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

◆ getSize() [1/2]

int32_t ds3d::GuardDataMap::getSize ( )
inline

◆ getSize() [2/2]

int32_t ds3d::GuardDataMap::getSize ( )
inline

◆ hasData() [1/2]

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

◆ hasData() [2/2]

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

◆ operator bool() [1/2]

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

Definition at line 370 of file sources/includes/ds3d/common/hpp/obj.hpp.

◆ operator bool() [2/2]

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

◆ operator ShrdPtr< abiDataMap >() [1/2]

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

Definition at line 372 of file sources/includes/ds3d/common/hpp/obj.hpp.

◆ operator ShrdPtr< abiDataMap >() [2/2]

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

◆ operator->() [1/2]

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

Definition at line 368 of file sources/includes/ds3d/common/hpp/obj.hpp.

◆ operator->() [2/2]

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

◆ printDebug() [1/2]

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

◆ printDebug() [2/2]

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

◆ ptr() [1/2]

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

◆ ptr() [2/2]

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

Definition at line 361 of file sources/includes/ds3d/common/hpp/obj.hpp.

◆ release() [1/2]

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

◆ release() [2/2]

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

Definition at line 253 of file sources/includes/ds3d/common/hpp/obj.hpp.

◆ removeData() [1/2]

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

◆ removeData() [2/2]

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

◆ reset() [1/2]

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

◆ reset() [2/2]

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

Definition at line 260 of file sources/includes/ds3d/common/hpp/obj.hpp.

◆ setData() [1/2]

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

◆ setData() [2/2]

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

Definition at line 138 of file sources/includes/ds3d/common/hpp/datamap.hpp.

References setPtrData().

◆ setGuardData() [1/2]

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

◆ setGuardData() [2/2]

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

◆ setPtrData() [1/4]

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

◆ setPtrData() [2/4]

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

◆ setPtrData() [3/4]

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

Definition at line 54 of file sources/includes/ds3d/common/hpp/datamap.hpp.

References setPtrData().

◆ setPtrData() [4/4]

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

Definition at line 54 of file 9.0/sources/includes/ds3d/common/hpp/datamap.hpp.

References setPtrData().

◆ setRefData() [1/2]

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

◆ setRefData() [2/2]

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: