#include <blocker_manager.h>
|
virtual | ~BlockerManager () |
|
template<typename T > |
bool | Publish (const std::string &channel_name, const typename Blocker< T >::MessagePtr &msg) |
|
template<typename T > |
bool | Publish (const std::string &channel_name, const typename Blocker< T >::MessageType &msg) |
|
template<typename T > |
bool | Subscribe (const std::string &channel_name, size_t capacity, const std::string &callback_id, const typename Blocker< T >::Callback &callback) |
|
template<typename T > |
bool | Unsubscribe (const std::string &channel_name, const std::string &callback_id) |
|
template<typename T > |
std::shared_ptr< Blocker< T > > | GetBlocker (const std::string &channel_name) |
|
template<typename T > |
std::shared_ptr< Blocker< T > > | GetOrCreateBlocker (const BlockerAttr &attr) |
|
void | Observe () |
|
void | Reset () |
|
◆ BlockerMap
◆ ~BlockerManager()
virtual apollo::cyber::blocker::BlockerManager::~BlockerManager |
( |
| ) |
|
|
virtual |
◆ GetBlocker()
template<typename T >
std::shared_ptr< Blocker< T > > apollo::cyber::blocker::BlockerManager::GetBlocker |
( |
const std::string & |
channel_name | ) |
|
◆ GetOrCreateBlocker()
template<typename T >
std::shared_ptr< Blocker< T > > apollo::cyber::blocker::BlockerManager::GetOrCreateBlocker |
( |
const BlockerAttr & |
attr | ) |
|
◆ Instance()
static const std::shared_ptr<BlockerManager>& apollo::cyber::blocker::BlockerManager::Instance |
( |
| ) |
|
|
inlinestatic |
◆ Observe()
void apollo::cyber::blocker::BlockerManager::Observe |
( |
| ) |
|
◆ Publish() [1/2]
template<typename T >
bool apollo::cyber::blocker::BlockerManager::Publish |
( |
const std::string & |
channel_name, |
|
|
const typename Blocker< T >::MessagePtr & |
msg |
|
) |
| |
◆ Publish() [2/2]
template<typename T >
bool apollo::cyber::blocker::BlockerManager::Publish |
( |
const std::string & |
channel_name, |
|
|
const typename Blocker< T >::MessageType & |
msg |
|
) |
| |
◆ Reset()
void apollo::cyber::blocker::BlockerManager::Reset |
( |
| ) |
|
◆ Subscribe()
template<typename T >
bool apollo::cyber::blocker::BlockerManager::Subscribe |
( |
const std::string & |
channel_name, |
|
|
size_t |
capacity, |
|
|
const std::string & |
callback_id, |
|
|
const typename Blocker< T >::Callback & |
callback |
|
) |
| |
◆ Unsubscribe()
template<typename T >
bool apollo::cyber::blocker::BlockerManager::Unsubscribe |
( |
const std::string & |
channel_name, |
|
|
const std::string & |
callback_id |
|
) |
| |
The documentation for this class was generated from the following file: