⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qdatasink.3qt

📁 Trolltech公司发布的基于C++图形开发环境
💻 3QT
字号:
'\" t.TH QDataSink 3qt "24 January 2005" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQDataSink \- Asynchronous consumer of data.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 DESCRIPTIONThe QDataSink class 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://doc.trolltech.com/qdatasink.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports make our job much simpler. Thank you..PIn case of content or formattting problems with this manual page, pleasereport them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qdatasink.3qt) and the Qtversion (2.3.10).

⌨️ 快捷键说明

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