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

GI.Gst.Structs.PollFD

Description

A file descriptor object.

Synopsis

Exported types

newtype PollFD Source #

Memory-managed wrapper type.

Constructors

PollFD (ManagedPtr PollFD) 

Instances

Instances details
Eq PollFD Source # 
Instance details

Defined in GI.Gst.Structs.PollFD

Methods

(==) :: PollFD -> PollFD -> Bool

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

BoxedPtr PollFD Source # 
Instance details

Defined in GI.Gst.Structs.PollFD

Methods

boxedPtrCopy :: PollFD -> IO PollFD

boxedPtrFree :: PollFD -> IO ()

CallocPtr PollFD Source # 
Instance details

Defined in GI.Gst.Structs.PollFD

Methods

boxedPtrCalloc :: IO (Ptr PollFD)

ManagedPtrNewtype PollFD Source # 
Instance details

Defined in GI.Gst.Structs.PollFD

Methods

toManagedPtr :: PollFD -> ManagedPtr 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.

Methods

Overloaded 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 ]