Connection client that opens a character device (such as an usb-serial) and sets the termios attributes as appropriate for linux and mac on a serial-to-can or usb-to-can controller.
More...
#include <ClientConnection.hxx>
|
| string | dev_ |
| | filename of device to open
|
| |
Connection client that opens a character device (such as an usb-serial) and sets the termios attributes as appropriate for linux and mac on a serial-to-can or usb-to-can controller.
Definition at line 161 of file ClientConnection.hxx.
◆ DeviceConnectionClient()
template<typename HubType >
| DeviceConnectionClient::DeviceConnectionClient |
( |
const string & |
name, |
|
|
HubType * |
hub, |
|
|
const string & |
dev |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| name | user-readable name of this device |
| hub | CAN packet hub or GC DirectHub to connect this device to |
| dev | filename of the device node to open |
Definition at line 170 of file ClientConnection.hxx.
◆ ~DeviceConnectionClient()
| virtual DeviceConnectionClient::~DeviceConnectionClient |
( |
| ) |
|
|
inlinevirtual |
◆ try_connect()
| void DeviceConnectionClient::try_connect |
( |
| ) |
|
|
inlineprivatevirtual |
◆ dev_
| string DeviceConnectionClient::dev_ |
|
private |
The documentation for this class was generated from the following file: