#include <dispatcher.h>
Classes | |
class | GuardedListener |
Public Member Functions | |
void | dispatch_nolock (const Type &obj) const |
DispatcherBase (boost::mutex &mutex) | |
size_t | numListeners () |
void | remove (Listener *d) |
Static Public Member Functions | |
static Listener::Ptr | createListener (boost::shared_ptr< DispatcherBase > dispatcher, const Callable &callable) |
Private Attributes | |
std::list< Listener * > | listeners_ |
boost::mutex & | mutex_ |
Definition at line 19 of file dispatcher.h.
can::SimpleDispatcher< Listener >::DispatcherBase::DispatcherBase | ( | boost::mutex & | mutex | ) | [inline] |
Definition at line 35 of file dispatcher.h.
static Listener::Ptr can::SimpleDispatcher< Listener >::DispatcherBase::createListener | ( | boost::shared_ptr< DispatcherBase > | dispatcher, |
const Callable & | callable | ||
) | [inline, static] |
Definition at line 50 of file dispatcher.h.
void can::SimpleDispatcher< Listener >::DispatcherBase::dispatch_nolock | ( | const Type & | obj | ) | const [inline] |
Definition at line 36 of file dispatcher.h.
size_t can::SimpleDispatcher< Listener >::DispatcherBase::numListeners | ( | ) | [inline] |
Definition at line 45 of file dispatcher.h.
void can::SimpleDispatcher< Listener >::DispatcherBase::remove | ( | Listener * | d | ) | [inline] |
Definition at line 41 of file dispatcher.h.
std::list< Listener* > can::SimpleDispatcher< Listener >::DispatcherBase::listeners_ [private] |
Definition at line 33 of file dispatcher.h.
boost::mutex& can::SimpleDispatcher< Listener >::DispatcherBase::mutex_ [private] |
Definition at line 32 of file dispatcher.h.