asio C++ library

PrevUpHomeNext

basic_serial_port::basic_serial_port

Construct a basic_serial_port without opening it.

explicit basic_serial_port(
    const executor_type & ex);
  » more...

template<
    typename ExecutionContext>
explicit basic_serial_port(
    ExecutionContext & context,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint >  = defaulted_constraint());
  » more...

Construct and open a basic_serial_port.

basic_serial_port(
    const executor_type & ex,
    const char * device);
  » more...

template<
    typename ExecutionContext>
basic_serial_port(
    ExecutionContext & context,
    const char * device,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

basic_serial_port(
    const executor_type & ex,
    const std::string & device);
  » more...

template<
    typename ExecutionContext>
basic_serial_port(
    ExecutionContext & context,
    const std::string & device,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

Construct a basic_serial_port on an existing native serial port.

basic_serial_port(
    const executor_type & ex,
    const native_handle_type & native_serial_port);
  » more...

template<
    typename ExecutionContext>
basic_serial_port(
    ExecutionContext & context,
    const native_handle_type & native_serial_port,
    constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
  » more...

Move-construct a basic_serial_port from another.

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

Move-construct a basic_serial_port from a serial port of another executor type.

template<
    typename Executor1>
basic_serial_port(
    basic_serial_port< Executor1 > && other,
    constraint_t< is_convertible< Executor1, Executor >::value, defaulted_constraint >  = defaulted_constraint());
  » more...

PrevUpHomeNext