NVIDIA DeepStream SDK API Reference

9.2 Release
DummyEstimatorParams2 Class Reference

Detailed Description

Config params for the dummy state estimator.

Definition at line 27 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.

Inheritance diagram for DummyEstimatorParams2:
Collaboration diagram for DummyEstimatorParams2:

Public Member Functions

 DummyEstimatorParams2 ()
 Initialize dummy-estimator parameters with default values. More...
 
 DummyEstimatorParams2 (const std::string &configFilePath, const std::string moduleName)
 Initialize dummy-estimator parameters from a configuration module. More...
 
 DummyEstimatorParams2 (const YAML::Node &fn)
 Initialize dummy-estimator parameters from a YAML node. More...
 
void read (const YAML::Node &fn) override
 Update dummy-estimator parameters from a YAML node. More...
 
 DummyEstimatorParams2 ()
 Initialize dummy-estimator parameters with default values. More...
 
 DummyEstimatorParams2 (const std::string &configFilePath, const std::string moduleName)
 Initialize dummy-estimator parameters from a configuration module. More...
 
 DummyEstimatorParams2 (const YAML::Node &fn)
 Initialize dummy-estimator parameters from a YAML node. More...
 
void read (const YAML::Node &fn) override
 Update dummy-estimator parameters from a YAML node. More...
 

Static Public Member Functions

static std::string resolvePathRelativeToConfig (const std::string &configFilePath, const std::string &filePath)
 Resolve a configured path relative to the tracker configuration file. More...
 
static std::string resolvePathRelativeToConfig (const std::string &configFilePath, const std::string &filePath)
 Resolve a configured path relative to the tracker configuration file. More...
 
static const YAML::Node getConfigRoot (const std::string &configFilePath, const bool printMessage=false)
 Load the root YAML node from a tracker configuration file. More...
 
static const YAML::Node getConfigRoot (const std::string &configFilePath, const bool printMessage=false)
 Load the root YAML node from a tracker configuration file. More...
 

Data Fields

int m_debugVerboseLevel
 Controls debug message verbosity. More...
 
STATE_ESTIMATOR_TYPES m_stateEstimatorType
 Selects the state-estimator type. More...
 

Constructor & Destructor Documentation

◆ DummyEstimatorParams2() [1/6]

DummyEstimatorParams2::DummyEstimatorParams2 ( )

Initialize dummy-estimator parameters with default values.

◆ DummyEstimatorParams2() [2/6]

DummyEstimatorParams2::DummyEstimatorParams2 ( const std::string &  configFilePath,
const std::string  moduleName 
)

Initialize dummy-estimator parameters from a configuration module.

Parameters
[in]configFilePathThe path to a configuration file.
[in]moduleNameThe configuration module name.

◆ DummyEstimatorParams2() [3/6]

DummyEstimatorParams2::DummyEstimatorParams2 ( const YAML::Node &  fn)

Initialize dummy-estimator parameters from a YAML node.

Parameters
[in]fnParsed YAML structure of config to update.

◆ DummyEstimatorParams2() [4/6]

DummyEstimatorParams2::DummyEstimatorParams2 ( )

Initialize dummy-estimator parameters with default values.

◆ DummyEstimatorParams2() [5/6]

DummyEstimatorParams2::DummyEstimatorParams2 ( const std::string &  configFilePath,
const std::string  moduleName 
)

Initialize dummy-estimator parameters from a configuration module.

Parameters
[in]configFilePathThe path to a configuration file.
[in]moduleNameThe configuration module name.

◆ DummyEstimatorParams2() [6/6]

DummyEstimatorParams2::DummyEstimatorParams2 ( const YAML::Node &  fn)

Initialize dummy-estimator parameters from a YAML node.

Parameters
[in]fnParsed YAML structure of config to update.

Member Function Documentation

◆ getConfigRoot() [1/2]

static const YAML::Node NvTrackerParams::getConfigRoot ( const std::string &  configFilePath,
const bool  printMessage = false 
)
inlinestaticinherited

◆ getConfigRoot() [2/2]

static const YAML::Node NvTrackerParams::getConfigRoot ( const std::string &  configFilePath,
const bool  printMessage = false 
)
inlinestaticinherited

Load the root YAML node from a tracker configuration file.

Parameters
[in]configFilePathPath to the tracker configuration file.
[in]printMessageEnables warning output when the configuration cannot be loaded.
Returns
Loaded YAML root node, or an empty node when loading fails.

Definition at line 121 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.

References CLOG.

◆ read() [1/2]

void DummyEstimatorParams2::read ( const YAML::Node &  fn)
overridevirtual

Update dummy-estimator parameters from a YAML node.

Parameters
[in]fnParsed YAML structure of config to update.

Implements NvTrackerParams.

◆ read() [2/2]

void DummyEstimatorParams2::read ( const YAML::Node &  fn)
overridevirtual

Update dummy-estimator parameters from a YAML node.

Parameters
[in]fnParsed YAML structure of config to update.

Implements NvTrackerParams.

◆ resolvePathRelativeToConfig() [1/2]

static std::string NvTrackerParams::resolvePathRelativeToConfig ( const std::string &  configFilePath,
const std::string &  filePath 
)
inlinestaticinherited

Resolve a configured path relative to the tracker configuration file.

Existing paths are canonicalized, while nonexistent relative paths remain joined to the configuration directory.

Parameters
[in]configFilePathPath to the tracker configuration file.
[in]filePathAbsolute or configuration-relative path to resolve.
Returns
Resolved path, or the original path when the configuration path cannot be resolved.

Definition at line 55 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.

Referenced by CommunicatorParams::CommunicatorParams(), and MqttCommunicatorParams::MqttCommunicatorParams().

◆ resolvePathRelativeToConfig() [2/2]

static std::string NvTrackerParams::resolvePathRelativeToConfig ( const std::string &  configFilePath,
const std::string &  filePath 
)
inlinestaticinherited

Resolve a configured path relative to the tracker configuration file.

Existing paths are canonicalized, while nonexistent relative paths remain joined to the configuration directory.

Parameters
[in]configFilePathPath to the tracker configuration file.
[in]filePathAbsolute or configuration-relative path to resolve.
Returns
Resolved path, or the original path when the configuration path cannot be resolved.

Definition at line 55 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.

Field Documentation

◆ m_debugVerboseLevel

int DummyEstimatorParams2::m_debugVerboseLevel

Controls debug message verbosity.

Definition at line 52 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/DummyEstimator2.hpp.

◆ m_stateEstimatorType

STATE_ESTIMATOR_TYPES DummyEstimatorParams2::m_stateEstimatorType

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