asio C++ library

PrevUpHomeNext

serial_port::serial_port

Construct a serial_port without opening it.

explicit serial_port(
    asio::io_context & io_context);
  » more...

Construct and open a serial_port.

explicit serial_port(
    asio::io_context & io_context,
    const char * device);
  » more...

explicit serial_port(
    asio::io_context & io_context,
    const std::string & device);
  » more...

Construct a serial_port on an existing native serial port.

serial_port(
    asio::io_context & io_context,
    const native_handle_type & native_serial_port);
  » more...

Move-construct a serial_port from another.

serial_port(
    serial_port && other);
  » more...

PrevUpHomeNext