#include <dispatcher.h>
Public Member Functions | |
ListenerConstSharedPtr | createListener (const Callable &callable) |
BaseClass::ListenerConstSharedPtr | createListener (const K &key, const typename BaseClass::Callable &callable) |
template<typename T > | |
BaseClass::ListenerConstSharedPtr | createListener (const T &key, const typename BaseClass::Callable &callable) |
void | dispatch (const K &key, const typename BaseClass::Type &obj) |
void | dispatch (const typename BaseClass::Type &obj) |
operator typename BaseClass::Callable () | |
Public Member Functions inherited from can::SimpleDispatcher< Listener > | |
ListenerConstSharedPtr | createListener (const Callable &callable) |
void | dispatch (const Type &obj) |
size_t | numListeners () |
operator Callable () | |
SimpleDispatcher () | |
Private Types | |
using | BaseClass = SimpleDispatcher< Listener > |
Private Attributes | |
std::unordered_map< K, typename BaseClass::DispatcherBaseSharedPtr, Hash > | filtered_ |
Additional Inherited Members | |
Public Types inherited from can::SimpleDispatcher< Listener > | |
using | Callable = typename Listener::Callable |
using | ListenerConstSharedPtr = typename Listener::ListenerConstSharedPtr |
using | Type = typename Listener::Type |
Protected Types inherited from can::SimpleDispatcher< Listener > | |
using | DispatcherBaseSharedPtr = std::shared_ptr< DispatcherBase > |
Protected Attributes inherited from can::SimpleDispatcher< Listener > | |
DispatcherBaseSharedPtr | dispatcher_ |
boost::mutex | mutex_ |
Definition at line 80 of file dispatcher.h.
|
private |
Definition at line 81 of file dispatcher.h.
|
inline |
Definition at line 66 of file dispatcher.h.
|
inline |
Definition at line 85 of file dispatcher.h.
|
inline |
Definition at line 94 of file dispatcher.h.
|
inline |
Definition at line 98 of file dispatcher.h.
|
inline |
Definition at line 106 of file dispatcher.h.
|
inline |
Definition at line 110 of file dispatcher.h.
|
private |
Definition at line 82 of file dispatcher.h.