Apollo 10.0
自动驾驶开放平台
|
One Channel is related to one Receiver. 更多...
#include <reader_base.h>
Public 成员函数 | |
~ReceiverManager () | |
auto | GetReceiver (const proto::RoleAttributes &role_attr) -> typename std::shared_ptr< transport::Receiver< MessageT > > |
Get the Receiver object | |
One Channel is related to one Receiver.
ReceiverManager is in charge of attaching one Receiver to its responding Channel. We pass a DataDispatcher's callback func to this Receiver so when a message is received, it will be push to the ChannelBuffer
, and DataVisitor
will Fetch
data and pass to Reader
's callback func
MessageT | Message Type. |
在文件 reader_base.h 第 168 行定义.
|
inline |
在文件 reader_base.h 第 170 行定义.
auto apollo::cyber::ReceiverManager< MessageT >::GetReceiver | ( | const proto::RoleAttributes & | role_attr | ) | -> typename std::shared_ptr<transport::Receiver<MessageT>> |
Get the Receiver object
role_attr | the attribute that the Receiver has |
在文件 reader_base.h 第 199 行定义.