Device
Object Hierarchy:
Description:
public abstract class Device : Object
The base class for all types of devices.
Content:
Properties:
Creation methods:
Methods:
- public void assert_connected () throws DeviceError
Test if device is still connected.
- protected int read_int (string property) throws Error
Reads an attribute value as an int.
- protected int? try_read_int (string property)
Reads an attribute value as an int.
- protected string read_string (string property) throws Error
Reads an attribute value as a string.
- protected string? try_read_string (string property)
Reads an attribute value as a string.
- protected void write_int (string property, int value) throws Error
Writes an int value to a sysfs attribute.
- protected bool try_write_int (string property, int value)
Writes an int value to a sysfs attribute.
- protected void write_string (string property, string value) throws Error
Writes a string value to a sysfs attribute.
- protected bool try_write_string (string property, string value)
Writes a string value to a sysfs attribute.
Fields:
Inherited Members:
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count