Apollo 10.0
自动驾驶开放平台
apollo::dreamview::DvPluginManager类 参考

A class that manages dreamview plus plug-ins. 更多...

#include <dv_plugin_manager.h>

apollo::dreamview::DvPluginManager 的协作图:

Public 成员函数

 DvPluginManager (CivetServer *server, UpdaterManager *updater_manager)
 
void Init ()
 Method to initialize the plug-in management class.
 
void Start ()
 Methods to run the plug-in management class.
 
void Stop ()
 Methods to stop the resource of plug-in management class.
 

Public 属性

apollo::dreamview::DataHandlerConf data_handler_conf_
 

详细描述

A class that manages dreamview plus plug-ins.

在文件 dv_plugin_manager.h42 行定义.

构造及析构函数说明

◆ DvPluginManager()

apollo::dreamview::DvPluginManager::DvPluginManager ( CivetServer *  server,
UpdaterManager updater_manager 
)
inlineexplicit

在文件 dv_plugin_manager.h44 行定义.

45 : server_(server), updater_manager_(updater_manager) {}

成员函数说明

◆ Init()

void apollo::dreamview::DvPluginManager::Init ( )

Method to initialize the plug-in management class.

在文件 dv_plugin_manager.cc25 行定义.

25 {
26 AutoLoadPlugins();
27 GetPluginClassNames();
28 CreatePluginInstances();
29}

◆ Start()

void apollo::dreamview::DvPluginManager::Start ( )

Methods to run the plug-in management class.

在文件 dv_plugin_manager.cc31 行定义.

31{ RunInstances(); }

◆ Stop()

void apollo::dreamview::DvPluginManager::Stop ( )

Methods to stop the resource of plug-in management class.

在文件 dv_plugin_manager.cc126 行定义.

126 {
127 for (const auto &instance : plugin_instance_map_) {
128 AINFO << "Instance: " << instance.first << " stopped";
129 instance.second->Stop();
130 }
131}
#define AINFO
Definition log.h:42

类成员变量说明

◆ data_handler_conf_

apollo::dreamview::DataHandlerConf apollo::dreamview::DvPluginManager::data_handler_conf_

在文件 dv_plugin_manager.h62 行定义.


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