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

Detailed Description

This callback class is used by the TSLViewshedDataLayer to notify the application when viewshed operations have been performed.

If the application has set the datalayer to load asynchronously using TSLViewshedDataLayer::setSynchronousLoading( false ) it should provide an implementation of this class to TSLViewshedDataLayer::setCallbacks.

These callbacks will always be called by the layer, including when performing calculations synchronously.

These callbacks may be made from any thread including the application's foreground thread.

The callback implementation provided to the datalayer must not be deleted before the datalayer as callbacks may be made while the datalayer is being destroyed.

Public Member Functions

virtual void onViewShedStarted ()=0
 This method will be called when the TSLViewshedDataLayer has started a viewshed calculation.
 
virtual void onViewShedComplete ()=0
 This method will be called when the TSLViewshedDataLayer has completed a viewshed calculation.
 
virtual void onViewShedFailed ()=0
 This method will be called if a viewshed calculation has failed.
 

Member Function Documentation

◆ onViewShedComplete()

virtual void TSLViewShedDataLayerCallbacks::onViewShedComplete ( )
pure virtual

This method will be called when the TSLViewshedDataLayer has completed a viewshed calculation.

◆ onViewShedFailed()

virtual void TSLViewShedDataLayerCallbacks::onViewShedFailed ( )
pure virtual

This method will be called if a viewshed calculation has failed.

◆ onViewShedStarted()

virtual void TSLViewShedDataLayerCallbacks::onViewShedStarted ( )
pure virtual

This method will be called when the TSLViewshedDataLayer has started a viewshed calculation.