|
Apollo 11.0
自动驾驶开放平台
|
#include <perception_camera_updater.h>
Public 类型 | |
| using | DvCallback = std::function< bool(const std::string &string)> |
Public 成员函数 | |
| PerceptionCameraUpdater (WebSocketHandler *websocket) | |
| void | Start (DvCallback callback_api) |
| void | Stop () |
| bool | IsEnabled () const |
| void | GetUpdate (std::string *camera_update) |
| void | GetChannelMsg (std::vector< std::string > *channels) |
| GetChannelMsg | |
| bool | ChangeChannel (std::string channel) |
| PerceptionCameraUpdater (WebSocketHandler *websocket) | |
| void | Stop () |
| 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 | GetUpdate (std::string *camera_update, const std::string &channel_name) |
| void | GetChannelMsg (std::vector< std::string > *channels) override |
| GetChannelMsg | |
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_ |
在文件 perception_camera_updater.h 第 41 行定义.
| using apollo::dreamview::PerceptionCameraUpdater::DvCallback = std::function<bool(const std::string &string)> |
在文件 perception_camera_updater.h 第 51 行定义.
|
explicit |
在文件 perception_camera_updater.cc 第 67 行定义.
|
explicit |
| bool PerceptionCameraUpdater::ChangeChannel | ( | std::string | channel | ) |
在文件 perception_camera_updater.cc 第 313 行定义.
|
virtual |
GetChannelMsg
实现了 apollo::dreamview::UpdaterWithChannelsBase.
在文件 perception_camera_updater.cc 第 294 行定义.
|
overridevirtual |
GetChannelMsg
| void PerceptionCameraUpdater::GetUpdate | ( | std::string * | camera_update | ) |
在文件 perception_camera_updater.cc 第 268 行定义.
| void PerceptionCameraUpdater::GetUpdate | ( | std::string * | camera_update, |
| const std::string & | channel_name | ||
| ) |
在文件 perception_camera_updater.cc 第 352 行定义.
|
inline |
在文件 perception_camera_updater.h 第 56 行定义.
| void PerceptionCameraUpdater::OnTimer | ( | const std::string & | channel_name = "" | ) |
在文件 perception_camera_updater.cc 第 138 行定义.
|
overridevirtual |
Publish Message to dreamview frontend.
实现了 apollo::dreamview::UpdaterBase.
在文件 perception_camera_updater.cc 第 142 行定义.
| void PerceptionCameraUpdater::Start | ( | DvCallback | callback_api | ) |
在文件 perception_camera_updater.cc 第 73 行定义.
|
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.
在文件 perception_camera_updater.cc 第 73 行定义.
| void PerceptionCameraUpdater::Stop | ( | ) |
在文件 perception_camera_updater.cc 第 79 行定义.
| void apollo::dreamview::PerceptionCameraUpdater::Stop | ( | ) |
|
overridevirtual |
Stop data flow.
实现了 apollo::dreamview::UpdaterBase.
在文件 perception_camera_updater.cc 第 120 行定义.