#include <TTY_IO.h>
Inheritance diagram for ACE_TTY_IO:
Public Types | |
enum | Control_Mode { SETPARAMS, GETPARAMS } |
Public Methods | |
int | control (Control_Mode cmd, Serial_Params *arg) const |
Interface for reading/writing serial device parameters. |
This class represents an example interface for a specific device (a serial line) It extends the capability of the underlying DEV_IO class by adding a control method that takes a special structure (Serial_Params) as argument to allow a comfortable user interface (away from that annoying termios structure, which is very specific to UNIX).
|
|
|
Interface for reading/writing serial device parameters.
|