NVIDIA DeepStream SDK API Reference

6.4 Release
ds3d::config Namespace Reference

Data Structures

struct  ComponentConfig
 

Enumerations

enum  ComponentType : int {
  ComponentType::kNone = 0,
  ComponentType::kDataLoader = 1,
  ComponentType::kDataFilter = 2,
  ComponentType::kDataRender = 3,
  ComponentType::kUserApp = 4,
  ComponentType::kDataBridge = 5,
  ComponentType::kDataMixer = 6,
  ComponentType::kGstParseBin = 10
}
 

Functions

ComponentType componentType (const std::string &strType)
 
const char * componentTypeStr (ComponentType type)
 
ErrCode CatchYamlCall (std::function< ErrCode()> f)
 
template<class F , typename... Args>
ErrCode CatchConfigCall (F f, Args &&... args)
 
ErrCode parseComponentConfig (const std::string &yamlComp, const std::string &path, ComponentConfig &config)
 
ErrCode parseFullConfig (const std::string &yamlDoc, const std::string &path, std::vector< ComponentConfig > &all)
 

Enumeration Type Documentation

◆ ComponentType

enum ds3d::config::ComponentType : int
strong
Enumerator
kNone 
kDataLoader 
kDataFilter 
kDataRender 
kUserApp 
kDataBridge 
kDataMixer 
kGstParseBin 

Definition at line 23 of file includes/ds3d/common/config.h.

Function Documentation

◆ CatchConfigCall()

template<class F , typename... Args>
ErrCode ds3d::config::CatchConfigCall ( f,
Args &&...  args 
)

Definition at line 41 of file yaml_config.hpp.

References DS3D_CATCH_ANY, DS3D_CATCH_ERROR, DS3D_TRY, ds3d::kConfig, and ds3d::kGood.

◆ CatchYamlCall()

ErrCode ds3d::config::CatchYamlCall ( std::function< ErrCode()>  f)
inline

◆ componentType()

ComponentType ds3d::config::componentType ( const std::string &  strType)
inline

◆ componentTypeStr()

const char* ds3d::config::componentTypeStr ( ComponentType  type)
inline

◆ parseComponentConfig()

◆ parseFullConfig()

ErrCode ds3d::config::parseFullConfig ( const std::string &  yamlDoc,
const std::string &  path,
std::vector< ComponentConfig > &  all 
)
inline