Logo Search packages:      
Sourcecode: qtemu version File versions  Download package

QextSerialBase Class Reference

#include <qextserialbase.h>

Inheritance diagram for QextSerialBase:

Posix_QextSerialPort Win_QextSerialPort

List of all members.

Detailed Description

Stefan Sander

Michal Policht

A common base class for Win_QextSerialBase, Posix_QextSerialBase and QextSerialPort.

Definition at line 145 of file qextserialbase.h.

Public Types

enum  QueryMode { Polling, EventDriven }


void dsrChanged (bool status)

Public Member Functions

virtual bool atEnd () const
virtual BaudRateType baudRate () const
virtual qint64 bytesAvailable () const =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
virtual ParityType parity () const
virtual QString portName () const
 QextSerialBase (const QString &name)
 QextSerialBase ()
QextSerialBase::QueryMode queryMode () const
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 setQueryMode (QueryMode mode)
virtual void setRts (bool set=true)=0
virtual void setStopBits (StopBitsType)=0
virtual void setTimeout (long)=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

QextSerialBase::QueryMode _queryMode
ulong lastErr
QMutex * mutex
QString port
PortSettings Settings

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

Generated by  Doxygen 1.6.0   Back to index