|
Apollo 11.0
自动驾驶开放平台
|
Base Class for data updater with multiply channels. 更多...
#include <updater_with_channels_base.h>
Public 成员函数 | |
| virtual void | GetChannelMsg (std::vector< std::string > *channels)=0 |
| GetChannelMsg | |
| 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 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 () |
Public 属性 | |
| std::vector< std::string > | channels_ |
Base Class for data updater with multiply channels.
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_with_channels_base.h 第 40 行定义.
|
pure virtual |
| void apollo::dreamview::UpdaterWithChannelsBase::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
| channels | output channel list |
| filter_message_type | message type to filter channels |
| filter_channel | channel field to filter channels |
| reverse_filter_channel | whether to filter out the channel,default to false,if ture,filter out the channel list that contains filter_channel else,filter out the channel list that not contains filter_channel |
在文件 updater_with_channels_base.cc 第 27 行定义.
| std::vector<std::string> apollo::dreamview::UpdaterWithChannelsBase::channels_ |
在文件 updater_with_channels_base.h 第 59 行定义.