APM:Libraries
|
#include <SerialDevice.h>
Public Member Functions | |
virtual | ~SerialDevice () |
virtual bool | open ()=0 |
virtual bool | close ()=0 |
virtual ssize_t | write (const uint8_t *buf, uint16_t n)=0 |
virtual ssize_t | read (uint8_t *buf, uint16_t n)=0 |
virtual void | set_blocking (bool blocking)=0 |
virtual void | set_speed (uint32_t speed)=0 |
virtual AP_HAL::UARTDriver::flow_control | get_flow_control (void) |
virtual void | set_flow_control (AP_HAL::UARTDriver::flow_control flow_control_setting) |
Definition at line 8 of file SerialDevice.h.
|
inlinevirtual |
|
pure virtual |
Implemented in ConsoleDevice, TCPServerDevice, UARTDevice, and UDPDevice.
Referenced by Linux::UARTDriver::_parseDevicePath(), and ~SerialDevice().
|
inlinevirtual |
Reimplemented in UARTDevice.
Definition at line 18 of file SerialDevice.h.
Referenced by Linux::UARTDriver::get_flow_control().
|
pure virtual |
Implemented in ConsoleDevice, TCPServerDevice, UARTDevice, and UDPDevice.
Referenced by Linux::UARTDriver::_write_fd(), Linux::UARTDriver::set_device_path(), and ~SerialDevice().
|
pure virtual |
Implemented in TCPServerDevice, UDPDevice, ConsoleDevice, and UARTDevice.
Referenced by Linux::UARTDriver::_read_fd(), and ~SerialDevice().
|
pure virtual |
Implemented in ConsoleDevice, UARTDevice, TCPServerDevice, and UDPDevice.
Referenced by Linux::UARTDriver::set_device_path(), and ~SerialDevice().
|
inlinevirtual |
Reimplemented in UARTDevice.
Definition at line 19 of file SerialDevice.h.
Referenced by Linux::UARTDriver::set_flow_control().
|
pure virtual |
Implemented in ConsoleDevice, UARTDevice, TCPServerDevice, and UDPDevice.
Referenced by Linux::UARTDriver::set_device_path(), and ~SerialDevice().
|
pure virtual |
Implemented in TCPServerDevice, UDPDevice, ConsoleDevice, and UARTDevice.
Referenced by Linux::UARTDriver::_write_fd(), and ~SerialDevice().