Classes | Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
can::SimpleDispatcher< Listener > Class Template Reference

#include <dispatcher.h>

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

Classes

class  DispatcherBase
 

Public Types

typedef Listener::Callable Callable
 
typedef Listener::ListenerConstSharedPtr ListenerConstSharedPtr
 
typedef Listener::Type Type
 

Public Member Functions

ListenerConstSharedPtr createListener (const Callable &callable)
 
void dispatch (const Type &obj)
 
size_t numListeners ()
 
 operator Callable ()
 
 SimpleDispatcher ()
 

Protected Types

typedef boost::shared_ptr< DispatcherBaseDispatcherBaseSharedPtr
 

Protected Attributes

DispatcherBaseSharedPtr dispatcher_
 
boost::mutex mutex_
 

Detailed Description

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

Definition at line 14 of file dispatcher.h.

Member Typedef Documentation

template<typename Listener>
typedef Listener::Callable can::SimpleDispatcher< Listener >::Callable

Definition at line 16 of file dispatcher.h.

template<typename Listener>
typedef boost::shared_ptr<DispatcherBase> can::SimpleDispatcher< Listener >::DispatcherBaseSharedPtr
protected

Definition at line 20 of file dispatcher.h.

Definition at line 18 of file dispatcher.h.

template<typename Listener>
typedef Listener::Type can::SimpleDispatcher< Listener >::Type

Definition at line 17 of file dispatcher.h.

Constructor & Destructor Documentation

template<typename Listener>
can::SimpleDispatcher< Listener >::SimpleDispatcher ( )
inline

Definition at line 62 of file dispatcher.h.

Member Function Documentation

template<typename Listener>
ListenerConstSharedPtr can::SimpleDispatcher< Listener >::createListener ( const Callable callable)
inline

Definition at line 63 of file dispatcher.h.

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

Definition at line 67 of file dispatcher.h.

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

Definition at line 71 of file dispatcher.h.

template<typename Listener>
can::SimpleDispatcher< Listener >::operator Callable ( )
inline

Definition at line 74 of file dispatcher.h.

Member Data Documentation

template<typename Listener>
DispatcherBaseSharedPtr can::SimpleDispatcher< Listener >::dispatcher_
protected

Definition at line 60 of file dispatcher.h.

template<typename Listener>
boost::mutex can::SimpleDispatcher< Listener >::mutex_
protected

Definition at line 59 of file dispatcher.h.


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


socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Fri May 14 2021 02:59:39