Eneboo - Documentación para desarrolladores
Métodos públicos
Referencia de la Clase QDataSink

The QDataSink class is an asynchronous consumer of data. Más...

#include <qasyncio.h>

Diagrama de herencias de QDataSink
QAsyncIO QAsyncIO QMoviePrivate

Lista de todos los miembros.

Métodos públicos

virtual int readyToReceive ()=0
virtual void receive (const uchar *, int count)=0
virtual void eof ()=0
void maybeReady ()
virtual int readyToReceive ()=0
virtual void receive (const uchar *, int count)=0
virtual void eof ()=0
void maybeReady ()

Descripción detallada

The QDataSink 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.

Ver también:
QAsyncIO, QDataSource, QDataPump

Documentación de las funciones miembro

void QDataSink::eof ( ) [pure virtual]

This function will be called when no more data is available for processing.

Implementado en QMoviePrivate.

virtual void QDataSink::eof ( ) [pure virtual]

Implementado en QMoviePrivate.

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.

void QDataSink::maybeReady ( )
virtual int QDataSink::readyToReceive ( ) [pure virtual]

Implementado en QMoviePrivate.

int QDataSink::readyToReceive ( ) [pure virtual]

The data sink should return a value indicating how much data it is ready to consume. This may be 0.

Implementado en QMoviePrivate.

void QDataSink::receive ( const uchar ,
int  count 
) [pure virtual]

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.

Implementado en QMoviePrivate.

virtual void QDataSink::receive ( const uchar ,
int  count 
) [pure virtual]

Implementado en QMoviePrivate.


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'