17 #ifndef CYBER_TRANSPORT_RECEIVER_INTRA_RECEIVER_H_ 18 #define CYBER_TRANSPORT_RECEIVER_INTRA_RECEIVER_H_ 38 void Enable(
const RoleAttributes& opposite_attr)
override;
39 void Disable(
const RoleAttributes& opposite_attr)
override;
47 const RoleAttributes& attr,
66 std::placeholders::_1, std::placeholders::_2));
83 this->
attr_, opposite_attr,
85 std::placeholders::_2));
97 #endif // CYBER_TRANSPORT_RECEIVER_INTRA_RECEIVER_H_ bool enabled_
Definition: endpoint.h:45
Definition: receiver.h:32
void AddListener(const RoleAttributes &self_attr, const MessageListener< MessageT > &listener)
Definition: intra_dispatcher.h:345
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
void RemoveListener(const RoleAttributes &self_attr)
Definition: intra_dispatcher.h:399
Definition: intra_dispatcher.h:251
IntraReceiver(const RoleAttributes &attr, const typename Receiver< M >::MessageListener &msg_listener)
Definition: intra_receiver.h:46
RoleAttributes attr_
Definition: endpoint.h:47
Definition: intra_receiver.h:29
void Enable() override
Definition: intra_receiver.h:59
virtual ~IntraReceiver()
Definition: intra_receiver.h:54
std::function< void(const MessagePtr &, const MessageInfo &, const RoleAttributes &)> MessageListener
Definition: receiver.h:36
void Disable() override
Definition: intra_receiver.h:71