#include <FLObjectFactory.h>
Lista de todos los miembros.
Tipos públicos |
| enum | BaudRateType {
BAUD50,
BAUD75,
BAUD110,
BAUD134,
BAUD150,
BAUD200,
BAUD300,
BAUD600,
BAUD1200,
BAUD1800,
BAUD2400,
BAUD4800,
BAUD9600,
BAUD14400,
BAUD19200,
BAUD38400,
BAUD56000,
BAUD57600,
BAUD76800,
BAUD115200,
BAUD128000,
BAUD256000
} |
| enum | DataBitsType { DATA_5,
DATA_6,
DATA_7,
DATA_8
} |
| enum | ParityType {
PAR_NONE,
PAR_ODD,
PAR_EVEN,
PAR_MARK,
PAR_SPACE
} |
| enum | StopBitsType { STOP_1,
STOP_1_5,
STOP_2
} |
| enum | FlowType { FLOW_OFF,
FLOW_HARDWARE,
FLOW_XONXOFF
} |
Slots públicos |
| bool | open (int mode=0) |
| void | close () |
| void | flush () |
| QIODevice::Offset | size () const |
| Q_LONG | readBlock (char *data, Q_ULONG maxSize) |
| Q_LONG | writeBlock (const QString &data, Q_ULONG size) |
| void | writeText (const QString &text) |
| int | getch () |
| int | putch (int ch) |
| int | ungetch (int ch) |
| Q_ULONG | bytesAvailable () const |
| void | setName (const QString &name) |
| QString | name () |
| void | setBaudRate (BaudRateType b) |
| void | setDataBits (DataBitsType d) |
| void | setParity (ParityType p) |
| void | setStopBits (StopBitsType s) |
| void | setFlowControl (FlowType f) |
| void | setTimeout (int sec, int msec) |
| BaudRateType | baudRate () const |
| DataBitsType | setDataBits () const |
| ParityType | setParity () const |
| StopBitsType | setStopBits () const |
| FlowType | setFlowControl () const |
| void | setRts (bool set=TRUE) |
| void | setDtr (bool set=TRUE) |
| bool | cts () const |
| bool | dsr () const |
| bool | dcd () const |
| bool | ri () const |
Métodos públicos |
| | FLSerialPortInterface (const QString &name=QString::null) |
| | ~FLSerialPortInterface () |
Documentación de las enumeraciones miembro de la clase
- Valores de enumeraciones:
| BAUD50 |
|
| BAUD75 |
|
| BAUD110 |
|
| BAUD134 |
|
| BAUD150 |
|
| BAUD200 |
|
| BAUD300 |
|
| BAUD600 |
|
| BAUD1200 |
|
| BAUD1800 |
|
| BAUD2400 |
|
| BAUD4800 |
|
| BAUD9600 |
|
| BAUD14400 |
|
| BAUD19200 |
|
| BAUD38400 |
|
| BAUD56000 |
|
| BAUD57600 |
|
| BAUD76800 |
|
| BAUD115200 |
|
| BAUD128000 |
|
| BAUD256000 |
|
- Valores de enumeraciones:
| DATA_5 |
|
| DATA_6 |
|
| DATA_7 |
|
| DATA_8 |
|
- Valores de enumeraciones:
| FLOW_OFF |
|
| FLOW_HARDWARE |
|
| FLOW_XONXOFF |
|
- Valores de enumeraciones:
| PAR_NONE |
|
| PAR_ODD |
|
| PAR_EVEN |
|
| PAR_MARK |
|
| PAR_SPACE |
|
- Valores de enumeraciones:
-
Documentación del constructor y destructor
| FLSerialPortInterface::~FLSerialPortInterface |
( |
| ) |
[inline] |
Documentación de las funciones miembro
| BaudRateType FLSerialPortInterface::baudRate |
( |
| ) |
const [inline, slot] |
| Q_ULONG FLSerialPortInterface::bytesAvailable |
( |
| ) |
const [inline, slot] |
| void FLSerialPortInterface::close |
( |
| ) |
[inline, slot] |
| bool FLSerialPortInterface::cts |
( |
| ) |
const [inline, slot] |
| bool FLSerialPortInterface::dcd |
( |
| ) |
const [inline, slot] |
| bool FLSerialPortInterface::dsr |
( |
| ) |
const [inline, slot] |
| void FLSerialPortInterface::flush |
( |
| ) |
[inline, slot] |
| int FLSerialPortInterface::getch |
( |
| ) |
[inline, slot] |
| QString FLSerialPortInterface::name |
( |
| ) |
[inline, slot] |
| bool FLSerialPortInterface::open |
( |
int |
mode = 0 | ) |
[inline, slot] |
| int FLSerialPortInterface::putch |
( |
int |
ch | ) |
[inline, slot] |
| Q_LONG FLSerialPortInterface::readBlock |
( |
char * |
data, |
|
|
Q_ULONG |
maxSize |
|
) |
| [inline, slot] |
| bool FLSerialPortInterface::ri |
( |
| ) |
const [inline, slot] |
| void FLSerialPortInterface::setBaudRate |
( |
BaudRateType |
b | ) |
[inline, slot] |
| void FLSerialPortInterface::setDataBits |
( |
DataBitsType |
d | ) |
[inline, slot] |
| DataBitsType FLSerialPortInterface::setDataBits |
( |
| ) |
const [inline, slot] |
| void FLSerialPortInterface::setDtr |
( |
bool |
set = TRUE | ) |
[inline, slot] |
| void FLSerialPortInterface::setFlowControl |
( |
FlowType |
f | ) |
[inline, slot] |
| FlowType FLSerialPortInterface::setFlowControl |
( |
| ) |
const [inline, slot] |
| void FLSerialPortInterface::setName |
( |
const QString & |
name | ) |
[inline, slot] |
| void FLSerialPortInterface::setParity |
( |
ParityType |
p | ) |
[inline, slot] |
| ParityType FLSerialPortInterface::setParity |
( |
| ) |
const [inline, slot] |
| void FLSerialPortInterface::setRts |
( |
bool |
set = TRUE | ) |
[inline, slot] |
| void FLSerialPortInterface::setStopBits |
( |
StopBitsType |
s | ) |
[inline, slot] |
| StopBitsType FLSerialPortInterface::setStopBits |
( |
| ) |
const [inline, slot] |
| void FLSerialPortInterface::setTimeout |
( |
int |
sec, |
|
|
int |
msec |
|
) |
| [inline, slot] |
| int FLSerialPortInterface::ungetch |
( |
int |
ch | ) |
[inline, slot] |
| Q_LONG FLSerialPortInterface::writeBlock |
( |
const QString & |
data, |
|
|
Q_ULONG |
size |
|
) |
| [inline, slot] |
| void FLSerialPortInterface::writeText |
( |
const QString & |
text | ) |
[inline, slot] |
La documentación para esta clase fue generada a partir del siguiente fichero: