Serial port option to permit changing the parity. More...
#include <serial_port_base.hpp>
Public Types | |
enum | type { none, odd, even } |
Public Member Functions | |
asio::error_code | load (const ASIO_OPTION_STORAGE &storage, asio::error_code &ec) |
parity (type t=none) | |
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 parity.
Implements changing the parity for a given serial port.
Definition at line 87 of file serial_port_base.hpp.
Definition at line 90 of file serial_port_base.hpp.
asio::serial_port_base::parity::parity | ( | type | t = none | ) | [explicit] |
asio::error_code asio::serial_port_base::parity::load | ( | const ASIO_OPTION_STORAGE & | storage, |
asio::error_code & | ec | ||
) |
asio::error_code asio::serial_port_base::parity::store | ( | ASIO_OPTION_STORAGE & | storage, |
asio::error_code & | ec | ||
) | const |
type asio::serial_port_base::parity::value | ( | ) | const |
type asio::serial_port_base::parity::value_ [private] |
Definition at line 98 of file serial_port_base.hpp.