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

#include <dispatcher.h>

Inheritance diagram for can::SimpleDispatcher< Listener >::DispatcherBase:
Inheritance graph
[legend]

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 ListenerConstSharedPtr createListener (DispatcherBaseSharedPtr dispatcher, const Callable &callable)
 

Private Attributes

std::list< const Listener * > listeners_
 
boost::mutex & mutex_
 

Detailed Description

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

Definition at line 22 of file dispatcher.h.

Constructor & Destructor Documentation

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

Definition at line 38 of file dispatcher.h.

Member Function Documentation

template<typename Listener>
static ListenerConstSharedPtr can::SimpleDispatcher< Listener >::DispatcherBase::createListener ( DispatcherBaseSharedPtr  dispatcher,
const Callable callable 
)
inlinestatic

Definition at line 53 of file dispatcher.h.

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

Definition at line 39 of file dispatcher.h.

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

Definition at line 48 of file dispatcher.h.

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

Definition at line 44 of file dispatcher.h.

Member Data Documentation

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

Definition at line 36 of file dispatcher.h.

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

Definition at line 35 of file dispatcher.h.


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


socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Sat May 4 2019 02:40:41