Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
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.
- newtype ClockEntry = ClockEntry (ForeignPtr ClockEntry)
- newZeroClockEntry :: MonadIO m => m ClockEntry
- noClockEntry :: Maybe ClockEntry
- clockEntryReadClock :: ClockEntry -> IO Clock
- clockEntryReadInterval :: ClockEntry -> IO Word64
- clockEntryReadRefcount :: ClockEntry -> IO Int32
- clockEntryReadStatus :: ClockEntry -> IO ClockReturn
- clockEntryReadTime :: ClockEntry -> IO Word64
- clockEntryReadType :: ClockEntry -> IO ClockEntryType
- clockEntryReadUnscheduled :: ClockEntry -> IO Bool
- clockEntryReadUserData :: ClockEntry -> IO (Ptr ())
- clockEntryReadWokenUp :: ClockEntry -> IO Bool
Exported types
newtype ClockEntry Source
((~) * info (ResolveClockEntryMethod t ClockEntry), MethodInfo * info ClockEntry p) => IsLabel t (ClockEntry -> p) Source | |
((~) * info (ResolveClockEntryMethod t ClockEntry), MethodInfo * info ClockEntry p) => IsLabelProxy t (ClockEntry -> p) Source | |
newZeroClockEntry :: MonadIO m => m ClockEntry Source
Construct a ClockEntry
struct initialized to zero.
Properties
Clock
Interval
Refcount
Status
Time
Type
Unscheduled
UserData
clockEntryReadUserData :: ClockEntry -> IO (Ptr ()) Source