GUdev.Enumerator – gudev-1.0 Reference Manual
Packages
gudev-1.0
GUdev
Enumerator
client
Enumerator
add_match_is_initialized
add_match_name
add_match_property
add_match_subsystem
add_match_sysfs_attr
add_match_tag
add_nomatch_subsystem
add_nomatch_sysfs_attr
add_sysfs_path
execute
Enumerator
Object Hierarchy:
Description:
[
CCode
( type_id =
"g_udev_enumerator_get_type ()"
) ]
[
Version
( since =
"165"
) ]
public
class
Enumerator
:
Object
Enumerator
is used to lookup and sort devices.
Namespace:
GUdev
Package:
gudev-1.0
Content:
Properties:
public
Client
client
{
owned
get
;
construct
; }
The
Client
to enumerate devices from.
Creation methods:
public
Enumerator
(
Client
client)
Constructs a
Enumerator
object that can be used to enumerate and sort devices.
Methods:
public
unowned
Enumerator
add_match_is_initialized
()
All returned devices will be initialized.
public
unowned
Enumerator
add_match_name
(
string
name)
All returned devices will match the given
name
.
public
unowned
Enumerator
add_match_property
(
string
name,
string
value)
All returned devices will have a property matching the given
name
and
value
.
public
unowned
Enumerator
add_match_subsystem
(
string
subsystem)
All returned devices will match the given
subsystem
.
public
unowned
Enumerator
add_match_sysfs_attr
(
string
name,
string
value)
All returned devices will have a sysfs attribute matching the given
name
and
value
.
public
unowned
Enumerator
add_match_tag
(
string
tag)
All returned devices will match the given
tag
.
public
unowned
Enumerator
add_nomatch_subsystem
(
string
subsystem)
All returned devices will not match the given
subsystem
.
public
unowned
Enumerator
add_nomatch_sysfs_attr
(
string
name,
string
value)
All returned devices will not have a sysfs attribute matching the given
name
and
value
.
public
unowned
Enumerator
add_sysfs_path
(
string
sysfs_path)
Add a device to the list of devices, to retrieve it back sorted in dependency order.
public
List
<
Device
>
execute
()
Executes the query in
this
.
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