gi-gstbase-1.0.23: GStreamerBase bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GstBase.Structs.CollectData

Description

Structure used by the collect_pads.

Synopsis

Exported types

newtype CollectData Source #

Memory-managed wrapper type.

Constructors

CollectData (ManagedPtr CollectData) 

Instances

Instances details
Eq CollectData Source # 
Instance details

Defined in GI.GstBase.Structs.CollectData

Methods

(==) :: CollectData -> CollectData -> Bool

(/=) :: CollectData -> CollectData -> Bool

BoxedPtr CollectData Source # 
Instance details

Defined in GI.GstBase.Structs.CollectData

CallocPtr CollectData Source # 
Instance details

Defined in GI.GstBase.Structs.CollectData

ManagedPtrNewtype CollectData Source # 
Instance details

Defined in GI.GstBase.Structs.CollectData

Methods

toManagedPtr :: CollectData -> ManagedPtr CollectData

tag ~ 'AttrSet => Constructible CollectData tag Source # 
Instance details

Defined in GI.GstBase.Structs.CollectData

Methods

new :: MonadIO m => (ManagedPtr CollectData -> CollectData) -> [AttrOp CollectData tag] -> m CollectData

newZeroCollectData :: MonadIO m => m CollectData Source #

Construct a CollectData struct initialized to zero.

Methods

Overloaded methods

Properties

buffer

currently queued buffer.

clearCollectDataBuffer :: MonadIO m => CollectData -> m () Source #

Set the value of the “buffer” field to Nothing. When overloading is enabled, this is equivalent to

clear #buffer

getCollectDataBuffer :: MonadIO m => CollectData -> m (Maybe Buffer) Source #

Get the value of the “buffer” field. When overloading is enabled, this is equivalent to

get collectData #buffer

setCollectDataBuffer :: MonadIO m => CollectData -> Ptr Buffer -> m () Source #

Set the value of the “buffer” field. When overloading is enabled, this is equivalent to

set collectData [ #buffer := value ]

collect

clearCollectDataCollect :: MonadIO m => CollectData -> m () Source #

Set the value of the “collect” field to Nothing. When overloading is enabled, this is equivalent to

clear #collect

getCollectDataCollect :: MonadIO m => CollectData -> m (Maybe CollectPads) Source #

Get the value of the “collect” field. When overloading is enabled, this is equivalent to

get collectData #collect

setCollectDataCollect :: MonadIO m => CollectData -> Ptr CollectPads -> m () Source #

Set the value of the “collect” field. When overloading is enabled, this is equivalent to

set collectData [ #collect := value ]

pad

Pad managed by this data

clearCollectDataPad :: MonadIO m => CollectData -> m () Source #

Set the value of the “pad” field to Nothing. When overloading is enabled, this is equivalent to

clear #pad

getCollectDataPad :: MonadIO m => CollectData -> m (Maybe Pad) Source #

Get the value of the “pad” field. When overloading is enabled, this is equivalent to

get collectData #pad

setCollectDataPad :: MonadIO m => CollectData -> Ptr Pad -> m () Source #

Set the value of the “pad” field. When overloading is enabled, this is equivalent to

set collectData [ #pad := value ]

pos

position in the buffer

getCollectDataPos :: MonadIO m => CollectData -> m Word32 Source #

Get the value of the “pos” field. When overloading is enabled, this is equivalent to

get collectData #pos

setCollectDataPos :: MonadIO m => CollectData -> Word32 -> m () Source #

Set the value of the “pos” field. When overloading is enabled, this is equivalent to

set collectData [ #pos := value ]

segment

last segment received.

getCollectDataSegment :: MonadIO m => CollectData -> m Segment Source #

Get the value of the “segment” field. When overloading is enabled, this is equivalent to

get collectData #segment