gi-gst-1.0.29: GStreamer bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gst.Objects.Tracer

Description

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

Exported types

newtype Tracer Source #

Memory-managed wrapper type.

Constructors

Tracer (ManagedPtr Tracer) 

Instances

Instances details
Eq Tracer Source # 
Instance details

Defined in GI.Gst.Objects.Tracer

Methods

(==) :: Tracer -> Tracer -> Bool #

(/=) :: Tracer -> Tracer -> Bool #

GObject Tracer Source # 
Instance details

Defined in GI.Gst.Objects.Tracer

ManagedPtrNewtype Tracer Source # 
Instance details

Defined in GI.Gst.Objects.Tracer

Methods

toManagedPtr :: Tracer -> ManagedPtr Tracer

TypedObject Tracer Source # 
Instance details

Defined in GI.Gst.Objects.Tracer

Methods

glibType :: IO GType

HasParentTypes Tracer Source # 
Instance details

Defined in GI.Gst.Objects.Tracer

IsGValue (Maybe Tracer) Source #

Convert Tracer to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gst.Objects.Tracer

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Tracer -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe Tracer)

type ParentTypes Tracer Source # 
Instance details

Defined in GI.Gst.Objects.Tracer

type ParentTypes Tracer = '[Object, Object]

class (GObject o, IsDescendantOf Tracer o) => IsTracer o Source #

Type class for types which can be safely cast to Tracer, for instance with toTracer.

Instances

Instances details
(GObject o, IsDescendantOf Tracer o) => IsTracer o Source # 
Instance details

Defined in GI.Gst.Objects.Tracer

toTracer :: (MonadIO m, IsTracer o) => o -> m Tracer Source #

Cast to Tracer, for types for which this is known to be safe. For general casts, use castTo.

Methods

register

tracerRegister Source #

Arguments

:: (HasCallStack, MonadIO m, IsPlugin a) 
=> Maybe a

plugin: A Plugin, or Nothing for a static typefind function

-> Text

name: The name for registering

-> GType

type: GType of tracer to register

-> m Bool

Returns: True, if the registering succeeded, False on error

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 ]