|
Apollo 11.0
自动驾驶开放平台
|
A wrapper around WebSocketHandler to keep pushing obstalcles to frontend via websocket. 更多...
#include <obstacle_updater.h>
Public 成员函数 | |
| ObstacleUpdater (WebSocketHandler *websocket) | |
| void | StartStream (const double &time_interval_ms, const std::string &channel_name="", nlohmann::json *subscribe_param=nullptr) override |
| Start data flow. | |
| void | StopStream (const std::string &channel_name) override |
| Stop data flow. | |
| void | OnTimer (const std::string &channel_name="") |
| void | PublishMessage (const std::string &channel_name="") override |
| Publish Message to dreamview frontend. | |
| void | GetChannelMsg (std::vector< std::string > *channels) |
| GetChannelMsg | |
| void | Stop () |
| void | Init () |
Public 成员函数 继承自 apollo::dreamview::UpdaterWithChannelsBase | |
| void | GetChannelMsgWithFilter (std::vector< std::string > *channels, const std::string &filter_message_type, const std::string &filter_channel, bool reverse_filter_channel=false) |
| GetChannelMsgWithFilter:by msg type and channel filter field to filter channels for DataUpdater | |
Public 成员函数 继承自 apollo::dreamview::UpdaterBase | |
| UpdaterBase () | |
| Updaterbase | |
| virtual | ~UpdaterBase () |
额外继承的成员函数 | |
Public 属性 继承自 apollo::dreamview::UpdaterWithChannelsBase | |
| std::vector< std::string > | channels_ |
A wrapper around WebSocketHandler to keep pushing obstalcles to frontend via websocket.
在文件 obstacle_updater.h 第 59 行定义.
|
explicit |
在文件 obstacle_updater.cc 第 35 行定义.
|
virtual |
GetChannelMsg
实现了 apollo::dreamview::UpdaterWithChannelsBase.
在文件 obstacle_updater.cc 第 130 行定义.
| void apollo::dreamview::ObstacleUpdater::Init | ( | ) |
在文件 obstacle_updater.cc 第 40 行定义.
| void apollo::dreamview::ObstacleUpdater::OnTimer | ( | const std::string & | channel_name = "" | ) |
在文件 obstacle_updater.cc 第 111 行定义.
|
overridevirtual |
Publish Message to dreamview frontend.
实现了 apollo::dreamview::UpdaterBase.
在文件 obstacle_updater.cc 第 115 行定义.
|
overridevirtual |
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::UpdaterBase.
在文件 obstacle_updater.cc 第 63 行定义.
| void apollo::dreamview::ObstacleUpdater::Stop | ( | ) |
在文件 obstacle_updater.cc 第 104 行定义.
|
overridevirtual |
Stop data flow.
实现了 apollo::dreamview::UpdaterBase.
在文件 obstacle_updater.cc 第 87 行定义.