Logo Search packages:      
Sourcecode: qmk-groundstation version File versions  Download package

QextSerialBase Class Reference

Inheritance diagram for QextSerialBase:

Posix_QextSerialPort Win_QextSerialPort

List of all members.

Detailed Description

Stefan Sander
A common base class for Win_QextSerialBase, Posix_QextSerialBase and QextSerialPort.

Definition at line 141 of file qextserialbase.h.

Public Member Functions

virtual bool atEnd () const
virtual BaudRateType baudRate () const
virtual qint64 bytesAvailable ()=0
virtual void close ()=0
virtual void construct ()
virtual DataBitsType dataBits () const
virtual FlowType flowControl () const
virtual void flush ()=0
virtual bool isSequential () const
virtual ulong lastError () const
virtual ulong lineStatus ()=0
virtual bool open (OpenMode mode=0)=0
virtual ParityType parity () const
virtual QString portName () const
 QextSerialBase (const QString &name)
 QextSerialBase ()
virtual qint64 readLine (char *data, qint64 maxSize)
virtual void setBaudRate (BaudRateType)=0
virtual void setDataBits (DataBitsType)=0
virtual void setDtr (bool set=true)=0
virtual void setFlowControl (FlowType)=0
virtual void setParity (ParityType)=0
virtual void setPortName (const QString &name)
virtual void setRts (bool set=true)=0
virtual void setStopBits (StopBitsType)=0
virtual void setTimeout (ulong, ulong)=0
virtual qint64 size () const =0
virtual StopBitsType stopBits () const
virtual void translateError (ulong error)=0
virtual void ungetChar (char c)=0
virtual ~QextSerialBase ()

Protected Member Functions

virtual qint64 readData (char *data, qint64 maxSize)=0
virtual qint64 writeData (const char *data, qint64 maxSize)=0

Protected Attributes

ulong lastErr
QString port
PortSettings Settings

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index