Store communicator configuration parameters.
Definition at line 25 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.


Public Member Functions | |
| CommunicatorParams () | |
| Initialize communicator parameters with default values. More... | |
| CommunicatorParams (const std::string &configFilePath, const std::string moduleName) | |
| Initialize communicator parameters from a configuration module. More... | |
| CommunicatorParams (const YAML::Node &fn) | |
| Initialize communicator parameters from a YAML node. More... | |
| void | read (const YAML::Node &fn) override |
| Update communicator parameters from a YAML node. More... | |
| CommunicatorParams () | |
| Initialize communicator parameters with default values. More... | |
| CommunicatorParams (const std::string &configFilePath, const std::string moduleName) | |
| Initialize communicator parameters from a configuration module. More... | |
| CommunicatorParams (const YAML::Node &fn) | |
| Initialize communicator parameters from a YAML node. More... | |
| void | read (const YAML::Node &fn) override |
| Update communicator 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 | |
| COMMUNICATOR_TYPES | m_communicatorType |
| Selects the communicator implementation. More... | |
| int | m_debugVerboseLevel |
| Controls debug message verbosity. More... | |
| int | m_saveLog2File |
| Indicates whether communicator logs are saved to a file. More... | |
| std::string | m_mqttProtoAdaptorConfigPath |
| Stores the MQTT protocol-adaptor configuration path. More... | |
| std::string | m_pubSubInfoConfigPath |
| Path to publish/subscribe configuration file. More... | |
| int | m_waitForConnInterval |
| Specifies the interval between connection checks. More... | |
| int | m_connTimeout |
| Specifies the connection timeout. More... | |
|
inline |
Initialize communicator parameters with default values.
Definition at line 29 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
References DUMMY_COMMUNICATOR, m_communicatorType, m_connTimeout, m_debugVerboseLevel, m_mqttProtoAdaptorConfigPath, m_pubSubInfoConfigPath, m_saveLog2File, and m_waitForConnInterval.
Referenced by read().
|
inline |
Initialize communicator 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/MultiViewAssociator/MemoryAccessCommunicator.hpp.
References NvTrackerParams::getConfigRoot(), m_mqttProtoAdaptorConfigPath, m_pubSubInfoConfigPath, read(), and NvTrackerParams::resolvePathRelativeToConfig().
|
inline |
Initialize communicator parameters from a YAML node.
| [in] | fn | Parsed YAML structure of config to update. |
Definition at line 59 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
References read().
|
inline |
Initialize communicator parameters with default values.
Definition at line 29 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
References DUMMY_COMMUNICATOR, m_communicatorType, m_connTimeout, m_debugVerboseLevel, m_mqttProtoAdaptorConfigPath, m_pubSubInfoConfigPath, m_saveLog2File, and m_waitForConnInterval.
|
inline |
Initialize communicator 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/MultiViewAssociator/MemoryAccessCommunicator.hpp.
References NvTrackerParams::getConfigRoot(), m_mqttProtoAdaptorConfigPath, m_pubSubInfoConfigPath, read(), and NvTrackerParams::resolvePathRelativeToConfig().
|
inline |
Initialize communicator parameters from a YAML node.
| [in] | fn | Parsed YAML structure of config to update. |
Definition at line 59 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.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(), DataAssociatorFactoryParams::DataAssociatorFactoryParams(), EstimatorFactoryParams2::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 communicator parameters from a YAML node.
| [in] | fn | Parsed YAML structure of config to update. |
Implements NvTrackerParams.
Definition at line 68 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
References CommunicatorParams(), m_communicatorType, m_connTimeout, m_debugVerboseLevel, m_mqttProtoAdaptorConfigPath, m_pubSubInfoConfigPath, m_saveLog2File, and m_waitForConnInterval.
|
inlineoverridevirtual |
Update communicator parameters from a YAML node.
| [in] | fn | Parsed YAML structure of config to update. |
Implements NvTrackerParams.
Definition at line 68 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
References CommunicatorParams(), m_communicatorType, m_connTimeout, m_debugVerboseLevel, m_mqttProtoAdaptorConfigPath, m_pubSubInfoConfigPath, m_saveLog2File, and m_waitForConnInterval.
Referenced by CommunicatorParams().
|
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(), 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.
| COMMUNICATOR_TYPES CommunicatorParams::m_communicatorType |
Selects the communicator implementation.
Definition at line 94 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
Referenced by CommunicatorParams(), and read().
| int CommunicatorParams::m_connTimeout |
Specifies the connection timeout.
Definition at line 100 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
Referenced by CommunicatorParams(), and read().
| int CommunicatorParams::m_debugVerboseLevel |
Controls debug message verbosity.
Definition at line 95 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
Referenced by CommunicatorParams(), and read().
| std::string CommunicatorParams::m_mqttProtoAdaptorConfigPath |
Stores the MQTT protocol-adaptor configuration path.
Definition at line 97 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
Referenced by CommunicatorParams(), and read().
| std::string CommunicatorParams::m_pubSubInfoConfigPath |
Path to publish/subscribe configuration file.
Definition at line 98 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
Referenced by CommunicatorParams(), and read().
| int CommunicatorParams::m_saveLog2File |
Indicates whether communicator logs are saved to a file.
Definition at line 96 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
Referenced by CommunicatorParams(), and read().
| int CommunicatorParams::m_waitForConnInterval |
Specifies the interval between connection checks.
Definition at line 99 of file sources/libs/nvmultiobjecttracker/include/modules/MultiViewAssociator/MemoryAccessCommunicator.hpp.
Referenced by CommunicatorParams(), and read().