Apollo 10.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 () |
![]() | |
UpdaterWithChannelsBase (const std::vector< std::string > &filter_message_types, const std::vector< std::string > &filter_channels) | |
void | GetChannelMsgWithFilter (std::vector< std::string > *channels) |
bool | IsChannelInUpdater (const std::string &message_type, const std::string &channel_name) |
Check if the channel belongs to current updater. | |
![]() | |
UpdaterBase () | |
Updaterbase | |
virtual | ~UpdaterBase () |
额外继承的成员函数 | |
![]() | |
std::vector< std::string > | channels_ |
std::vector< std::string > | filter_message_types_ |
std::vector< std::string > | filter_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 第 132 行定义.
void apollo::dreamview::ObstacleUpdater::Init | ( | ) |
在文件 obstacle_updater.cc 第 42 行定义.
void apollo::dreamview::ObstacleUpdater::OnTimer | ( | const std::string & | channel_name = "" | ) |
在文件 obstacle_updater.cc 第 113 行定义.
|
overridevirtual |
Publish Message to dreamview frontend.
实现了 apollo::dreamview::UpdaterBase.
在文件 obstacle_updater.cc 第 117 行定义.
|
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 第 65 行定义.
void apollo::dreamview::ObstacleUpdater::Stop | ( | ) |
在文件 obstacle_updater.cc 第 106 行定义.
|
overridevirtual |
Stop data flow.
实现了 apollo::dreamview::UpdaterBase.
在文件 obstacle_updater.cc 第 89 行定义.