Apollo 10.0
自动驾驶开放平台
apollo::cyber::plugin_manager 命名空间参考

class  PluginDescription
 
class  PluginManager
 

函数

bool FindPlunginIndexPath (const std::string &base_path, std::vector< std::string > *path_list)
 find cyber_plugin_index directory
 

函数说明

◆ FindPlunginIndexPath()

bool apollo::cyber::plugin_manager::FindPlunginIndexPath ( const std::string &  base_path,
std::vector< std::string > *  path_list 
)

find cyber_plugin_index directory

参数
base_pathsearch root
path_listvector for storing result
返回
true if at least one is found

在文件 plugin_manager.cc98 行定义.

99 {
100 // TODO(liangjinping): change to configurable
102 base_path, "cyber_plugin_index", DT_DIR, true, path_list);
103 return count > 0;
104}
size_t FindPathByPattern(const std::string &base_path, const std::string &patt, const unsigned char d_type, const bool recursive, std::vector< std::string > *result_list)
Find path with pattern
Definition file.cc:374