#include <TTY_IO.h>
Public Member Functions | |
Serial_Params (void) | |
Public Attributes | |
int | baudrate |
int | xonlim |
int | xofflim |
unsigned int | readmincharacters |
int | readtimeoutmsec |
bool | parityenb |
const char * | paritymode |
bool | ctsenb |
unsigned char | rtsenb |
bool | xinenb |
bool | xoutenb |
bool | modem |
bool | rcvenb |
bool | dsrenb |
bool | dtrdisable |
unsigned char | databits |
unsigned char | stopbits |
|
Definition at line 33 of file TTY_IO.cpp. References ACE_TTY_IO_NONE, baudrate, ctsenb, databits, dsrenb, dtrdisable, modem, parityenb, paritymode, rcvenb, readmincharacters, readtimeoutmsec, rtsenb, stopbits, xinenb, xofflim, xonlim, and xoutenb.
00034 { 00035 baudrate = 9600; 00036 xonlim = 0; 00037 xofflim = 0; 00038 readmincharacters = 0; 00039 readtimeoutmsec = 10000; 00040 parityenb = true; 00041 paritymode = ACE_TTY_IO_NONE; 00042 ctsenb = false; 00043 rtsenb = 0; 00044 xinenb = false; 00045 xoutenb = false; 00046 modem = false; 00047 rcvenb = true; 00048 dsrenb = false; 00049 dtrdisable = false; 00050 databits = 8; 00051 stopbits = 1; 00052 } |
|
Specifies the baudrate at which the communnication port operates. Definition at line 50 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Enable & set CTS mode. Note that RTS & CTS are enabled/disabled together on some systems (RTS/CTS is enabled if either Definition at line 81 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Data bits. Valid values 5, 6, 7 and 8 data bits. Additionally Win32 supports 4 data bits. Definition at line 106 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Controls whether DSR is disabled or enabled (Win32). Definition at line 101 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Controls whether DTR is disabled or enabled. Definition at line 103 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Specifies if device is a modem (POSIX). If not set modem status lines are ignored. Definition at line 97 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Definition at line 73 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Specifies the parity mode. POSIX supports "none", "even" and "odd" parity. Additionally Win32 supports "mark" and "space" parity modes. Definition at line 77 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Enable/disable receiver (POSIX). Definition at line 99 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Specifies the minimum number of characters for non-canonical read (POSIX). Definition at line 61 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Specifies the time to wait before returning from read. Negative value means infinite timeout. Definition at line 64 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Enable & set RTS mode. Note that RTS & CTS are enabled/disabled together on some systems (RTS/CTS is enabled if either
Definition at line 90 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Stop bits. Valid values are 1 and 2. Definition at line 108 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Enable/disable software flow control on input. Definition at line 92 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Specifies the maximum number of bytes in input buffer before XOFF char is sent. Negative value indicates that default value should be used (Win32). Definition at line 58 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Specifies the minimum number of bytes in input buffer before XON char is sent. Negative value indicates that default value should be used (Win32). Definition at line 54 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |
|
Enable/disable software flow control on output. Definition at line 94 of file TTY_IO.h. Referenced by ACE_TTY_IO::control(), and Serial_Params(). |