LQLClassDSMark

LQLClassDSMark — LQLClassDSMark models a DSMark class.

Synopsis




struct      LQLClassDSMark;
LQLClassDSMark* lql_class_dsmark_new        (void);
guint8      lql_class_dsmark_get_mask       (LQLClassDSMark *self);
gboolean    lql_class_dsmark_set_mask       (LQLClassDSMark *self,
                                             guint8 mask);
guint8      lql_class_dsmark_get_value      (LQLClassDSMark *self);
gboolean    lql_class_dsmark_set_value      (LQLClassDSMark *self,
                                             guint8 value);

Object Hierarchy


  GObject
   +----LQLElement
         +----LQLClass
               +----LQLClassDSMark

Properties


  "mask"                 guint                : Read / Write
  "value"                guint                : Read / Write

Description

LQLClassDSMark models a DSMark class.

For more information on the DSMark QDisc see the LARTC DSMark documentation.

Details

struct LQLClassDSMark

struct LQLClassDSMark;


lql_class_dsmark_new ()

LQLClassDSMark* lql_class_dsmark_new        (void);

Build a new instance of LQLClassDSMark.

Returns : A new LQLClassDSMark instance.

lql_class_dsmark_get_mask ()

guint8      lql_class_dsmark_get_mask       (LQLClassDSMark *self);

Get the mask value for this class.

self : The LQLClassDSMark instance.
Returns : The mask value.

lql_class_dsmark_set_mask ()

gboolean    lql_class_dsmark_set_mask       (LQLClassDSMark *self,
                                             guint8 mask);

Set the mask value for this class.

self : The LQLClassDSMark instance.
mask : The new mask value.
Returns : TRUE on success, FALSE on error.

lql_class_dsmark_get_value ()

guint8      lql_class_dsmark_get_value      (LQLClassDSMark *self);

Get the value parameter for this class.

self : The LQLClassDSMark instance.
Returns : The value parameter.

lql_class_dsmark_set_value ()

gboolean    lql_class_dsmark_set_value      (LQLClassDSMark *self,
                                             guint8 value);

Set the value parameter for this class.

self : The LQLClassDSMark instance.
value : The new value.
Returns : TRUE on success, FALSE on failure.

Properties

"mask" (guint : Read / Write)

Set/Get the mask value for this class.

"value" (guint : Read / Write)

Set/Get the value for this class.

See Also

LARTC: DSMark