Apollo 10.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 | |
![]() | |
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_ |
在文件 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 第 353 行定义.
|
inline |
在文件 perception_camera_updater.h 第 56 行定义.
void PerceptionCameraUpdater::OnTimer | ( | const std::string & | channel_name = "" | ) |
在文件 perception_camera_updater.cc 第 139 行定义.
|
overridevirtual |
Publish Message to dreamview frontend.
实现了 apollo::dreamview::UpdaterBase.
在文件 perception_camera_updater.cc 第 143 行定义.
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 第 74 行定义.
void PerceptionCameraUpdater::Stop | ( | ) |
在文件 perception_camera_updater.cc 第 79 行定义.
void apollo::dreamview::PerceptionCameraUpdater::Stop | ( | ) |
|
overridevirtual |
Stop data flow.
实现了 apollo::dreamview::UpdaterBase.
在文件 perception_camera_updater.cc 第 121 行定义.