| Gtk2Hs | Contents | Index

Media.Streaming.GStreamer.Core.Iterator

Maintainer | gtk2hs-devel@lists.sourceforge.net Stability : alpha Portability : portable (depends on GHC)

Description
Documentation
data Iterable a => Iterator a
class Iterable a

Instances

Iterable Element
Iterable Pad
Iterable QueryTypeDefinition
Iterable FormatDefinition

type IteratorFilter itemT = itemT -> IO Bool
type IteratorFoldFunction itemT accumT = itemT -> accumT -> IO (Bool, accumT)
data IteratorResult

Constructors

IteratorDone |
IteratorOk |
IteratorResync |
IteratorError |

Instances

Enum IteratorResult
Eq IteratorResult
Show IteratorResult

iteratorNext :: Iterable a => Iterator a -> IO (IteratorResult, Maybe a)
iteratorResync :: Iterator a -> IO ()
iteratorFilter :: Iterable a => Iterator a -> IteratorFilter a -> IO (Iterator a)
iteratorFold :: Iterable itemT => Iterator itemT -> accumT -> IteratorFoldFunction itemT accumT -> IO (IteratorResult, accumT)
iteratorForeach :: Iterable itemT => Iterator itemT -> (itemT -> IO ()) -> IO IteratorResult
iteratorFind :: Iterable itemT => Iterator itemT -> (itemT -> IO Bool) -> IO (IteratorResult, Maybe itemT)
Produced by Haddock version 2.4.2