MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLWMSGetMapResponse Class Reference
Inheritance diagram for TSLWMSGetMapResponse:

Detailed Description

Base class for all GetMap response objects.

Public Member Functions

TSLWMSResponseCacheability cacheability () const
 
void cacheability (TSLWMSResponseCacheability value)
 
TSLDrawingSurfacegetDrawingSurface ()
 
void releaseDrawingSurface ()
 

Protected Member Functions

 TSLWMSGetMapResponse ()
 
 ~TSLWMSGetMapResponse ()
 

Constructor & Destructor Documentation

◆ TSLWMSGetMapResponse()

TSLWMSGetMapResponse::TSLWMSGetMapResponse ( )
protected

◆ ~TSLWMSGetMapResponse()

TSLWMSGetMapResponse::~TSLWMSGetMapResponse ( )
protected

Member Function Documentation

◆ cacheability() [1/2]

TSLWMSResponseCacheability TSLWMSGetMapResponse::cacheability ( ) const

Queries the cacheability of the response. This may have been set by a previous WMS plugin that also drew to the response. Plugins should merge their cachability with the existing status of this flag.

◆ cacheability() [2/2]

void TSLWMSGetMapResponse::cacheability ( TSLWMSResponseCacheability value)

Sets the cacheability of the response. This may have been set by a previous WMS plugin that also drew to the response. Plugins should merge their cachability with the existing status of this flag.

Parameters
valueThe new value to set this flag to.

◆ getDrawingSurface()

TSLDrawingSurface * TSLWMSGetMapResponse::getDrawingSurface ( )

Returns a Drawing Surface that can be used with the associated Response.

On return from the response the drawing surface should have had all the added layers removed.

This method may return NULL. If it does you will need to create a Drawing Surface within the plugin and handle the threading locally.

◆ releaseDrawingSurface()

void TSLWMSGetMapResponse::releaseDrawingSurface ( )

Releases the drawing surface, obtained using the getDrawingSurface method, back to the pool of available surfaces. This will take place automatically once the getMap method returns, but it can improve performance to return it early if suitable.