#include <interface.h>
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 () |
Definition at line 107 of file interface.h.
typedef fastdelegate::FastDelegate1<const State&> can::StateInterface::StateDelegate |
Definition at line 109 of file interface.h.
typedef Listener<const StateDelegate, const State&> can::StateInterface::StateListener |
Definition at line 110 of file interface.h.
Definition at line 111 of file interface.h.
|
inlinevirtual |
Definition at line 121 of file interface.h.
|
pure virtual |
acquire a listener for the specified delegate, that will get called for all state changes
[in] | delegate | delegate to be bound by the listener |
Implemented in can::AsioDriver< Socket >, can::AsioDriver< boost::asio::posix::stream_descriptor >, and can::DummyInterface.