| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.NM.Structs.TCQdisc
Description
No description available in the introspection data.
Synopsis
- newtype TCQdisc = TCQdisc (ManagedPtr TCQdisc)
- tCQdiscDup :: (HasCallStack, MonadIO m) => TCQdisc -> m TCQdisc
- tCQdiscEqual :: (HasCallStack, MonadIO m) => TCQdisc -> TCQdisc -> m Bool
- tCQdiscGetAttribute :: (HasCallStack, MonadIO m) => TCQdisc -> Text -> m GVariant
- tCQdiscGetAttributeNames :: (HasCallStack, MonadIO m) => TCQdisc -> m [Text]
- tCQdiscGetHandle :: (HasCallStack, MonadIO m) => TCQdisc -> m Word32
- tCQdiscGetKind :: (HasCallStack, MonadIO m) => TCQdisc -> m Text
- tCQdiscGetParent :: (HasCallStack, MonadIO m) => TCQdisc -> m Word32
- tCQdiscNew :: (HasCallStack, MonadIO m) => Text -> Word32 -> m TCQdisc
- tCQdiscRef :: (HasCallStack, MonadIO m) => TCQdisc -> m ()
- tCQdiscSetAttribute :: (HasCallStack, MonadIO m) => TCQdisc -> Text -> Maybe GVariant -> m ()
- tCQdiscSetHandle :: (HasCallStack, MonadIO m) => TCQdisc -> Word32 -> m ()
- tCQdiscUnref :: (HasCallStack, MonadIO m) => TCQdisc -> m ()
Exported types
Memory-managed wrapper type.
Constructors
| TCQdisc (ManagedPtr TCQdisc) |
Instances
| Eq TCQdisc Source # | |
| GBoxed TCQdisc Source # | |
Defined in GI.NM.Structs.TCQdisc | |
| ManagedPtrNewtype TCQdisc Source # | |
Defined in GI.NM.Structs.TCQdisc Methods toManagedPtr :: TCQdisc -> ManagedPtr TCQdisc # | |
| TypedObject TCQdisc Source # | |
Defined in GI.NM.Structs.TCQdisc | |
| HasParentTypes TCQdisc Source # | |
Defined in GI.NM.Structs.TCQdisc | |
| IsGValue (Maybe TCQdisc) Source # | Convert |
Defined in GI.NM.Structs.TCQdisc | |
| type ParentTypes TCQdisc Source # | |
Defined in GI.NM.Structs.TCQdisc | |
Methods
Click to display all available methods, including inherited ones
dup
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> m TCQdisc | Returns: a copy of |
Creates a copy of qdisc
Since: 1.12
equal
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> TCQdisc |
|
| -> m Bool | Returns: |
Determines if two TCQdisc objects contain the same kind, * handle
and parent.
Since: 1.12
getAttribute
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> Text |
|
| -> m GVariant | Returns: the value of the attribute with name |
Gets the value of the attribute with name name on qdisc
Since: 1.18
getAttributeNames
tCQdiscGetAttributeNames Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> m [Text] | Returns: a |
Gets an array of attribute names defined on qdisc.
Since: 1.18
getHandle
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> m Word32 | Returns: the queueing discipline handle |
No description available in the introspection data.
Since: 1.12
getKind
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> m Text |
No description available in the introspection data.
Since: 1.12
getParent
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> m Word32 | Returns: the parent class |
No description available in the introspection data.
Since: 1.12
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Text |
|
| -> Word32 |
|
| -> m TCQdisc | Returns: the new |
Creates a new TCQdisc object.
Since: 1.12
ref
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> m () |
Increases the reference count of the object.
Since: 1.12
setAttribute
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> Text |
|
| -> Maybe GVariant |
|
| -> m () |
Sets or clears the named attribute on qdisc to the given value.
Since: 1.18
setHandle
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> Word32 |
|
| -> m () |
Sets the queueing discipline handle.
Since: 1.12
unref
Arguments
| :: (HasCallStack, MonadIO m) | |
| => TCQdisc |
|
| -> m () |
Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.
Since: 1.12