Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
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.
Synopsis
- newtype ClockEntry = ClockEntry (ManagedPtr ClockEntry)
- newZeroClockEntry :: MonadIO m => m ClockEntry
- noClockEntry :: Maybe ClockEntry
- clearClockEntryClock :: MonadIO m => ClockEntry -> m ()
- getClockEntryClock :: MonadIO m => ClockEntry -> m (Maybe Clock)
- setClockEntryClock :: MonadIO m => ClockEntry -> Ptr Clock -> m ()
- clearClockEntryDestroyData :: MonadIO m => ClockEntry -> m ()
- getClockEntryDestroyData :: MonadIO m => ClockEntry -> m (Maybe DestroyNotify)
- setClockEntryDestroyData :: MonadIO m => ClockEntry -> FunPtr C_DestroyNotify -> m ()
- clearClockEntryFunc :: MonadIO m => ClockEntry -> m ()
- getClockEntryFunc :: MonadIO m => ClockEntry -> m (Maybe ClockCallback_WithClosures)
- setClockEntryFunc :: MonadIO m => ClockEntry -> FunPtr C_ClockCallback -> m ()
- getClockEntryInterval :: MonadIO m => ClockEntry -> m Word64
- setClockEntryInterval :: MonadIO m => ClockEntry -> Word64 -> m ()
- getClockEntryRefcount :: MonadIO m => ClockEntry -> m Int32
- setClockEntryRefcount :: MonadIO m => ClockEntry -> Int32 -> m ()
- getClockEntryStatus :: MonadIO m => ClockEntry -> m ClockReturn
- setClockEntryStatus :: MonadIO m => ClockEntry -> ClockReturn -> m ()
- getClockEntryTime :: MonadIO m => ClockEntry -> m Word64
- setClockEntryTime :: MonadIO m => ClockEntry -> Word64 -> m ()
- getClockEntryType :: MonadIO m => ClockEntry -> m ClockEntryType
- setClockEntryType :: MonadIO m => ClockEntry -> ClockEntryType -> m ()
- getClockEntryUnscheduled :: MonadIO m => ClockEntry -> m Bool
- setClockEntryUnscheduled :: MonadIO m => ClockEntry -> Bool -> m ()
- clearClockEntryUserData :: MonadIO m => ClockEntry -> m ()
- getClockEntryUserData :: MonadIO m => ClockEntry -> m (Ptr ())
- setClockEntryUserData :: MonadIO m => ClockEntry -> Ptr () -> m ()
- getClockEntryWokenUp :: MonadIO m => ClockEntry -> m Bool
- setClockEntryWokenUp :: MonadIO m => ClockEntry -> Bool -> m ()
Exported types
newtype ClockEntry Source #
Memory-managed wrapper type.
ClockEntry (ManagedPtr ClockEntry) |
Instances
WrappedPtr ClockEntry Source # | |
Defined in GI.Gst.Structs.ClockEntry wrappedPtrCalloc :: IO (Ptr ClockEntry) wrappedPtrCopy :: ClockEntry -> IO ClockEntry wrappedPtrFree :: Maybe (GDestroyNotify 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.
noClockEntry :: Maybe ClockEntry Source #
A convenience alias for Nothing
:: Maybe
ClockEntry
.
Properties
clock
No description available in the introspection data.
clearClockEntryClock :: MonadIO m => ClockEntry -> m () Source #
Set the value of the “clock
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#clock
getClockEntryClock :: MonadIO m => ClockEntry -> m (Maybe Clock) Source #
Get the value of the “clock
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #clock
setClockEntryClock :: MonadIO m => ClockEntry -> Ptr Clock -> m () Source #
Set the value of the “clock
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #clock:=
value ]
destroyData
No description available in the introspection data.
clearClockEntryDestroyData :: MonadIO m => ClockEntry -> m () Source #
Set the value of the “destroy_data
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#destroyData
getClockEntryDestroyData :: MonadIO m => ClockEntry -> m (Maybe DestroyNotify) Source #
Get the value of the “destroy_data
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #destroyData
setClockEntryDestroyData :: MonadIO m => ClockEntry -> FunPtr C_DestroyNotify -> m () Source #
Set the value of the “destroy_data
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #destroyData:=
value ]
func
No description available in the introspection data.
clearClockEntryFunc :: MonadIO m => ClockEntry -> m () Source #
Set the value of the “func
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#func
getClockEntryFunc :: MonadIO m => ClockEntry -> m (Maybe ClockCallback_WithClosures) Source #
Get the value of the “func
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #func
setClockEntryFunc :: MonadIO m => ClockEntry -> FunPtr C_ClockCallback -> m () Source #
Set the value of the “func
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #func:=
value ]
interval
No description available in the introspection data.
getClockEntryInterval :: MonadIO m => ClockEntry -> m Word64 Source #
Get the value of the “interval
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #interval
setClockEntryInterval :: MonadIO m => ClockEntry -> Word64 -> m () Source #
Set the value of the “interval
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #interval:=
value ]
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 ]
status
No description available in the introspection data.
getClockEntryStatus :: MonadIO m => ClockEntry -> m ClockReturn Source #
Get the value of the “status
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #status
setClockEntryStatus :: MonadIO m => ClockEntry -> ClockReturn -> m () Source #
Set the value of the “status
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #status:=
value ]
time
No description available in the introspection data.
getClockEntryTime :: MonadIO m => ClockEntry -> m Word64 Source #
Get the value of the “time
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #time
setClockEntryTime :: MonadIO m => ClockEntry -> Word64 -> m () Source #
Set the value of the “time
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #time:=
value ]
type
No description available in the introspection data.
getClockEntryType :: MonadIO m => ClockEntry -> m ClockEntryType Source #
Get the value of the “type
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #type
setClockEntryType :: MonadIO m => ClockEntry -> ClockEntryType -> m () Source #
Set the value of the “type
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #type:=
value ]
unscheduled
No description available in the introspection data.
getClockEntryUnscheduled :: MonadIO m => ClockEntry -> m Bool Source #
Get the value of the “unscheduled
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #unscheduled
setClockEntryUnscheduled :: MonadIO m => ClockEntry -> Bool -> m () Source #
Set the value of the “unscheduled
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #unscheduled:=
value ]
userData
No description available in the introspection data.
clearClockEntryUserData :: MonadIO m => ClockEntry -> m () Source #
Set the value of the “user_data
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#userData
getClockEntryUserData :: MonadIO m => ClockEntry -> m (Ptr ()) Source #
Get the value of the “user_data
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #userData
setClockEntryUserData :: MonadIO m => ClockEntry -> Ptr () -> m () Source #
Set the value of the “user_data
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #userData:=
value ]
wokenUp
No description available in the introspection data.
getClockEntryWokenUp :: MonadIO m => ClockEntry -> m Bool Source #
Get the value of the “woken_up
” field.
When overloading is enabled, this is equivalent to
get
clockEntry #wokenUp
setClockEntryWokenUp :: MonadIO m => ClockEntry -> Bool -> m () Source #
Set the value of the “woken_up
” field.
When overloading is enabled, this is equivalent to
set
clockEntry [ #wokenUp:=
value ]