...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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. |
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. |
|
(Deprecated: use get_io_service().) Get the io_service object that owns the service. |
|
Determine whether the handle is open. |
|
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. |
|
Destroy all user-defined handler objects owned by the service. |
|
Write the given data to the stream. |
Name |
Description |
---|---|
The unique service identifier. |