QxtFifo Class Reference
[QxtCore module]
The QxtFifo class provides a simple loopback QIODevice. More...
#include <QxtFifo>
Inherits QIODevice.
Public Functions
- 33 public functions inherited from QIODevice
- 29 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 4 signals inherited from QIODevice
- 1 signal inherited from QObject
- 1 public type inherited from QObject
- 4 static public members inherited from QObject
- 5 protected functions inherited from QIODevice
- 7 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
The QxtFifo class provides a simple loopback QIODevice.
read and write to the same object emits a readyRead Signal. useful for loopback tests where QBuffer does not work.
QxtFifo fifo;
QTextStream (&fifo)<<QString("foo");
QString a;
QTextStream(&fifo)>>a;
qDebug()<<a;
Member Function Documentation
QxtFifo::QxtFifo ( QObject * parent = 0 )
Constructs a new QxtFifo with parent.
void QxtFifo::clear ()