Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
The TQDataSink class is an asynchronous consumer of data. More...
#include <ntqasyncio.h>
Inherits TQAsyncIO.
The TQDataSink class is an asynchronous consumer of data.
A data sink is an object which receives data from some source in an asynchronous manner. This means that at some time not determined by the data sink, blocks of data are given to it from processing. The data sink is able to limit the maximum size of such blocks which it is currently able to process.
See also TQAsyncIO, TQDataSource, and TQDataPump.
This function will be called when no more data is available for processing.
The data sink should return a value indicating how much data it is ready to consume. This may be 0.
This function is called to provide data for the data sink. The count will be no more than the amount indicated by the most recent call to readyToReceive(). The sink must use all the provided data.
This file is part of the TQt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.
Copyright © 2007 Trolltech | Trademarks | TQt 3.3.8
|