Class TracerFactory

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class TracerFactory extends PluginFeature
Use gst_tracer_factory_get_list() to get a list of tracer factories known to GStreamer.
Since:
1.8
  • Constructor Details

    • TracerFactory

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

      public TracerFactory()
      Create a new TracerFactory.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the TracerFactory class.
      Returns:
      the GType
    • getMemoryLayout

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

      protected TracerFactory asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class PluginFeature
      Returns:
      the instance as if it were its parent type
    • getList

      public static List<TracerFactory> getList()

      Gets the list of all registered tracer factories. You must free the list using gst_plugin_feature_list_free().

      The returned factories are sorted by factory name.

      Free-function: gst_plugin_feature_list_free

      Returns:
      the list of all registered GstTracerFactory.
      Since:
      1.8
    • getTracerType

      public Type getTracerType()
      Get the GType for elements managed by this factory. The type can only be retrieved if the element factory is loaded, which can be assured with gst_plugin_feature_load().
      Returns:
      the GType for tracers managed by this factory or 0 if the factory is not loaded.
      Since:
      1.14
    • builder

      public static TracerFactory.Builder<? extends TracerFactory.Builder> builder()
      A TracerFactory.Builder object constructs a TracerFactory with the specified properties. Use the various set...() methods to set properties, and finish construction with TracerFactory.Builder.build().
      Returns:
      the builder object