Klasse ChildProxy

Alle implementierten Schnittstellen:
PointerInterface

public class ChildProxy extends Interface
This interface abstracts handling of property sets for elements with
children. Imagine elements such as mixers or polyphonic generators. They all
have multiple #GstPad or some kind of voice objects. Another use case are
container elements like #GstBin.
The element implementing the interface acts as a parent for those child
objects.

By implementing this interface the child properties can be accessed from the
parent element by using gst_child_proxy_get() and gst_child_proxy_set().

Property names are written as `child-name::property-name`. The whole naming
scheme is recursive. Thus `child1::child2::property` is valid too, if
`child1` and `child2` implement the #GstChildProxy interface.

https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html

  • Felddetails Linksymbol

  • Konstruktordetails Linksymbol

  • Methodendetails Linksymbol

    • getClassHandler Linksymbol

      public static ClassHandler getClassHandler()
    • childAdded Linksymbol

      public void childAdded(@Nonnull Object child, @Nonnull Str name)
      Emits the #GstChildProxy::child-added signal.
      Parameter:
      child - the newly added child
      name - the name of the new child
    • childAdded Linksymbol

      public void childAdded(@Nonnull Object child, String name)
      Emits the #GstChildProxy::child-added signal.
      Parameter:
      child - the newly added child
      name - the name of the new child
    • childRemoved Linksymbol

      public void childRemoved(@Nonnull Object child, @Nonnull Str name)
      Emits the #GstChildProxy::child-removed signal.
      Parameter:
      child - the removed child
      name - the name of the old child
    • childRemoved Linksymbol

      public void childRemoved(@Nonnull Object child, String name)
      Emits the #GstChildProxy::child-removed signal.
      Parameter:
      child - the removed child
      name - the name of the old child
    • get Linksymbol

      public void get(@Nonnull Str first_property_name, Object... _ellipsis)
      Gets properties of the parent object and its children.
      Setzt außer Kraft:
      get in Klasse Object
      Parameter:
      first_property_name - name of the first property to get
      _ellipsis - return location for the first property, followed optionally by more name/return location pairs, followed by %NULL
    • get Linksymbol

      public void get(String first_property_name, Object... _ellipsis)
      Gets properties of the parent object and its children.
      Setzt außer Kraft:
      get in Klasse Object
      Parameter:
      first_property_name - name of the first property to get
      _ellipsis - return location for the first property, followed optionally by more name/return location pairs, followed by %NULL
    • getChildByIndex Linksymbol

      public Object getChildByIndex(int index)
      Fetches a child by its number.
      Parameter:
      index - the child's position in the child list
      Gibt zurück:
      the child object or %NULL if not found (index too high).
    • getChildByName Linksymbol

      public Object getChildByName(@Nonnull Str name)
      Looks up a child element by the given name.

      This virtual method has a default implementation that uses #GstObject
      together with gst_object_get_name(). If the interface is to be used with
      #GObjects, this methods needs to be overridden.
      Parameter:
      name - the child's name
      Gibt zurück:
      the child object or %NULL if not found.
    • getChildByName Linksymbol

      public Object getChildByName(String name)
      Looks up a child element by the given name.

      This virtual method has a default implementation that uses #GstObject
      together with gst_object_get_name(). If the interface is to be used with
      #GObjects, this methods needs to be overridden.
      Parameter:
      name - the child's name
      Gibt zurück:
      the child object or %NULL if not found.
    • getChildByNameRecurse Linksymbol

      public Object getChildByNameRecurse(@Nonnull Str name)
      Looks up a child element by the given full-path name.

      Similar to gst_child_proxy_get_child_by_name(), this method
      searches and returns a child given a name. The difference is that
      this method allows a hierarchical path in the form of
      child1::child2::child3. In the later example this method would
      return a reference to child3, if found. The name should be made of
      element names only and should not contain any property names.
      Parameter:
      name - the full-path child's name
      Gibt zurück:
      the child object or %NULL if not found.
    • getChildByNameRecurse Linksymbol

      public Object getChildByNameRecurse(String name)
      Looks up a child element by the given full-path name.

      Similar to gst_child_proxy_get_child_by_name(), this method
      searches and returns a child given a name. The difference is that
      this method allows a hierarchical path in the form of
      child1::child2::child3. In the later example this method would
      return a reference to child3, if found. The name should be made of
      element names only and should not contain any property names.
      Parameter:
      name - the full-path child's name
      Gibt zurück:
      the child object or %NULL if not found.
    • getChildrenCount Linksymbol

      public int getChildrenCount()
      Gets the number of child objects this parent contains.
      Gibt zurück:
      the number of child objects
    • getProperty Linksymbol

      public void getProperty(@Nonnull Str name, @Nonnull Value value)
      Gets a single property using the GstChildProxy mechanism.
      You are responsible for freeing it by calling g_value_unset()
      Setzt außer Kraft:
      getProperty in Klasse Object
      Parameter:
      name - name of the property
      value - a #GValue that should take the result.
    • getProperty Linksymbol

      public void getProperty(String name, @Nonnull Value value)
      Gets a single property using the GstChildProxy mechanism.
      You are responsible for freeing it by calling g_value_unset()
      Setzt außer Kraft:
      getProperty in Klasse Object
      Parameter:
      name - name of the property
      value - a #GValue that should take the result.
    • set Linksymbol

      public void set(@Nonnull Str first_property_name, Object... _ellipsis)
      Sets properties of the parent object and its children.
      Setzt außer Kraft:
      set in Klasse Object
      Parameter:
      first_property_name - name of the first property to set
      _ellipsis - value for the first property, followed optionally by more name/value pairs, followed by %NULL
    • set Linksymbol

      public void set(String first_property_name, Object... _ellipsis)
      Sets properties of the parent object and its children.
      Setzt außer Kraft:
      set in Klasse Object
      Parameter:
      first_property_name - name of the first property to set
      _ellipsis - value for the first property, followed optionally by more name/value pairs, followed by %NULL
    • setProperty Linksymbol

      public void setProperty(@Nonnull Str name, @Nonnull Value value)
      Sets a single property using the GstChildProxy mechanism.
      Setzt außer Kraft:
      setProperty in Klasse Object
      Parameter:
      name - name of the property to set
      value - new #GValue for the property
    • setProperty Linksymbol

      public void setProperty(String name, @Nonnull Value value)
      Sets a single property using the GstChildProxy mechanism.
      Setzt außer Kraft:
      setProperty in Klasse Object
      Parameter:
      name - name of the property to set
      value - new #GValue for the property
    • onChildAdded Linksymbol

      public SignalHandler onChildAdded(ChildProxy.OnChildAdded signal)
      Connect to signal "child-added".
      See ChildProxy.OnChildAdded.onChildAdded(ch.bailu.gtk.gobject.Object, ch.bailu.gtk.type.Str) for signal description.
      Field SIGNAL_ON_CHILD_ADDED contains original signal name and can be used as resource reference.
      Parameter:
      signal - callback function (lambda).
      Gibt zurück:
      SignalHandler. Can be used to disconnect signal and to release callback function.
    • onChildRemoved Linksymbol

      public SignalHandler onChildRemoved(ChildProxy.OnChildRemoved signal)
      Connect to signal "child-removed".
      See ChildProxy.OnChildRemoved.onChildRemoved(ch.bailu.gtk.gobject.Object, ch.bailu.gtk.type.Str) for signal description.
      Field SIGNAL_ON_CHILD_REMOVED contains original signal name and can be used as resource reference.
      Parameter:
      signal - callback function (lambda).
      Gibt zurück:
      SignalHandler. Can be used to disconnect signal and to release callback function.
    • getTypeID Linksymbol

      public static long getTypeID()
    • getParentTypeID Linksymbol

      public static long getParentTypeID()
    • getTypeSize Linksymbol

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize Linksymbol

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize Linksymbol

      public static int getInstanceSize()