Default service implementation for a serial port.
class serial_port_service : public io_service::service
Name |
Description |
---|---|
The type of a serial port implementation. |
|
The native handle type. |
|
(Deprecated: Use native_handle_type.) The native handle type. |
Name |
Description |
---|---|
Assign an existing native handle to a serial port. |
|
Start an asynchronous read. |
|
Start an asynchronous write. |
|
Cancel all asynchronous operations associated with the handle. |
|
Close a serial port implementation. |
|
Construct a new serial port implementation. |
|
Destroy a serial port implementation. |
|
Get the io_service object that owns the service. |
|
Get a serial port option. |
|
Determine whether the handle is open. |
|
Move-assign from another serial port implementation. |
|
Move-construct a new serial port implementation. |
|
(Deprecated: Use native_handle().) Get the native handle implementation. |
|
Get the native handle implementation. |
|
Open a serial port. |
|
Read some data from the stream. |
|
Send a break sequence to the serial port. |
|
Construct a new serial port service for the specified io_service. |
|
Set a serial port option. |
|
Write the given data to the stream. |
Name |
Description |
---|---|
The unique service identifier. |
Header: asio/serial_port_service.hpp
Convenience header: asio.hpp