Package org.freedesktop.gstreamer.gst
Class Bin.BinClass
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
Pipeline.PipelineClass
- Enclosing class:
Bin
Subclasses can override
GstBinClass::add_element and GstBinClass::remove_element
to update the list of children in the bin.
The GstBinClass::handle_message method can be overridden to implement custom
message handling.
GstBinClass::deep_element_added will be called when a new element has been
added to any bin inside this bin, so it will also be called if a new child
was added to a sub-bin of this bin. GstBin implementations that override
this message should chain up to the parent class implementation so the
GstBin::deep-element-added signal is emitted on all parents.
-
Constructor Summary
ConstructorsConstructorDescriptionBinClass(MemorySegment address) Create a BinClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.voidoverrideAddElement(Arena arena, @Nullable Method method) Override virtual methodadd_element.voidoverrideDeepElementAdded(Arena arena, @Nullable Method method) Override virtual methoddeep_element_added.voidoverrideDeepElementRemoved(Arena arena, @Nullable Method method) Override virtual methoddeep_element_removed.voidoverrideDoLatency(Arena arena, @Nullable Method method) Override virtual methoddo_latency.voidoverrideElementAdded(Arena arena, @Nullable Method method) Override virtual methodelement_added.voidoverrideElementRemoved(Arena arena, @Nullable Method method) Override virtual methodelement_removed.voidoverrideHandleMessage(Arena arena, @Nullable Method method) Override virtual methodhandle_message.voidoverrideRemoveElement(Arena arena, @Nullable Method method) Override virtual methodremove_element.readPool()Read the value of the fieldpool.voidwritePool(ThreadPool pool) Write a value in the fieldpool.Methods inherited from class org.freedesktop.gstreamer.gst.Element.ElementClass
addMetadata, addPadTemplate, addStaticMetadata, addStaticPadTemplate, addStaticPadTemplateWithGtype, getMetadata, getPadTemplate, getPadTemplateList, overrideChangeState, overrideGetState, overrideNoMorePads, overridePadAdded, overridePadRemoved, overridePostMessage, overrideProvideClock, overrideQuery, overrideReleasePad, overrideRequestNewPad, overrideSendEvent, overrideSetBus, overrideSetClock, overrideSetContext, overrideSetState, overrideStateChanged, readElementfactory, readMetadata, readNumpadtemplates, readPadtemplates, readPadTemplCookie, setMetadata, setStaticMetadata, writeElementfactory, writeMetadata, writeNumpadtemplates, writePadtemplates, writePadTemplCookieMethods inherited from class org.freedesktop.gstreamer.gst.GstObject.ObjectClass
overrideDeepNotify, readPathStringSeparator, writePathStringSeparatorMethods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readConstructProperties, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeConstructProperties, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecsMethods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, get, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGTypeMethods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
BinClass
Create a BinClass proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readPool
-
writePool
Write a value in the fieldpool.- Parameters:
pool- The new value for the fieldpool
-
overrideElementAdded
-
overrideElementRemoved
-
overrideAddElement
-
overrideRemoveElement
-
overrideHandleMessage
-
overrideDoLatency
-
overrideDeepElementAdded
-
overrideDeepElementRemoved
-