Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The MetaInfo
provides information about a specific metadata
structure.
Synopsis
- newtype MetaInfo = MetaInfo (ManagedPtr MetaInfo)
- newZeroMetaInfo :: MonadIO m => m MetaInfo
- getMetaInfoApi :: MonadIO m => MetaInfo -> m GType
- setMetaInfoApi :: MonadIO m => MetaInfo -> GType -> m ()
- clearMetaInfoFreeFunc :: MonadIO m => MetaInfo -> m ()
- getMetaInfoFreeFunc :: MonadIO m => MetaInfo -> m (Maybe MetaFreeFunction)
- setMetaInfoFreeFunc :: MonadIO m => MetaInfo -> FunPtr C_MetaFreeFunction -> m ()
- clearMetaInfoInitFunc :: MonadIO m => MetaInfo -> m ()
- getMetaInfoInitFunc :: MonadIO m => MetaInfo -> m (Maybe MetaInitFunction)
- setMetaInfoInitFunc :: MonadIO m => MetaInfo -> FunPtr C_MetaInitFunction -> m ()
- getMetaInfoSize :: MonadIO m => MetaInfo -> m Word64
- setMetaInfoSize :: MonadIO m => MetaInfo -> Word64 -> m ()
- clearMetaInfoTransformFunc :: MonadIO m => MetaInfo -> m ()
- getMetaInfoTransformFunc :: MonadIO m => MetaInfo -> m (Maybe MetaTransformFunction)
- setMetaInfoTransformFunc :: MonadIO m => MetaInfo -> FunPtr C_MetaTransformFunction -> m ()
- getMetaInfoType :: MonadIO m => MetaInfo -> m GType
- setMetaInfoType :: MonadIO m => MetaInfo -> GType -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq MetaInfo Source # | |
BoxedPtr MetaInfo Source # | |
Defined in GI.Gst.Structs.MetaInfo boxedPtrCopy :: MetaInfo -> IO MetaInfo boxedPtrFree :: MetaInfo -> IO () | |
CallocPtr MetaInfo Source # | |
Defined in GI.Gst.Structs.MetaInfo boxedPtrCalloc :: IO (Ptr MetaInfo) | |
ManagedPtrNewtype MetaInfo Source # | |
Defined in GI.Gst.Structs.MetaInfo toManagedPtr :: MetaInfo -> ManagedPtr MetaInfo | |
tag ~ 'AttrSet => Constructible MetaInfo tag Source # | |
Methods
Properties
api
tag identifying the metadata structure and api
getMetaInfoApi :: MonadIO m => MetaInfo -> m GType Source #
Get the value of the “api
” field.
When overloading is enabled, this is equivalent to
get
metaInfo #api
setMetaInfoApi :: MonadIO m => MetaInfo -> GType -> m () Source #
Set the value of the “api
” field.
When overloading is enabled, this is equivalent to
set
metaInfo [ #api:=
value ]
freeFunc
function for freeing the metadata
clearMetaInfoFreeFunc :: MonadIO m => MetaInfo -> m () Source #
Set the value of the “free_func
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#freeFunc
getMetaInfoFreeFunc :: MonadIO m => MetaInfo -> m (Maybe MetaFreeFunction) Source #
Get the value of the “free_func
” field.
When overloading is enabled, this is equivalent to
get
metaInfo #freeFunc
setMetaInfoFreeFunc :: MonadIO m => MetaInfo -> FunPtr C_MetaFreeFunction -> m () Source #
Set the value of the “free_func
” field.
When overloading is enabled, this is equivalent to
set
metaInfo [ #freeFunc:=
value ]
initFunc
function for initializing the metadata
clearMetaInfoInitFunc :: MonadIO m => MetaInfo -> m () Source #
Set the value of the “init_func
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#initFunc
getMetaInfoInitFunc :: MonadIO m => MetaInfo -> m (Maybe MetaInitFunction) Source #
Get the value of the “init_func
” field.
When overloading is enabled, this is equivalent to
get
metaInfo #initFunc
setMetaInfoInitFunc :: MonadIO m => MetaInfo -> FunPtr C_MetaInitFunction -> m () Source #
Set the value of the “init_func
” field.
When overloading is enabled, this is equivalent to
set
metaInfo [ #initFunc:=
value ]
size
size of the metadata
getMetaInfoSize :: MonadIO m => MetaInfo -> m Word64 Source #
Get the value of the “size
” field.
When overloading is enabled, this is equivalent to
get
metaInfo #size
setMetaInfoSize :: MonadIO m => MetaInfo -> Word64 -> m () Source #
Set the value of the “size
” field.
When overloading is enabled, this is equivalent to
set
metaInfo [ #size:=
value ]
transformFunc
function for transforming the metadata
clearMetaInfoTransformFunc :: MonadIO m => MetaInfo -> m () Source #
Set the value of the “transform_func
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#transformFunc
getMetaInfoTransformFunc :: MonadIO m => MetaInfo -> m (Maybe MetaTransformFunction) Source #
Get the value of the “transform_func
” field.
When overloading is enabled, this is equivalent to
get
metaInfo #transformFunc
setMetaInfoTransformFunc :: MonadIO m => MetaInfo -> FunPtr C_MetaTransformFunction -> m () Source #
Set the value of the “transform_func
” field.
When overloading is enabled, this is equivalent to
set
metaInfo [ #transformFunc:=
value ]
type
type identifying the implementor of the api
getMetaInfoType :: MonadIO m => MetaInfo -> m GType Source #
Get the value of the “type
” field.
When overloading is enabled, this is equivalent to
get
metaInfo #type
setMetaInfoType :: MonadIO m => MetaInfo -> GType -> m () Source #
Set the value of the “type
” field.
When overloading is enabled, this is equivalent to
set
metaInfo [ #type:=
value ]