Class TLspGLResourceCacheEvent

java.lang.Object
com.luciad.view.lightspeed.services.glcache.TLspGLResourceCacheEvent

public class TLspGLResourceCacheEvent extends Object
Event describing a change in resource storage or usage of an ILspGLResourceCache.
Since:
2012.0
  • Constructor Details

    • TLspGLResourceCacheEvent

      public TLspGLResourceCacheEvent(TLspGLResourceCacheEvent.Type aType, ALspGLResource aResource)
      Creates a new resource cache event of the given type for the given resource.
      Parameters:
      aType - type indicating whether the resource was just added, used, or removed
      aResource - the resource
  • Method Details

    • getType

      Gets the type of this event. Indicates whether the corresponding resource was added, used, or removed.
      Returns:
      Indicates whether the corresponding resource was added, used, or removed
    • getResource

      public ALspGLResource getResource()
      Gets the resource.
      Returns:
      the resource