![]() |
Typedef for the typical usage of a serial port.
typedef basic_serial_port serial_port;
Name |
Description |
---|---|
The underlying implementation type of I/O object. |
|
A basic_serial_port is always the lowest layer. |
|
The native representation of a serial port. |
|
The type of the service that will be used to provide I/O operations. |
Name |
Description |
---|---|
Assign an existing native serial port to the serial port. |
|
Start an asynchronous read. |
|
Start an asynchronous write. |
|
Construct a basic_serial_port without opening it. |
|
Cancel all asynchronous operations associated with the serial port. |
|
Close the serial port. |
|
Get the io_service associated with the object. |
|
Get an option from the serial port. |
|
(Deprecated: use get_io_service().) Get the io_service associated with the object. |
|
Determine whether the serial port is open. |
|
Get a reference to the lowest layer. |
|
Get the native serial port representation. |
|
Open the serial port using the specified device name. |
|
Read some data from the serial port. |
|
Send a break sequence to the serial port. |
|
Set an option on the serial port. |
|
Write some data to the serial port. |
Name |
Description |
---|---|
The underlying implementation of the I/O object. |
|
The service associated with the I/O object. |
The basic_serial_port class template provides functionality that is common to all serial ports.
Distinct objects: Safe.
Shared objects: Unsafe.