|
Apollo 11.0
自动驾驶开放平台
|
#include <config_util.h>
静态 Public 成员函数 | |
| static std::string | TransformToPathName (const std::string &name) |
| Tranform the name to part of path. | |
| static std::string | GetFullPlanningClassName (const std::string &class_name) |
| Given the class name of planning module, combine the namespace "apollo::planning::" with it to create an instance of the class. | |
| template<typename T > | |
| static bool | LoadMergedConfig (const std::string &default_config_path, const std::string &config_path, T *config) |
| Load the config and merge the default and user defined config. | |
| template<typename T > | |
| static bool | LoadOverridedConfig (const std::string &default_config_path, const std::string &config_path, T *config) |
| Load the config and override the default config by the user defined one. | |
在文件 config_util.h 第 27 行定义.
|
static |
Given the class name of planning module, combine the namespace "apollo::planning::" with it to create an instance of the class.
| class_name | The class name without namespace. |
在文件 config_util.cc 第 32 行定义.
|
static |
Load the config and merge the default and user defined config.
| default_config_path | The default config path, if the parameter is not defined in config_path, use that in this file as default. |
| config_path | The config path |
| config | The output config data. |
在文件 config_util.h 第 76 行定义.
|
static |
Load the config and override the default config by the user defined one.
If the user defined config doesn't exit, use the default.
| default_config_path | The default config path, if the parameter is not defined in config_path, use that in this file as default. |
| config_path | The config path |
| config | The output config data. |
在文件 config_util.h 第 96 行定义.
|
static |
Tranform the name to part of path.
The path must be all in lower cases.
| name | The name to be transformed. |
在文件 config_util.cc 第 26 行定义.