Class TracerFactory
- All Implemented Interfaces:
Proxy
Use gst_tracer_factory_get_list() to get a list of tracer factories known to
GStreamer.
- Since:
- 1.8
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTracerFactory.Builder<B extends TracerFactory.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.static classNested classes/interfaces inherited from class PluginFeature
PluginFeature.PluginFeature$Impl, PluginFeature.PluginFeatureClassNested 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
ConstructorsConstructorDescriptionCreate a new TracerFactory.TracerFactory(MemorySegment address) Create a TracerFactory instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionprotected TracerFactoryasParent()Return this instance as if it were its parent type.static TracerFactory.Builder<? extends TracerFactory.Builder> builder()ATracerFactory.Builderobject constructs aTracerFactorywith the specified properties.static List<TracerFactory> getList()Gets the list of all registered tracer factories.static MemoryLayoutThe memory layout of the native struct.Get theGTypefor elements managed by this factory.static @Nullable TypegetType()Get the GType of the TracerFactory class.Methods inherited from class PluginFeature
checkVersion, getPlugin, getPluginName, getRank, listCopy, listDebug, listFree, load, rankCompareFunc, setRankMethods 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 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
-
TracerFactory
Create a TracerFactory instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
TracerFactory
public TracerFactory()Create a new TracerFactory.
-
-
Method Details
-
getType
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
asParent
Return this instance as if it were its parent type. Comparable to the Javasuperkeyword, but ensures the parent typeclass is also used in native code.- Overrides:
asParentin classPluginFeature- Returns:
- the instance as if it were its parent type
-
getList
Gets the list of all registered tracer factories. You must free the list using gst_plugin_feature_list_free().
The returned factories are sorted by factory name.
Free-function: gst_plugin_feature_list_free
- Returns:
- the list of all
registered
GstTracerFactory. - Since:
- 1.8
-
getTracerType
Get theGTypefor elements managed by this factory. The type can only be retrieved if the element factory is loaded, which can be assured with gst_plugin_feature_load().- Returns:
- the
GTypefor tracers managed by this factory or 0 if the factory is not loaded. - Since:
- 1.14
-
builder
ATracerFactory.Builderobject constructs aTracerFactorywith the specified properties. Use the variousset...()methods to set properties, and finish construction withTracerFactory.Builder.build().- Returns:
- the builder object
-