Class Tracer
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gobject.TypeInstance
org.gnome.gobject.GObject
org.gnome.gobject.InitiallyUnowned
org.freedesktop.gstreamer.gst.GstObject
org.freedesktop.gstreamer.gst.Tracer
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
Tracer.Tracer$Impl
Tracing modules will subclass
GstTracer and register through
gst_tracer_register(). Modules can attach to various hook-types - see
gst_tracing_register_hook(). When invoked they receive hook specific
contextual data, which they must not modify.- Since:
- 1.8
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTracer.Builder<B extends Tracer.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.static classThe Tracer$Impl type represents a native instance of the abstract Tracer class.static classNested classes/interfaces inherited from class GstObject
GstObject.DeepNotifyCallback, GstObject.Object$Impl, GstObject.ObjectClassNested classes/interfaces inherited from class InitiallyUnowned
InitiallyUnowned.InitiallyUnownedClassNested classes/interfaces inherited from class GObject
GObject.NotifyCallback -
Constructor Summary
ConstructorsConstructorDescriptionTracer()Create a new Tracer.Tracer(MemorySegment address) Create a Tracer instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionprotected TracerasParent()Return this instance as if it were its parent type.static MemoryLayoutThe memory layout of the native struct.static @Nullable TypegetType()Get the GType of the Tracer class.static booleanCreate a new tracer-factory capable of instantiating objects of thetypeand add the factory toplugin.Methods inherited from class GstObject
addControlBinding, checkUniqueness, deepNotify, defaultDeepNotify, defaultError, emitDeepNotify, getControlBinding, getControlRate, getGValueArray, getName, getParent, getPathString, getValue, getValueArray, hasActiveControlBindings, hasAncestor, hasAsAncestor, hasAsParent, onDeepNotify, ref, refSink, removeControlBinding, replace, setControlBindingDisabled, setControlBindingsDisabled, setControlRate, setName, setParent, suggestNextSync, syncValues, unparent, unrefMethods inherited from class InitiallyUnowned
builderMethods inherited from class GObject
addToggleRef, addWeakPointer, bindProperty, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, connect, constructed, disconnect, dispatchPropertiesChanged, dispose, dupData, dupQdata, emit, emitNotify, finalize_, forceFloating, freezeNotify, get, getData, getProperty, getProperty, getProperty, getQdata, getv, interfaceFindProperty, interfaceInstallProperty, interfaceListProperties, isFloating, newInstance, newInstance, newv, notify, notify, notifyByPspec, onNotify, refSink, removeToggleRef, removeWeakPointer, replaceData, replaceQdata, runDispose, set, setData, setDataFull, setProperty, setProperty, setProperty, setQdata, setQdataFull, setv, stealData, stealQdata, takeRef, thawNotify, watchClosure, weakRef, weakUnref, withPropertiesMethods inherited from class TypeInstance
callParent, callParent, cast, getPrivate, readGClass, writeGClassMethods inherited from class ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
Tracer
Create a Tracer instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
Tracer
public Tracer()Create a new Tracer.
-
-
Method Details
-
getType
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
asParent
-
register
Create a new tracer-factory capable of instantiating objects of thetypeand add the factory toplugin.- Parameters:
plugin- AGstPlugin, ornullfor a static typefind functionname- The name for registeringtype- GType of tracer to register- Returns:
true, if the registering succeeded,falseon error
-