Class BaseParse.BaseParseClass

All Implemented Interfaces:
Proxy
Enclosing class:
BaseParse

public static class BaseParse.BaseParseClass extends Element.ElementClass
Subclasses can override any of the available virtual methods or not, as needed. At minimum handleFrame needs to be overridden.
  • Constructor Details

    • BaseParseClass

      public BaseParseClass(MemorySegment address)
      Create a BaseParseClass proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • overrideStart

      public void overrideStart(Arena arena, @Nullable Method method)
      Override virtual method start.
      Parameters:
      method - the method to invoke
    • overrideStop

      public void overrideStop(Arena arena, @Nullable Method method)
      Override virtual method stop.
      Parameters:
      method - the method to invoke
    • overrideSetSinkCaps

      public void overrideSetSinkCaps(Arena arena, @Nullable Method method)
      Override virtual method set_sink_caps.
      Parameters:
      method - the method to invoke
    • overrideHandleFrame

      public void overrideHandleFrame(Arena arena, @Nullable Method method)
      Override virtual method handle_frame.
      Parameters:
      method - the method to invoke
    • overridePrePushFrame

      public void overridePrePushFrame(Arena arena, @Nullable Method method)
      Override virtual method pre_push_frame.
      Parameters:
      method - the method to invoke
    • overrideConvert

      public void overrideConvert(Arena arena, @Nullable Method method)
      Override virtual method convert.
      Parameters:
      method - the method to invoke
    • overrideSinkEvent

      public void overrideSinkEvent(Arena arena, @Nullable Method method)
      Override virtual method sink_event.
      Parameters:
      method - the method to invoke
    • overrideSrcEvent

      public void overrideSrcEvent(Arena arena, @Nullable Method method)
      Override virtual method src_event.
      Parameters:
      method - the method to invoke
    • overrideGetSinkCaps

      public void overrideGetSinkCaps(Arena arena, @Nullable Method method)
      Override virtual method get_sink_caps.
      Parameters:
      method - the method to invoke
    • overrideDetect

      public void overrideDetect(Arena arena, @Nullable Method method)
      Override virtual method detect.
      Parameters:
      method - the method to invoke
    • overrideSinkQuery

      public void overrideSinkQuery(Arena arena, @Nullable Method method)
      Override virtual method sink_query.
      Parameters:
      method - the method to invoke
    • overrideSrcQuery

      public void overrideSrcQuery(Arena arena, @Nullable Method method)
      Override virtual method src_query.
      Parameters:
      method - the method to invoke