...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Get an option from the serial port.
template< typename GettableSerialPortOption> void get_option( GettableSerialPortOption & option) const;
This function is used to get the current value of an option on the serial port.
The option value to be obtained from the serial port.
Thrown on failure.