|
Main Page
Class Hierarchy
Alphabetical List
Compound List
File List
Compound Members
|
#include <FXSerialPort.h>
Inheritance diagram for FXEX::FXSerialPort::

Public Methods | |
| FXSerialPort (FXApp *a, FXint no, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXSerialPort (FXInputHandle port, FXApp *a, FXObject *tgt=NULL, FXSelector sel=0) | |
| void | create () |
| FXint | getPortNumber () |
| void | setPortNumber (FXint no) |
| FXint | getSpeed () |
| void | setSpeed (FXint sp) |
| FXint | getDataBits () |
| void | setDataBits (FXint db) |
| FXint | getStopBits () |
| void | setStopBits (FXint sb) |
| FXint | getParity () |
| void | setParity (FXint p) |
| virtual FXbool | open () |
| FXSerialPort * | duplicate (FXInputHandle newHandle=INVALID_HANDLE) |
| virtual void | save (FXStream &store) const |
| virtual void | load (FXStream &store) |
| virtual | ~FXSerialPort () |
Port defaults:
Definition at line 42 of file FXSerialPort.h.
|
|||||||||||||||||||||||||||||
|
create an interface to the serial port.
|
|
|||||||||||||||||||||||||||||
|
Use an already open serial port handle.
|
|
|
dtor.
|
|
|
create resources.
Reimplemented from FXEX::FXBaseObject. |
|
|
get the port number.
Definition at line 59 of file FXSerialPort.h. |
|
|
set the device - can only be set while device not open, fails silently otherwise.
|
|
|
get the port speed.
Definition at line 65 of file FXSerialPort.h. |
|
|
set the port speed.
|
|
|
get the number of data bits.
Definition at line 71 of file FXSerialPort.h. |
|
|
set the number of data bits.
|
|
|
get the number of stop bits.
Definition at line 77 of file FXSerialPort.h. |
|
|
set the number of stop bits.
|
|
|
get the parity.
Definition at line 83 of file FXSerialPort.h. |
|
|
set the parity.
|
|
|
open the device.
Reimplemented from FXEX::FXIOHandle. |
|
|
duplicate this file handle.
Reimplemented from FXEX::FXIOHandle. |
|
|
save resources.
Reimplemented from FXEX::FXIOHandle. |
|
|
load resources.
Reimplemented from FXEX::FXIOHandle. |