sigrok-java
0.4.0
Java bindings for libsigrok
|
An object that can be configured. More...
Public Member Functions | |
ConfigSet | config_keys () |
Supported configuration keys. More... | |
Variant | config_get (ConfigKey key) |
Read configuration for the given key. More... | |
void | config_set (ConfigKey key, Variant value) |
Set configuration for the given key to a specified value. More... | |
SWIGTYPE_p_Glib__VariantContainerBase | config_list (ConfigKey key) |
Enumerate available values for the given configuration key. More... | |
CapabilitySet | config_capabilities (ConfigKey key) |
Enumerate configuration capabilities for the given configuration key. More... | |
boolean | config_check (ConfigKey key, Capability capability) |
Check whether a configuration capability is supported for a given key. More... | |
An object that can be configured.
ConfigSet org.sigrok.core.classes.Configurable.config_keys | ( | ) |
Supported configuration keys.
Variant org.sigrok.core.classes.Configurable.config_get | ( | ConfigKey | key | ) |
Read configuration for the given key.
key | ConfigKey to read. |
void org.sigrok.core.classes.Configurable.config_set | ( | ConfigKey | key, |
Variant | value | ||
) |
Set configuration for the given key to a specified value.
value | Value to set. |
key | ConfigKey to set. |
SWIGTYPE_p_Glib__VariantContainerBase org.sigrok.core.classes.Configurable.config_list | ( | ConfigKey | key | ) |
Enumerate available values for the given configuration key.
key | ConfigKey to enumerate values for. |
CapabilitySet org.sigrok.core.classes.Configurable.config_capabilities | ( | ConfigKey | key | ) |
Enumerate configuration capabilities for the given configuration key.
key | ConfigKey to enumerate capabilities for. |
boolean org.sigrok.core.classes.Configurable.config_check | ( | ConfigKey | key, |
Capability | capability | ||
) |
Check whether a configuration capability is supported for a given key.
capability | Capability to check for. |
key | ConfigKey to check. |