Apollo 10.0
自动驾驶开放平台
|
#include <intra_dispatcher.h>
Public 成员函数 | |
virtual | ~IntraDispatcher () |
template<typename MessageT > | |
void | OnMessage (uint64_t channel_id, const std::shared_ptr< MessageT > &message, const MessageInfo &message_info) |
template<typename MessageT > | |
void | AddListener (const RoleAttributes &self_attr, const MessageListener< MessageT > &listener) |
template<typename MessageT > | |
void | AddListener (const RoleAttributes &self_attr, const RoleAttributes &opposite_attr, const MessageListener< MessageT > &listener) |
template<typename MessageT > | |
void | RemoveListener (const RoleAttributes &self_attr) |
template<typename MessageT > | |
void | RemoveListener (const RoleAttributes &self_attr, const RoleAttributes &opposite_attr) |
![]() | |
Dispatcher () | |
virtual | ~Dispatcher () |
virtual void | Shutdown () |
template<typename MessageT > | |
void | AddListener (const RoleAttributes &self_attr, const MessageListener< MessageT > &listener) |
template<typename MessageT > | |
void | AddListener (const RoleAttributes &self_attr, const RoleAttributes &opposite_attr, const MessageListener< MessageT > &listener) |
template<typename MessageT > | |
void | RemoveListener (const RoleAttributes &self_attr) |
template<typename MessageT > | |
void | RemoveListener (const RoleAttributes &self_attr, const RoleAttributes &opposite_attr) |
bool | HasChannel (uint64_t channel_id) |
额外继承的成员函数 | |
![]() | |
std::atomic< bool > | is_shutdown_ |
AtomicHashMap< uint64_t, ListenerHandlerBasePtr > | msg_listeners_ |
base::AtomicRWLock | rw_lock_ |
在文件 intra_dispatcher.h 第 253 行定义.
|
virtual |
在文件 intra_dispatcher.cc 第 25 行定义.
void apollo::cyber::transport::IntraDispatcher::AddListener | ( | const RoleAttributes & | self_attr, |
const MessageListener< MessageT > & | listener | ||
) |
在文件 intra_dispatcher.h 第 347 行定义.
void apollo::cyber::transport::IntraDispatcher::AddListener | ( | const RoleAttributes & | self_attr, |
const RoleAttributes & | opposite_attr, | ||
const MessageListener< MessageT > & | listener | ||
) |
在文件 intra_dispatcher.h 第 376 行定义.
void apollo::cyber::transport::IntraDispatcher::OnMessage | ( | uint64_t | channel_id, |
const std::shared_ptr< MessageT > & | message, | ||
const MessageInfo & | message_info | ||
) |
在文件 intra_dispatcher.h 第 287 行定义.
void apollo::cyber::transport::IntraDispatcher::RemoveListener | ( | const RoleAttributes & | self_attr | ) |
在文件 intra_dispatcher.h 第 407 行定义.
void apollo::cyber::transport::IntraDispatcher::RemoveListener | ( | const RoleAttributes & | self_attr, |
const RoleAttributes & | opposite_attr | ||
) |
在文件 intra_dispatcher.h 第 417 行定义.