qdatasink.3qt

来自「tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件」· 3QT 代码 · 共 56 行

3QT
56
字号
.TH QDataSink 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQDataSink \- A QDataSink is an asynchronous consumer of data.SH SYNOPSIS.br.PP\fC#include <qasyncio.h>\fR.PPInherits QAsyncIO..PP.SS "Public Members".in +1c.ti -1c.BI "virtual int \fBreadyToReceive\fR ()".br.ti -1c.BI "virtual void \fBreceive\fR ( const uchar *, int count )".br.ti -1c.BI "virtual void \fBeof\fR ()".br.ti -1c.BI "void \fBmaybeReady\fR ()".br.in -1c.SH DESCRIPTIONA QDataSink is an asynchronous consumer of data..PPA 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..PPSee also: QAsyncIO, QDataSource and QDataPump..SH MEMBER FUNCTION DOCUMENTATION.SH "void QDataSink::eof () \fC[virtual]\fR"This function will be called when no more data is available for processing..SH "void QDataSink::maybeReady ()"This should be called whenever readyToReceive() might have become non-zero. It is merely calls QAsyncIO::ready() if readyToReceive() is non-zero..SH "int QDataSink::readyToReceive () \fC[virtual]\fR"The data sink should return a value indicating how much data it is ready to consume. This may be 0..SH "void QDataSink::receive ( const uchar *, int count ) \fC[virtual]\fR"This function is called to provide data for the data sink.  The countwill be no more than the amount indicated by the most recent call toreadyToReceive().  The sink must use all the provided data..SH "SEE ALSO".BR http://www.troll.no/qt/qdatasink.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS.  See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?