Public Member Functions | Private Attributes | List of all members
can::SimpleDispatcher< Listener >::DispatcherBase::GuardedListener Class Reference
Inheritance diagram for can::SimpleDispatcher< Listener >::DispatcherBase::GuardedListener:
Inheritance graph
[legend]

Public Member Functions

 GuardedListener (DispatcherBaseSharedPtr g, const Callable &callable)
 
virtual ~GuardedListener ()
 
- Public Member Functions inherited from can::Listener< T, U >
 Listener (const T &callable)
 
void operator() (const U &u) const
 
virtual ~Listener ()
 

Private Attributes

std::weak_ptr< DispatcherBaseguard_
 

Additional Inherited Members

- Public Types inherited from can::Listener< T, U >
using Callable = T
 
using ListenerConstSharedPtr = std::shared_ptr< const Listener >
 
using Type = U
 

Detailed Description

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

Definition at line 26 of file dispatcher.h.

Constructor & Destructor Documentation

◆ GuardedListener()

template<typename Listener>
can::SimpleDispatcher< Listener >::DispatcherBase::GuardedListener::GuardedListener ( DispatcherBaseSharedPtr  g,
const Callable callable 
)
inline

Definition at line 29 of file dispatcher.h.

◆ ~GuardedListener()

template<typename Listener>
virtual can::SimpleDispatcher< Listener >::DispatcherBase::GuardedListener::~GuardedListener ( )
inlinevirtual

Definition at line 30 of file dispatcher.h.

Member Data Documentation

◆ guard_

template<typename Listener>
std::weak_ptr<DispatcherBase> can::SimpleDispatcher< Listener >::DispatcherBase::GuardedListener::guard_
private

Definition at line 27 of file dispatcher.h.


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


socketcan_interface
Author(s): Mathias L├╝dtke
autogenerated on Tue May 4 2021 02:50:18