NVIDIA DeepStream SDK API Reference

9.0 Release
MuxConfigParser Class Reference

Detailed Description

Public Member Functions

 MuxConfigParser ()
 
 ~MuxConfigParser ()
 
bool SetConfigFile (gchar const *const cfgFilePath)
 
bool ParseConfigs (BatchPolicyConfig *batchPolicy, bool defaults=false, guint numSources=1)
 Parse the Config file for per-source properties Note: For batch-size, if config unavailable in the file, it shall be set to default only if batchPolicy->batch_size was not set to a non-zero value by the caller. More...
 
 MuxConfigParser ()
 
 ~MuxConfigParser ()
 
bool SetConfigFile (gchar const *const cfgFilePath)
 
bool ParseConfigs (BatchPolicyConfig *batchPolicy, bool defaults=false, guint numSources=1)
 Parse the Config file for per-source properties Note: For batch-size, if config unavailable in the file, it shall be set to default only if batchPolicy->batch_size was not set to a non-zero value by the caller. More...
 

Constructor & Destructor Documentation

◆ MuxConfigParser() [1/2]

MuxConfigParser::MuxConfigParser ( )

◆ ~MuxConfigParser() [1/2]

MuxConfigParser::~MuxConfigParser ( )

◆ MuxConfigParser() [2/2]

MuxConfigParser::MuxConfigParser ( )

◆ ~MuxConfigParser() [2/2]

MuxConfigParser::~MuxConfigParser ( )

Member Function Documentation

◆ ParseConfigs() [1/2]

bool MuxConfigParser::ParseConfigs ( BatchPolicyConfig batchPolicy,
bool  defaults = false,
guint  numSources = 1 
)

Parse the Config file for per-source properties Note: For batch-size, if config unavailable in the file, it shall be set to default only if batchPolicy->batch_size was not set to a non-zero value by the caller.

Parameters
batchPolicy[IN/OUT] The batchPolicy to fill the source properties in
Returns
true if successful, false otherwise

◆ ParseConfigs() [2/2]

bool MuxConfigParser::ParseConfigs ( BatchPolicyConfig batchPolicy,
bool  defaults = false,
guint  numSources = 1 
)

Parse the Config file for per-source properties Note: For batch-size, if config unavailable in the file, it shall be set to default only if batchPolicy->batch_size was not set to a non-zero value by the caller.

Parameters
batchPolicy[IN/OUT] The batchPolicy to fill the source properties in
Returns
true if successful, false otherwise

◆ SetConfigFile() [1/2]

bool MuxConfigParser::SetConfigFile ( gchar const *const  cfgFilePath)

◆ SetConfigFile() [2/2]

bool MuxConfigParser::SetConfigFile ( gchar const *const  cfgFilePath)

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