Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
All pending timeouts or periodic notifies are converted into an entry. Note that GstClockEntry should be treated as an opaque structure. It must not be extended or allocated using a custom allocator.
Synopsis
- newtype ClockEntry = ClockEntry (ManagedPtr ClockEntry)
- newZeroClockEntry :: MonadIO m => m ClockEntry
- getClockEntryRefcount :: MonadIO m => ClockEntry -> m Int32
- setClockEntryRefcount :: MonadIO m => ClockEntry -> Int32 -> m ()
Exported types
newtype ClockEntry Source #
Memory-managed wrapper type.
ClockEntry (ManagedPtr ClockEntry) |
Instances
Eq ClockEntry Source # | |
Defined in GI.Gst.Structs.ClockEntry (==) :: ClockEntry -> ClockEntry -> Bool # (/=) :: ClockEntry -> ClockEntry -> Bool # | |
BoxedPtr ClockEntry Source # | |
Defined in GI.Gst.Structs.ClockEntry boxedPtrCopy :: ClockEntry -> IO ClockEntry boxedPtrFree :: ClockEntry -> IO () | |
CallocPtr ClockEntry Source # | |
Defined in GI.Gst.Structs.ClockEntry boxedPtrCalloc :: IO (Ptr ClockEntry) | |
ManagedPtrNewtype ClockEntry Source # | |
Defined in GI.Gst.Structs.ClockEntry toManagedPtr :: ClockEntry -> ManagedPtr ClockEntry | |
tag ~ 'AttrSet => Constructible ClockEntry tag Source # | |
Defined in GI.Gst.Structs.ClockEntry new :: MonadIO m => (ManagedPtr ClockEntry -> ClockEntry) -> [AttrOp ClockEntry tag] -> m ClockEntry |
newZeroClockEntry :: MonadIO m => m ClockEntry Source #
Construct a ClockEntry
struct initialized to zero.
Methods
Properties
refcount
reference counter (read-only)
getClockEntryRefcount :: MonadIO m => ClockEntry -> m Int32 Source #
Get the value of the “refcount
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #refcount
setClockEntryRefcount :: MonadIO m => ClockEntry -> Int32 -> m () Source #
Set the value of the “refcount
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #refcount:=
value ]