Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Use tracerFactoryGetList
to get a list of tracer factories known to
GStreamer.
Since: 1.8
Synopsis
- newtype TracerFactory = TracerFactory (ManagedPtr TracerFactory)
- class (GObject o, IsDescendantOf TracerFactory o) => IsTracerFactory o
- toTracerFactory :: (MonadIO m, IsTracerFactory o) => o -> m TracerFactory
- noTracerFactory :: Maybe TracerFactory
- tracerFactoryGetList :: (HasCallStack, MonadIO m) => m [TracerFactory]
- tracerFactoryGetTracerType :: (HasCallStack, MonadIO m, IsTracerFactory a) => a -> m GType
Exported types
newtype TracerFactory Source #
Memory-managed wrapper type.
Instances
Eq TracerFactory Source # | |
Defined in GI.Gst.Objects.TracerFactory (==) :: TracerFactory -> TracerFactory -> Bool # (/=) :: TracerFactory -> TracerFactory -> Bool # | |
GObject TracerFactory Source # | |
Defined in GI.Gst.Objects.TracerFactory gobjectType :: IO GType # | |
IsGValue TracerFactory Source # | Convert |
Defined in GI.Gst.Objects.TracerFactory toGValue :: TracerFactory -> IO GValue # fromGValue :: GValue -> IO TracerFactory # | |
HasParentTypes TracerFactory Source # | |
Defined in GI.Gst.Objects.TracerFactory | |
type ParentTypes TracerFactory Source # | |
Defined in GI.Gst.Objects.TracerFactory |
class (GObject o, IsDescendantOf TracerFactory o) => IsTracerFactory o Source #
Type class for types which can be safely cast to TracerFactory
, for instance with toTracerFactory
.
Instances
(GObject o, IsDescendantOf TracerFactory o) => IsTracerFactory o Source # | |
Defined in GI.Gst.Objects.TracerFactory |
toTracerFactory :: (MonadIO m, IsTracerFactory o) => o -> m TracerFactory Source #
Cast to TracerFactory
, for types for which this is known to be safe. For general casts, use castTo
.
noTracerFactory :: Maybe TracerFactory Source #
A convenience alias for Nothing
:: Maybe
TracerFactory
.
Methods
Overloaded methods
getList
:: (HasCallStack, MonadIO m) | |
=> m [TracerFactory] | Returns: the list of all
registered |
Gets the list of all registered tracer factories. You must free the
list using pluginFeatureListFree
.
The returned factories are sorted by factory name.
Free-function: gst_plugin_feature_list_free
Since: 1.8
getTracerType
tracerFactoryGetTracerType Source #
:: (HasCallStack, MonadIO m, IsTracerFactory a) | |
=> a |
|
-> m GType | Returns: the |
Get the GType
for elements managed by this factory. The type can
only be retrieved if the element factory is loaded, which can be
assured with pluginFeatureLoad
.