| 35 | Implementing !GDALAsyncDataset allows the user application to decide when and how often the updates occur, and reduces the potential negative impacts of threading by providing a clear synchonization point, !NextAsyncRasterIOMessage(). |
| 36 | |
| 37 | !GDALAsyncRasterIOMessage contains a buffer that is described the getParameters() function which returns a struct with the parameters passed into ProgressiveRasterIO. Note that no lock() / unlock() on the buffer is required as each buffer represents a call to the server and is a separate instance. |
| 38 | |
| 39 | Each !GDALAsyncRasterIOMessage will be small, it only contains the data for the currently requested window at a particular resolution level. These requests are usually proportional, i.e small window implies high resolution, large window implies low resolution. |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |