Classes | Public Member Functions | Static Public Member Functions | Private Attributes
can::SimpleDispatcher< Listener >::DispatcherBase Class Reference

#include <dispatcher.h>

List of all members.

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_

Detailed Description

template<typename Listener>
class can::SimpleDispatcher< Listener >::DispatcherBase

Definition at line 19 of file dispatcher.h.


Constructor & Destructor Documentation

template<typename Listener>
can::SimpleDispatcher< Listener >::DispatcherBase::DispatcherBase ( boost::mutex &  mutex) [inline]

Definition at line 35 of file dispatcher.h.


Member Function Documentation

template<typename Listener>
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.

template<typename Listener>
void can::SimpleDispatcher< Listener >::DispatcherBase::dispatch_nolock ( const Type obj) const [inline]

Definition at line 36 of file dispatcher.h.

template<typename Listener>
size_t can::SimpleDispatcher< Listener >::DispatcherBase::numListeners ( ) [inline]

Definition at line 45 of file dispatcher.h.

template<typename Listener>
void can::SimpleDispatcher< Listener >::DispatcherBase::remove ( Listener d) [inline]

Definition at line 41 of file dispatcher.h.


Member Data Documentation

template<typename Listener>
std::list< Listener* > can::SimpleDispatcher< Listener >::DispatcherBase::listeners_ [private]

Definition at line 33 of file dispatcher.h.

template<typename Listener>
boost::mutex& can::SimpleDispatcher< Listener >::DispatcherBase::mutex_ [private]

Definition at line 32 of file dispatcher.h.


The documentation for this class was generated from the following file:


socketcan_interface
Author(s): Mathias L├╝dtke
autogenerated on Sun Sep 3 2017 03:10:38