Config parser for factory.
Definition at line 31 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.


Public Member Functions | |
| EstimatorFactoryParams2 () | |
| Initialize factory parameters with the default estimator type. More... | |
| EstimatorFactoryParams2 (const std::string &configFilePath, const std::string moduleName) | |
| Initialize factory parameters from a configuration module. More... | |
| EstimatorFactoryParams2 (const YAML::Node &fn) | |
| Initialize factory parameters from a YAML node. More... | |
| void | read (const YAML::Node &fn) override |
| Update factory parameters from a YAML node. More... | |
| EstimatorFactoryParams2 () | |
| Initialize factory parameters with the default estimator type. More... | |
| EstimatorFactoryParams2 (const std::string &configFilePath, const std::string moduleName) | |
| Initialize factory parameters from a configuration module. More... | |
| EstimatorFactoryParams2 (const YAML::Node &fn) | |
| Initialize factory parameters from a YAML node. More... | |
| void | read (const YAML::Node &fn) override |
| Update factory 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 | |
| STATE_ESTIMATOR_TYPES | m_stateEstimatorType |
| Selects the state-estimator type. More... | |
|
inline |
Initialize factory parameters with the default estimator type.
Definition at line 35 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.
References DUMMY_ESTIMATOR, and m_stateEstimatorType.
Referenced by read().
|
inline |
Initialize factory parameters from a configuration module.
| [in] | configFilePath | The path to a configuration file. |
| [in] | moduleName | The configuration module name. |
Definition at line 45 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.
References NvTrackerParams::getConfigRoot(), and read().
|
inline |
Initialize factory parameters from a YAML node.
| [in] | fn | Parsed YAML structure of config to update. |
Definition at line 55 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.
References read().
|
inline |
Initialize factory parameters with the default estimator type.
Definition at line 35 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.
References DUMMY_ESTIMATOR, and m_stateEstimatorType.
|
inline |
Initialize factory parameters from a configuration module.
| [in] | configFilePath | The path to a configuration file. |
| [in] | moduleName | The configuration module name. |
Definition at line 45 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.
References NvTrackerParams::getConfigRoot(), and read().
|
inline |
Initialize factory parameters from a YAML node.
| [in] | fn | Parsed YAML structure of config to update. |
Definition at line 55 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.
References read().
|
inlinestaticinherited |
Load the root YAML node from a tracker configuration file.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | printMessage | Enables warning output when the configuration cannot be loaded. |
Definition at line 121 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
References CLOG.
Referenced by CommunicatorFactoryParams::CommunicatorFactoryParams(), CommunicatorParams::CommunicatorParams(), DataAssociatorFactoryParams::DataAssociatorFactoryParams(), EstimatorFactoryParams2(), MqttCommunicatorParams::MqttCommunicatorParams(), MultiViewAssociatorFactoryParams::MultiViewAssociatorFactoryParams(), MultiViewAssociatorParams::MultiViewAssociatorParams(), PoseEstimatorFactoryParams::PoseEstimatorFactoryParams(), ReIDFactoryParams::ReIDFactoryParams(), ReIDServiceFactoryParams::ReIDServiceFactoryParams(), SegmenterFactoryParams::SegmenterFactoryParams(), and VisualTrackerFactoryParams::VisualTrackerFactoryParams().
|
inlinestaticinherited |
Load the root YAML node from a tracker configuration file.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | printMessage | Enables warning output when the configuration cannot be loaded. |
Definition at line 121 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
References CLOG.
|
inlineoverridevirtual |
Update factory parameters from a YAML node.
| [in] | fn | Parsed YAML structure of config to update. |
Reject unsupported state-estimator types.
Implements NvTrackerParams.
Definition at line 64 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.
References EstimatorFactoryParams2(), and m_stateEstimatorType.
|
inlineoverridevirtual |
Update factory parameters from a YAML node.
| [in] | fn | Parsed YAML structure of config to update. |
Reject unsupported state-estimator types.
Implements NvTrackerParams.
Definition at line 64 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.
References EstimatorFactoryParams2(), and m_stateEstimatorType.
Referenced by EstimatorFactoryParams2().
|
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.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | filePath | Absolute or configuration-relative path to resolve. |
Definition at line 55 of file sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
Referenced by CommunicatorParams::CommunicatorParams(), and MqttCommunicatorParams::MqttCommunicatorParams().
|
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.
| [in] | configFilePath | Path to the tracker configuration file. |
| [in] | filePath | Absolute or configuration-relative path to resolve. |
Definition at line 55 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvTrackerParams.hpp.
| STATE_ESTIMATOR_TYPES EstimatorFactoryParams2::m_stateEstimatorType |
Selects the state-estimator type.
Definition at line 88 of file sources/libs/nvmultiobjecttracker/include/modules/Estimatorv2/estimator_factory2.hpp.
Referenced by EstimatorFactoryParams2(), EstimatorFactory2::makeEstimator(), and read().