Public Member Functions | |
GDALDefaultAsyncReader (GDALDataset *poDS, int nXOff, int nYOff, int nXSize, int nYSize, void *pBuf, int nBufXSize, int nBufYSize, GDALDataType eBufType, int nBandCount, int *panBandMap, int nPixelSpace, int nLineSpace, int nBandSpace, char **papszOptions) | |
virtual GDALAsyncStatusType | GetNextUpdatedRegion (double dfTimeout, int *pnBufXOff, int *pnBufYOff, int *pnBufXSize, int *pnBufYSize) |
Get async IO update. |
GDALAsyncStatusType GDALDefaultAsyncReader::GetNextUpdatedRegion | ( | double | dfTimeout, | |
int * | pnBufXOff, | |||
int * | pnBufYOff, | |||
int * | pnBufXSize, | |||
int * | pnBufXSize | |||
) | [virtual] |
Get async IO update.
Provide an opportunity for an asynchronous IO request to update the image buffer and return an indication of the area of the buffer that has been updated.
The dfTimeout parameter can be used to wait for additional data to become available. The timeout does not limit the amount of time this method may spend actually processing available data.
The following return status are possible.
dfTimeout | the number of seconds to wait for additional updates. Use -1 to wait indefinately, or zero to not wait at all if there is no data available.
|
Implements GDALAsyncReader.
References GF_Read, and GDALDataset::RasterIO().