17 #ifndef CYBER_TRANSPORT_RECEIVER_SHM_RECEIVER_H_ 18 #define CYBER_TRANSPORT_RECEIVER_SHM_RECEIVER_H_ 40 void Enable(
const RoleAttributes& opposite_attr)
override;
41 void Disable(
const RoleAttributes& opposite_attr)
override;
49 const RoleAttributes& attr,
68 std::placeholders::_1, std::placeholders::_2));
85 this->
attr_, opposite_attr,
87 std::placeholders::_2));
99 #endif // CYBER_TRANSPORT_RECEIVER_SHM_RECEIVER_H_
void AddListener(const RoleAttributes &self_attr, const MessageListener< MessageT > &listener)
Definition: shm_dispatcher.h:82
bool enabled_
Definition: endpoint.h:45
Definition: receiver.h:32
void RemoveListener(const RoleAttributes &self_attr)
Definition: dispatcher.h:144
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Definition: shm_receiver.h:31
ShmReceiver(const RoleAttributes &attr, const typename Receiver< M >::MessageListener &msg_listener)
Definition: shm_receiver.h:48
Definition: shm_dispatcher.h:45
RoleAttributes attr_
Definition: endpoint.h:47
virtual ~ShmReceiver()
Definition: shm_receiver.h:56
void Disable() override
Definition: shm_receiver.h:73
void Enable() override
Definition: shm_receiver.h:61
std::function< void(const MessagePtr &, const MessageInfo &, const RoleAttributes &)> MessageListener
Definition: receiver.h:36