One Channel is related to one Receiver. ReceiverManager is in charge of attaching one Receiver to its responding Channel. We pass a DataDispatche'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.
More...
#include <reader_base.h>
template<typename MessageT>
class apollo::cyber::ReceiverManager< MessageT >
One Channel is related to one Receiver. ReceiverManager is in charge of attaching one Receiver to its responding Channel. We pass a DataDispatche'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.
- Template Parameters
-
◆ ~ReceiverManager()
template<typename MessageT >
◆ GetReceiver()
template<typename MessageT >
Get the Receiver object.
- Parameters
-
role_attr | the attribute that the Receiver has |
- Returns
- std::shared_ptr<transport::Receiver<MessageT>> result Receiver
The documentation for this class was generated from the following file: