Serial port option to permit changing the number of stop bits. More...
#include <serial_port_base.hpp>
Public Types | |
enum | type { one, onepointfive, two } |
Public Member Functions | |
asio::error_code | load (const ASIO_OPTION_STORAGE &storage, asio::error_code &ec) |
stop_bits (type t=one) | |
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 number of stop bits.
Implements changing the number of stop bits for a given serial port.
Definition at line 105 of file serial_port_base.hpp.
Definition at line 108 of file serial_port_base.hpp.
asio::serial_port_base::stop_bits::stop_bits | ( | type | t = one | ) | [explicit] |
asio::error_code asio::serial_port_base::stop_bits::load | ( | const ASIO_OPTION_STORAGE & | storage, |
asio::error_code & | ec | ||
) |
asio::error_code asio::serial_port_base::stop_bits::store | ( | ASIO_OPTION_STORAGE & | storage, |
asio::error_code & | ec | ||
) | const |
type asio::serial_port_base::stop_bits::value | ( | ) | const |
Definition at line 116 of file serial_port_base.hpp.