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,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value, basic_serial_port >::type *  = 0);
  » 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,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 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,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 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,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);
  » more...

Move-construct a basic_serial_port from another.

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

PrevUpHomeNext