#include <interface.h>
Public Types | |
typedef fastdelegate::FastDelegate1 < const State & > | StateDelegate |
typedef Listener< const StateDelegate, const State & > | StateListener |
Public Member Functions | |
virtual StateListener::Ptr | createStateListener (const StateDelegate &delegate)=0 |
virtual | ~StateInterface () |
Definition at line 102 of file interface.h.
typedef fastdelegate::FastDelegate1<const State&> can::StateInterface::StateDelegate |
Definition at line 104 of file interface.h.
typedef Listener<const StateDelegate, const State&> can::StateInterface::StateListener |
Definition at line 105 of file interface.h.
virtual can::StateInterface::~StateInterface | ( | ) | [inline, virtual] |
Definition at line 115 of file interface.h.
virtual StateListener::Ptr can::StateInterface::createStateListener | ( | const StateDelegate & | delegate | ) | [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.