Class TLcyGXYLspAsynchronousFormatWrapper


public final class TLcyGXYLspAsynchronousFormatWrapper extends TLcyAsynchronousFormatWrapper

Decorator for a synchronous ALcyFormat that makes the given format support asynchronous painting using Lightspeed rendering, if it is supported by the hardware.

To support Lightspeed rendering of layers, this format's layer factory makes use of the wrapped format's GXY layer factory and a TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory to produce instances of TLcdGXYLspAsynchronousLayerWrapper. Please consult their documentation for more information.

Note that just wrapping a format with this asynchronous decorator isn't enough. If the layers have to be painted asynchronously, the asynchronous add-on needs to be loaded as well.

To support asynchronous ILcdLayerTreeNodes, you should wrap this decorator with a TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper.

Since:
2012.0
  • Constructor Details

    • TLcyGXYLspAsynchronousFormatWrapper

      public TLcyGXYLspAsynchronousFormatWrapper(ALcyFormat aFormat, TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory aGXYLspLayerFactory)

      Creates a wrapper for the specified ALcyFormat. All layers of this format will be painted asynchronously, using Lightspeed rendering if the hardware supports it.

      Parameters:
      aFormat - The ALcyFormat for which to provide asynchronous painting using Lightspeed rendering.
      aGXYLspLayerFactory - The factory used to support Lightspeed rendering
    • TLcyGXYLspAsynchronousFormatWrapper

      public TLcyGXYLspAsynchronousFormatWrapper(ALcyFormat aFormat, TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory aGXYLspLayerFactory, ILcdFilter<ILcdGXYLayer> aLayerFilter)

      Creates a wrapper for the specified ALcyFormat. All layers of this format will be painted asynchronously, using Lightspeed rendering if the hardware supports it.

      Parameters:
      aFormat - The ALcyFormat for which to provide asynchronous painting using Lightspeed rendering
      aGXYLspLayerFactory - The factory used to support Lightspeed rendering.
      aLayerFilter - to filter used to determine if the created layers should be painted asynchronously. If null, all created layers are painted asynchronously.
  • Method Details