Serial port option to permit changing the baud rate. More...
#include <serial_port_base.hpp>
Public Member Functions | |
baud_rate (unsigned int rate=0) | |
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 |
unsigned int | value () const |
Private Attributes | |
unsigned int | value_ |
Serial port option to permit changing the baud rate.
Implements changing the baud rate for a given serial port.
Definition at line 52 of file serial_port_base.hpp.
asio::serial_port_base::baud_rate::baud_rate | ( | unsigned int | rate = 0 | ) | [explicit] |
asio::error_code asio::serial_port_base::baud_rate::load | ( | const ASIO_OPTION_STORAGE & | storage, |
asio::error_code & | ec | ||
) |
asio::error_code asio::serial_port_base::baud_rate::store | ( | ASIO_OPTION_STORAGE & | storage, |
asio::error_code & | ec | ||
) | const |
unsigned int asio::serial_port_base::baud_rate::value | ( | ) | const |
unsigned int asio::serial_port_base::baud_rate::value_ [private] |
Definition at line 62 of file serial_port_base.hpp.