TypeOverride
Object Hierarchy:
Description:
public abstract class TypeOverride : Object
Pack and unpack one argument type on the signal wire.
The registry is keyed by override_type. A missing
type uses the bin value unchanged.
Content:
Properties:
Static methods:
- public static int fill_params (Type[] param_types, ArrayList<Value?> fields, Value[] dest)
Fill one GValue per signal parameter from notification fields.
- public static TypeOverride? lookup (Type type)
Find the override for a type.
- public static ArrayList<Value?> pack_params (Value[] param_values)
Turn signal parameters into notification fields.
- public static void register (TypeOverride over)
Record one override under its argument type.
- public static void release_params (Type[] param_types)
Call
release once per parameter that has an override.
Creation methods:
Methods:
- public abstract ArrayList<Value?> pack (Value src)
Write src as wire fields.
- protected ArrayList<Value?> pack_bytes (uint8[] data)
One wire field: data as a GLib.Bytes
value.
- public virtual void release ()
Drop one value this override kept alive for
unpack.
- public virtual string rpc_signal_alias (string name)
Signal name to write on a notify message.
- public abstract Value unpack (ArrayList<Value?> fields, int index, out int consumed)
Build the argument from wire fields.
- protected uint8[] unpack_bytes (ArrayList<Value?> fields, int index, out int consumed, int n)
Read the one GLib.Bytes field back into
n bytes.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref