| 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 |
GI.Gst.Objects.TracerFactory
Description
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.
Constructors
| TracerFactory (ManagedPtr TracerFactory) |
Instances
| GObject TracerFactory Source # | |
Defined in GI.Gst.Objects.TracerFactory Methods gobjectType :: IO GType # | |
| 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
getList
Arguments
| :: (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 #
Arguments
| :: (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.