Public Types | Public Member Functions | List of all members
can::StateInterface Class Referenceabstract

#include <interface.h>

Inheritance diagram for can::StateInterface:
Inheritance graph
[legend]

Public Types

typedef fastdelegate::FastDelegate1< const State & > StateDelegate
 
typedef Listener< const StateDelegate, const State & > StateListener
 
typedef StateListener::ListenerConstSharedPtr StateListenerConstSharedPtr
 

Public Member Functions

virtual StateListenerConstSharedPtr createStateListener (const StateDelegate &delegate)=0
 
virtual ~StateInterface ()
 

Detailed Description

Definition at line 107 of file interface.h.

Member Typedef Documentation

Definition at line 109 of file interface.h.

Definition at line 110 of file interface.h.

Definition at line 111 of file interface.h.

Constructor & Destructor Documentation

virtual can::StateInterface::~StateInterface ( )
inlinevirtual

Definition at line 121 of file interface.h.

Member Function Documentation

virtual StateListenerConstSharedPtr can::StateInterface::createStateListener ( const StateDelegate delegate)
pure virtual

acquire a listener for the specified delegate, that will get called for all state changes

Parameters
[in]delegatedelegate to be bound by the listener
Returns
managed pointer to listener

Implemented in can::AsioDriver< Socket >, can::AsioDriver< boost::asio::posix::stream_descriptor >, and can::DummyInterface.


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