Serial Transport implementation.
More...
#include <serial.hpp>
Serial Transport implementation.
Definition at line 44 of file serial.hpp.
◆ ~Serial()
| unilink::transport::Serial::~Serial |
( |
| ) |
|
|
override |
◆ Serial() [1/2]
| unilink::transport::Serial::Serial |
( |
Serial && |
| ) |
|
|
defaultnoexcept |
◆ Serial() [2/2]
| unilink::transport::Serial::Serial |
( |
const Serial & |
| ) |
|
|
delete |
◆ async_write_copy()
◆ async_write_move()
| void unilink::transport::Serial::async_write_move |
( |
std::vector< uint8_t > && |
data | ) |
|
|
overridevirtual |
◆ async_write_shared()
| void unilink::transport::Serial::async_write_shared |
( |
std::shared_ptr< const std::vector< uint8_t >> |
data | ) |
|
|
overridevirtual |
◆ create() [1/3]
◆ create() [2/3]
| static std::shared_ptr<Serial> unilink::transport::Serial::create |
( |
const config::SerialConfig & |
cfg, |
|
|
boost::asio::io_context & |
ioc |
|
) |
| |
|
static |
◆ create() [3/3]
◆ is_connected()
| bool unilink::transport::Serial::is_connected |
( |
| ) |
const |
|
overridevirtual |
◆ on_backpressure()
◆ on_bytes()
| void unilink::transport::Serial::on_bytes |
( |
OnBytes |
cb | ) |
|
|
overridevirtual |
◆ on_state()
| void unilink::transport::Serial::on_state |
( |
OnState |
cb | ) |
|
|
overridevirtual |
◆ operator=() [1/2]
| Serial& unilink::transport::Serial::operator= |
( |
const Serial & |
| ) |
|
|
delete |
◆ operator=() [2/2]
| Serial & unilink::transport::Serial::operator= |
( |
Serial && |
| ) |
|
|
defaultnoexcept |
◆ set_retry_interval()
| void unilink::transport::Serial::set_retry_interval |
( |
unsigned |
interval_ms | ) |
|
◆ start()
| void unilink::transport::Serial::start |
( |
| ) |
|
|
overridevirtual |
◆ stop()
| void unilink::transport::Serial::stop |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: