gi-gst-1.0.19: GStreamer bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Gst.Structs.PollFD

Contents

Description

A file descriptor object.

Synopsis

Exported types

newtype PollFD Source #

Memory-managed wrapper type.

Constructors

PollFD (ManagedPtr PollFD) 
Instances
WrappedPtr PollFD Source # 
Instance details

Defined in GI.Gst.Structs.PollFD

tag ~ AttrSet => Constructible PollFD tag Source # 
Instance details

Defined in GI.Gst.Structs.PollFD

Methods

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

newZeroPollFD :: MonadIO m => m PollFD Source #

Construct a PollFD struct initialized to zero.

noPollFD :: Maybe PollFD Source #

A convenience alias for Nothing :: Maybe PollFD.

Methods

init

pollFDInit Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> PollFD

fd: a PollFD

-> m () 

Initializes fd. Alternatively you can initialize it with GST_POLL_FD_INIT.

Properties

fd

a file descriptor

getPollFDFd :: MonadIO m => PollFD -> m Int32 Source #

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

get pollFD #fd

setPollFDFd :: MonadIO m => PollFD -> Int32 -> m () Source #

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

set pollFD [ #fd := value ]