Serial port option to permit changing the flow control. More...
#include <serial_port_base.hpp>
Public Types | |
enum | type { none, software, hardware } |
Public Member Functions | |
flow_control (type t=none) | |
asio::error_code | load (const ASIO_OPTION_STORAGE &storage, asio::error_code &ec) |
asio::error_code | store (ASIO_OPTION_STORAGE &storage, asio::error_code &ec) const |
type | value () const |
Private Attributes | |
type | value_ |
Serial port option to permit changing the flow control.
Implements changing the flow control for a given serial port.
Definition at line 69 of file serial_port_base.hpp.
Definition at line 72 of file serial_port_base.hpp.
asio::serial_port_base::flow_control::flow_control | ( | type | t = none | ) | [explicit] |
asio::error_code asio::serial_port_base::flow_control::load | ( | const ASIO_OPTION_STORAGE & | storage, |
asio::error_code & | ec | ||
) |
asio::error_code asio::serial_port_base::flow_control::store | ( | ASIO_OPTION_STORAGE & | storage, |
asio::error_code & | ec | ||
) | const |
Definition at line 80 of file serial_port_base.hpp.