#include <interface.h>

Public Member Functions | |
| virtual bool | doesLoopBack () const =0 |
| virtual State | getState ()=0 |
| virtual bool | init (const std::string &device, bool loopback)=0 |
| virtual bool | recover ()=0 |
| virtual void | run ()=0 |
| virtual void | shutdown ()=0 |
| virtual bool | translateError (unsigned int internal_error, std::string &str)=0 |
| virtual | ~DriverInterface () |
Definition at line 151 of file interface.h.
| virtual can::DriverInterface::~DriverInterface | ( | ) | [inline, virtual] |
Definition at line 187 of file interface.h.
| virtual bool can::DriverInterface::doesLoopBack | ( | ) | const [pure virtual] |
Implemented in can::DummyInterface, and can::SocketCANInterface.
| virtual State can::DriverInterface::getState | ( | ) | [pure virtual] |
Implemented in can::AsioDriver< Socket >, can::AsioDriver< boost::asio::posix::stream_descriptor >, and can::DummyInterface.
| virtual bool can::DriverInterface::init | ( | const std::string & | device, |
| bool | loopback | ||
| ) | [pure virtual] |
initialize interface
| [in] | device,: | driver-specific device name/path |
| [in] | loopback,: | loop-back own messages |
Implemented in can::DummyInterface, and can::SocketCANInterface.
| virtual bool can::DriverInterface::recover | ( | ) | [pure virtual] |
Recover interface after errors and emergency stops
Implemented in can::SocketCANInterface, and can::DummyInterface.
| virtual void can::DriverInterface::run | ( | ) | [pure virtual] |
| virtual void can::DriverInterface::shutdown | ( | ) | [pure virtual] |
shutdown interface
Implemented in can::AsioDriver< Socket >, can::AsioDriver< boost::asio::posix::stream_descriptor >, and can::DummyInterface.
| virtual bool can::DriverInterface::translateError | ( | unsigned int | internal_error, |
| std::string & | str | ||
| ) | [pure virtual] |
Implemented in can::SocketCANInterface, and can::DummyInterface.