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
ConstructorDescriptionBinClass()
Allocate a new BinClass.Allocate a new BinClass.BinClass
(MemorySegment address) Create a BinClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideAddElement
(Arena arena, Method method) Override virtual methodadd_element
.void
overrideDeepElementAdded
(Arena arena, Method method) Override virtual methoddeep_element_added
.void
overrideDeepElementRemoved
(Arena arena, Method method) Override virtual methoddeep_element_removed
.void
overrideDoLatency
(Arena arena, Method method) Override virtual methoddo_latency
.void
overrideElementAdded
(Arena arena, Method method) Override virtual methodelement_added
.void
overrideElementRemoved
(Arena arena, Method method) Override virtual methodelement_removed
.void
overrideHandleMessage
(Arena arena, Method method) Override virtual methodhandle_message
.void
overrideRemoveElement
(Arena arena, Method method) Override virtual methodremove_element
.readPool()
Read the value of the fieldpool
.void
writePool
(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, readPadTemplCookie, setMetadata, setStaticMetadata, writeElementfactory, writeMetadata, writeNumpadtemplates, writePadTemplCookie
Methods inherited from class org.freedesktop.gstreamer.gst.GstObject.ObjectClass
overrideDeepNotify, readPathStringSeparator, writePathStringSeparator
Methods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecs
Methods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGType
Methods inherited from class io.github.jwharm.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
-
BinClass
Allocate a new BinClass.- Parameters:
arena
- to control the memory allocation scope
-
BinClass
public BinClass()Allocate a new BinClass. The memory is allocated withArena.ofAuto()
.
-
-
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
-