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

#include <dispatcher.h>

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

List of all members.

Classes

class  DispatcherBase

Public Types

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

Public Member Functions

Listener::Ptr createListener (const Callable &callable)
void dispatch (const Type &obj)
size_t numListeners ()
 operator Callable ()
 SimpleDispatcher ()

Protected Attributes

boost::shared_ptr< DispatcherBasedispatcher_
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 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 59 of file dispatcher.h.


Member Function Documentation

template<typename Listener>
Listener::Ptr can::SimpleDispatcher< Listener >::createListener ( const Callable callable) [inline]

Definition at line 60 of file dispatcher.h.

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

Definition at line 64 of file dispatcher.h.

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

Definition at line 68 of file dispatcher.h.

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

Definition at line 71 of file dispatcher.h.


Member Data Documentation

template<typename Listener>
boost::shared_ptr<DispatcherBase> can::SimpleDispatcher< Listener >::dispatcher_ [protected]

Definition at line 57 of file dispatcher.h.

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

Definition at line 56 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