Apollo 10.0
自动驾驶开放平台
|
Base Class for all data updater. 更多...
#include <updater_base.h>
Public 成员函数 | |
UpdaterBase () | |
Updaterbase | |
virtual void | StartStream (const double &time_interval_ms, const std::string &channel_name="", nlohmann::json *subscribe_param=nullptr)=0 |
Start data flow. | |
virtual void | StopStream (const std::string &channel_name="")=0 |
Stop data flow. | |
virtual void | PublishMessage (const std::string &channel_name="")=0 |
Publish Message to dreamview frontend. | |
virtual | ~UpdaterBase () |
Base Class for all data updater.
The updater is responsible for maintaining and updating a data type used by the dreamview module, such as simulation_world, pointcloud, camera, pointcloud etc. Each type of data is a data stream that supports front-end and back-end communication of dreamview.
在文件 updater_base.h 第 38 行定义.
apollo::dreamview::UpdaterBase::UpdaterBase | ( | ) |
|
inlinevirtual |
在文件 updater_base.h 第 64 行定义.
|
pure virtual |
Publish Message to dreamview frontend.
在 apollo::dreamview::ChannelsUpdater, apollo::dreamview::HMI, apollo::dreamview::MapUpdater, apollo::dreamview::ObstacleUpdater, apollo::dreamview::PerceptionCameraUpdater, apollo::dreamview::PointCloudUpdater , 以及 apollo::dreamview::SimulationWorldUpdater 内被实现.
|
pure virtual |
Start data flow.
time_interval_ms | Data stream sending frequency. 0 means single subscribe |
subscribe_param | subscribe some updater may need extra params |
在 apollo::dreamview::ChannelsUpdater, apollo::dreamview::HMI, apollo::dreamview::MapUpdater, apollo::dreamview::ObstacleUpdater, apollo::dreamview::PerceptionCameraUpdater, apollo::dreamview::PointCloudUpdater , 以及 apollo::dreamview::SimulationWorldUpdater 内被实现.
|
pure virtual |