Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Tracing modules will subclass Tracer
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
Synopsis
- newtype Tracer = Tracer (ManagedPtr Tracer)
- class (GObject o, IsDescendantOf Tracer o) => IsTracer o
- toTracer :: (MonadIO m, IsTracer o) => o -> m Tracer
- noTracer :: Maybe Tracer
- clearTracerParams :: (MonadIO m, IsTracer o) => o -> m ()
- constructTracerParams :: IsTracer o => Text -> IO (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
GObject Tracer Source # | |
Defined in GI.Gst.Objects.Tracer gobjectType :: IO GType # | |
HasParentTypes Tracer Source # | |
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 |
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 => Text -> IO (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 ]