Package org.freedesktop.gstreamer.base
Class BaseSrc.BaseSrcClass
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.GObject.ObjectClass
org.gnome.gobject.InitiallyUnowned.InitiallyUnownedClass
org.freedesktop.gstreamer.gst.GstObject.ObjectClass
org.freedesktop.gstreamer.gst.Element.ElementClass
org.freedesktop.gstreamer.base.BaseSrc.BaseSrcClass
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
PushSrc.PushSrcClass
- Enclosing class:
BaseSrc
Subclasses can override any of the available virtual methods or not, as
needed. At the minimum, the
create
method should be overridden to produce
buffers.-
Constructor Summary
ConstructorDescriptionAllocate a new BaseSrcClass.BaseSrcClass
(Arena arena) Allocate a new BaseSrcClass.BaseSrcClass
(MemorySegment address) Create a BaseSrcClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideAlloc
(Arena arena, Method method) Override virtual methodalloc
.void
overrideCreate
(Arena arena, Method method) Override virtual methodcreate
.void
overrideDecideAllocation
(Arena arena, Method method) Override virtual methoddecide_allocation
.void
overrideDoSeek
(Arena arena, Method method) Override virtual methoddo_seek
.void
overrideEvent
(Arena arena, Method method) Override virtual methodevent
.void
overrideFill
(Arena arena, Method method) Override virtual methodfill
.void
overrideFixate
(Arena arena, Method method) Override virtual methodfixate
.void
overrideGetCaps
(Arena arena, Method method) Override virtual methodget_caps
.void
overrideGetSize
(Arena arena, Method method) Override virtual methodget_size
.void
overrideGetTimes
(Arena arena, Method method) Override virtual methodget_times
.void
overrideIsSeekable
(Arena arena, Method method) Override virtual methodis_seekable
.void
overrideNegotiate
(Arena arena, Method method) Override virtual methodnegotiate
.void
overridePrepareSeekSegment
(Arena arena, Method method) Override virtual methodprepare_seek_segment
.void
overrideQuery
(Arena arena, Method method) Override virtual methodquery
.void
overrideSetCaps
(Arena arena, Method method) Override virtual methodset_caps
.void
overrideStart
(Arena arena, Method method) Override virtual methodstart
.void
overrideStop
(Arena arena, Method method) Override virtual methodstop
.void
overrideUnlock
(Arena arena, Method method) Override virtual methodunlock
.void
overrideUnlockStop
(Arena arena, Method method) Override virtual methodunlock_stop
.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, 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
-
BaseSrcClass
Create a BaseSrcClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
BaseSrcClass
Allocate a new BaseSrcClass.- Parameters:
arena
- to control the memory allocation scope
-
BaseSrcClass
public BaseSrcClass()Allocate a new BaseSrcClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideGetCaps
-
overrideNegotiate
-
overrideFixate
-
overrideSetCaps
-
overrideDecideAllocation
-
overrideStart
-
overrideStop
-
overrideGetTimes
-
overrideGetSize
-
overrideIsSeekable
-
overridePrepareSeekSegment
-
overrideDoSeek
-
overrideUnlock
-
overrideUnlockStop
-
overrideQuery
Override virtual methodquery
.- Overrides:
overrideQuery
in classElement.ElementClass
- Parameters:
method
- the method to invoke
-
overrideEvent
-
overrideCreate
-
overrideAlloc
-
overrideFill
-