MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLOpenGLDataOptimiserProgressCallback Class Referenceabstract

Detailed Description

This abstract class allows an application to recieve progress updates from the TSLOpenGLDataOptimiser.

Public Member Functions

virtual bool progress (unsigned int tilesProcessed, unsigned int totalTiles, unsigned int estimatedTimeRemaining)=0
 
virtual ~TSLOpenGLDataOptimiserProgressCallback ()=0
 

Constructor & Destructor Documentation

◆ ~TSLOpenGLDataOptimiserProgressCallback()

TSLOpenGLDataOptimiserProgressCallback::~TSLOpenGLDataOptimiserProgressCallback ( )
inlinepure virtual

Member Function Documentation

◆ progress()

virtual bool TSLOpenGLDataOptimiserProgressCallback::progress ( unsigned int tilesProcessed,
unsigned int totalTiles,
unsigned int estimatedTimeRemaining )
pure virtual

This method will be called each time a progress update is available.

Parameters
tilesProcessedThe number of tiles in the processing operation that have been processed so far.
totalTilesThe total number of tiles in the processing operation that need to be processed before the operation is complete.
estimatedTimeRemainingAn estimation of the remaining time that the processing operation will take to complete in seconds. This estimate is based measuring the time taken to process tiles and so may be inaccurate during the early stages of processing.

Return false to abort processing, or true to continue processing.