Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Tracing modules will subclass Tracer
and register through
tracerRegister
. Modules can attach to various hook-types - see
tracingRegisterHook
. When invoked they receive hook specific
contextual data, which they must not modify.
Since: 1.8
Synopsis
- newtype Tracer = Tracer (ManagedPtr Tracer)
- class (GObject o, IsDescendantOf Tracer o) => IsTracer o
- toTracer :: (MonadIO m, IsTracer o) => o -> m Tracer
- tracerRegister :: (HasCallStack, MonadIO m, IsPlugin a) => Maybe a -> Text -> GType -> m Bool
- clearTracerParams :: (MonadIO m, IsTracer o) => o -> m ()
- constructTracerParams :: (IsTracer o, MonadIO m) => Text -> m (GValueConstruct o)
- getTracerParams :: (MonadIO m, IsTracer o) => o -> m (Maybe Text)
- setTracerParams :: (MonadIO m, IsTracer o) => o -> Text -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Tracer Source # | |
GObject Tracer Source # | |
Defined in GI.Gst.Objects.Tracer | |
ManagedPtrNewtype Tracer Source # | |
Defined in GI.Gst.Objects.Tracer toManagedPtr :: Tracer -> ManagedPtr Tracer # | |
TypedObject Tracer Source # | |
Defined in GI.Gst.Objects.Tracer | |
HasParentTypes Tracer Source # | |
Defined in GI.Gst.Objects.Tracer | |
IsGValue (Maybe Tracer) Source # | Convert |
Defined in GI.Gst.Objects.Tracer | |
type ParentTypes Tracer Source # | |
Defined in GI.Gst.Objects.Tracer |
class (GObject o, IsDescendantOf Tracer o) => IsTracer o Source #
Instances
(GObject o, IsDescendantOf Tracer o) => IsTracer o Source # | |
Defined in GI.Gst.Objects.Tracer |
Methods
Click to display all available methods, including inherited ones
Methods
addControlBinding, bindProperty, bindPropertyFull, defaultError, forceFloating, freezeNotify, getv, hasActiveControlBindings, hasAncestor, hasAsAncestor, hasAsParent, isFloating, notify, notifyByPspec, ref, refSink, removeControlBinding, runDispose, stealData, stealQdata, suggestNextSync, syncValues, thawNotify, unparent, unref, watchClosure.
Getters
getControlBinding, getControlRate, getData, getGValueArray, getName, getParent, getPathString, getProperty, getQdata, getValue.
Setters
setControlBindingDisabled, setControlBindingsDisabled, setControlRate, setData, setDataFull, setName, setParent, setProperty.
register
:: (HasCallStack, MonadIO m, IsPlugin a) | |
=> Maybe a | |
-> Text |
|
-> GType |
|
-> m Bool |
Create a new tracer-factory capable of instantiating objects of the
type
and add the factory to plugin
.
Properties
params
No description available in the introspection data.
clearTracerParams :: (MonadIO m, IsTracer o) => o -> m () Source #
Set the value of the “params
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#params
constructTracerParams :: (IsTracer o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “params
” property. This is rarely needed directly, but it is used by new
.
getTracerParams :: (MonadIO m, IsTracer o) => o -> m (Maybe Text) Source #
Get the value of the “params
” property.
When overloading is enabled, this is equivalent to
get
tracer #params
setTracerParams :: (MonadIO m, IsTracer o) => o -> Text -> m () Source #
Set the value of the “params
” property.
When overloading is enabled, this is equivalent to
set
tracer [ #params:=
value ]