Apollo 11.0
自动驾驶开放平台
apollo::perception::lidar::ConfigUtil类 参考

#include <config_util.h>

apollo::perception::lidar::ConfigUtil 的协作图:

静态 Public 成员函数

static std::string GetFullClassName (const std::string &class_name)
 Given the class name of perception module, combine the namespace "apollo::perception::lidar::" with it to create an instance of the class.
 

详细描述

在文件 config_util.h25 行定义.

成员函数说明

◆ GetFullClassName()

std::string apollo::perception::lidar::ConfigUtil::GetFullClassName ( const std::string &  class_name)
static

Given the class name of perception module, combine the namespace "apollo::perception::lidar::" with it to create an instance of the class.

参数
class_nameThe class name without namespace.
返回
The perception class name with namespace.

在文件 config_util.cc23 行定义.

23 {
24 static const std::string kNameSpace = "apollo::perception::lidar::";
25 // If the class name already has namespace in it, do nothing.
26 if (class_name.find("::") != std::string::npos) {
27 return class_name;
28 }
29 return kNameSpace + class_name;
30}

该类的文档由以下文件生成: