#include <config_manager.h>
|
| static std::vector< T > | Read (const ModelConfig &config, const std::string &name) |
| |
template<typename T>
class apollo::perception::lib::ConfigRead< std::vector< T > >
在文件 config_manager.h 第 295 行定义.
◆ Read()
在文件 config_manager.h 第 297 行定义.
298 {
299 std::vector<T> ret;
300 if (!config.get_value(name, &ret)) {
301 std::stringstream ss;
302 ss << "Config name:" << config.name() << " read failed. "
303 << "type:vector<" << typeid(T).name() << "> name:" << name;
304 throw ConfigManagerError(ss.str());
305 }
306 return std::move(ret);
307 }
该类的文档由以下文件生成: