#include </home/clem/local/src/opie/noncore/apps/opie-console/io_layer.h>
Inheritance diagram for IOLayer:

Public Types | |
| enum | Error { NoError = -1, Refuse = 0, CouldNotOpen = 1, ClosedUnexpected = 2, ClosedError = 3, Terminate = 4 } |
| enum | Feature { AutoConnect = 0, TransferFile = 1, Close = 2 } |
Public Slots | |
| virtual void | send (const QByteArray &)=0 |
| virtual bool | open ()=0 |
| virtual void | close ()=0 |
| virtual void | reload (const Profile &)=0 |
| virtual void | setSize (int lines, int cols) |
Signals | |
| virtual void | received (const QByteArray &) |
| virtual void | error (int, const QString &) |
| virtual void | closed () |
| virtual void | closed (IOLayer *) |
Public Member Functions | |
| IOLayer () | |
| IOLayer (const Profile &) | |
| virtual | ~IOLayer () |
| virtual QString | identifier () const =0 |
| virtual QString | name () const =0 |
| virtual int | rawIO () const |
| virtual void | closeRawIO (int) |
| virtual QBitArray | supports () const =0 |
| virtual bool | isConnected ()=0 |
Definition at line 17 of file io_layer.h.
|
|
Definition at line 20 of file io_layer.h. |
|
|
Definition at line 29 of file io_layer.h. |
|
|
a small c'tor Definition at line 3 of file io_layer.cpp. |
|
|
create an IOLayer instance from a config file the currently set group stores the profile/session information Definition at line 8 of file io_layer.cpp. |
|
|
destructor Definition at line 13 of file io_layer.cpp. |
|
|
close the io |
|
|
|
|
|
|
|
|
will close the rawIO stuff and will listen to it's data again... Reimplemented in IOSerial. Definition at line 18 of file io_layer.cpp. |
|
||||||||||||
|
an error occured int for the error number and QString for a text Reimplemented in IOBt, IOIrda, and IOModem. Referenced by IOSerial::close(), IOSerial::errorOccured(), IOSerial::open(), and IOSerial::send(). |
|
|
a small internal identifier |
|
|
|
|
|
a short name |
|
|
bool open |
|
|
a file descriptor which opens the device for io but does not do any ioctling on it... and it'll stop listening to the before opened device Reimplemented in IOSerial. Definition at line 15 of file io_layer.cpp. |
|
|
received input as QCString Reimplemented in IOBt, IOIrda, IOModem, and MyPty. Referenced by IOSerial::dataArrived(). |
|
|
closes and reloads the settings |
|
|
send a QCString to the device |
|
||||||||||||
|
set the size needed for pty Reimplemented in MyPty, and MyPty. Definition at line 21 of file io_layer.cpp. |
|
|
What does the IOLayer support? Bits are related to features |
1.4.2