InitConfig
Function Usage
A protected member function that initializes configuration items as member variables. It is invoked for internal use only. Do not use it.
Prototype
APP_ERROR InitConfig(std::map<std::string, std::shared_ptr<void>> &configParamMap);
Parameter Description
Parameter |
Description |
|---|---|
configParamMap |
Configuration parameter. After streaming, the parameters in the configuration file are transferred through this variable. |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: MxModelPostProcessorBase