#include <qextserialport.h>
Public Member Functions | |
QextSerialPort () | |
QextSerialPort (const QString &name) | |
QextSerialPort (PortSettings const &s) | |
QextSerialPort (const QString &name, PortSettings const &s) | |
QextSerialPort (const QextSerialPort &s) | |
QextSerialPort & | operator= (const QextSerialPort &) |
virtual | ~QextSerialPort () |
QextSerialPort::QextSerialPort | ( | ) |
Default constructor. Note that the naming convention used by a QextSerialPort constructed with this constructor will be determined by defined constants, or lack thereof - the default behavior is the same as _TTY_LINUX_. Possible naming conventions and their associated constants are:
Constant Used By Naming Convention ---------- ------------- ------------------------ _TTY_WIN_ Windows COM1, COM2 _TTY_IRIX_ SGI/IRIX /dev/ttyf1, /dev/ttyf2 _TTY_HPUX_ HP-UX /dev/tty1p0, /dev/tty2p0 _TTY_SUN_ SunOS/Solaris /dev/ttya, /dev/ttyb _TTY_DIGITAL_ Digital UNIX /dev/tty01, /dev/tty02 _TTY_FREEBSD_ FreeBSD /dev/ttyd0, /dev/ttyd1 _TTY_LINUX_ Linux /dev/ttyS0, /dev/ttyS1 <none> Linux /dev/ttyS0, /dev/ttyS1
The object will be associated with the first port in the system, e.g. COM1 on Windows systems. See the other constructors if you need to use a port other than the first.
QextSerialPort::QextSerialPort | ( | const QString & | name | ) |
QextSerialPort::QextSerialPort | ( | PortSettings const & | settings | ) |
QextSerialPort::QextSerialPort | ( | const QString & | name, | |
PortSettings const & | settings | |||
) |
QextSerialPort::QextSerialPort | ( | const QextSerialPort & | s | ) |
QextSerialPort & QextSerialPort::operator= | ( | const QextSerialPort & | s | ) |