NVIDIA DeepStream SDK API Reference

6.4 Release
nvdsinferserver::BufOptions Class Reference

Detailed Description

Definition at line 47 of file infer_options.h.

Inheritance diagram for nvdsinferserver::BufOptions:
Collaboration diagram for nvdsinferserver::BufOptions:

Data Structures

struct  convertType< bool >
 
struct  convertType< double >
 
struct  convertType< float >
 
struct  convertType< int16_t >
 
struct  convertType< int32_t >
 
struct  convertType< int64_t >
 
struct  convertType< int8_t >
 
struct  convertType< std::string >
 
struct  convertType< std::vector< T * > >
 
struct  convertType< std::vector< T > >
 
struct  convertType< T * >
 
struct  convertType< uint16_t >
 
struct  convertType< uint32_t >
 
struct  convertType< uint64_t >
 
struct  convertType< uint8_t >
 

Public Member Functions

OptionType getType (const std::string &key) const override
 
bool hasValue (const std::string &key) const override
 
uint32_t getCount () const final
 
std::string getKey (uint32_t idx) const final
 
template<typename T >
void setValue (const std::string &key, const T &v)
 
template<typename T >
void setValueArray (const std::string &key, const std::vector< T > &values)
 
NvDsInferStatus getDouble (const std::string &name, double &v) const
 
NvDsInferStatus getInt (const std::string &name, int64_t &v) const
 
NvDsInferStatus getUInt (const std::string &name, uint64_t &v) const
 
NvDsInferStatus getString (const std::string &name, std::string &v)
 
NvDsInferStatus getBool (const std::string &name, bool &v) const
 
template<typename Obj >
NvDsInferStatus getObj (const std::string &name, Obj *&obj) const
 
template<typename Value >
NvDsInferStatus getValue (const std::string &name, Value &value) const
 
template<typename Value >
NvDsInferStatus getValueArray (const std::string &name, std::vector< Value > &values) const
 

Member Function Documentation

◆ getBool()

NvDsInferStatus nvdsinferserver::IOptions::getBool ( const std::string &  name,
bool &  v 
) const
inlineinherited

Definition at line 97 of file infer_ioptions.h.

◆ getCount()

uint32_t nvdsinferserver::BufOptions::getCount ( ) const
inlinefinalvirtual

Implements nvdsinferserver::IOptions.

Definition at line 81 of file infer_options.h.

◆ getDouble()

NvDsInferStatus nvdsinferserver::IOptions::getDouble ( const std::string &  name,
double &  v 
) const
inlineinherited

Definition at line 81 of file infer_ioptions.h.

◆ getInt()

NvDsInferStatus nvdsinferserver::IOptions::getInt ( const std::string &  name,
int64_t &  v 
) const
inlineinherited

Definition at line 85 of file infer_ioptions.h.

◆ getKey()

std::string nvdsinferserver::BufOptions::getKey ( uint32_t  idx) const
inlinefinalvirtual

Implements nvdsinferserver::IOptions.

Definition at line 82 of file infer_options.h.

◆ getObj()

template<typename Obj >
NvDsInferStatus nvdsinferserver::IOptions::getObj ( const std::string &  name,
Obj *&  obj 
) const
inlineinherited

Definition at line 102 of file infer_ioptions.h.

◆ getString()

NvDsInferStatus nvdsinferserver::IOptions::getString ( const std::string &  name,
std::string &  v 
)
inlineinherited

Definition at line 93 of file infer_ioptions.h.

◆ getType()

OptionType nvdsinferserver::BufOptions::getType ( const std::string &  key) const
inlineoverridevirtual

Implements nvdsinferserver::IOptions.

Definition at line 71 of file infer_options.h.

References nvdsinferserver::oNone.

◆ getUInt()

NvDsInferStatus nvdsinferserver::IOptions::getUInt ( const std::string &  name,
uint64_t &  v 
) const
inlineinherited

Definition at line 89 of file infer_ioptions.h.

◆ getValue()

template<typename Value >
NvDsInferStatus nvdsinferserver::IOptions::getValue ( const std::string &  name,
Value &  value 
) const
inlineinherited

◆ getValueArray()

template<typename Value >
NvDsInferStatus nvdsinferserver::IOptions::getValueArray ( const std::string &  name,
std::vector< Value > &  values 
) const
inlineinherited

◆ hasValue()

bool nvdsinferserver::BufOptions::hasValue ( const std::string &  key) const
inlineoverridevirtual

Implements nvdsinferserver::IOptions.

Definition at line 76 of file infer_options.h.

◆ setValue()

template<typename T >
void nvdsinferserver::BufOptions::setValue ( const std::string &  key,
const T &  v 
)
inline

Definition at line 142 of file infer_options.h.

◆ setValueArray()

template<typename T >
void nvdsinferserver::BufOptions::setValueArray ( const std::string &  key,
const std::vector< T > &  values 
)
inline

Definition at line 150 of file infer_options.h.

References nvdsinferserver::oArray.


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