sigrok-java  0.4.0
Java bindings for libsigrok
Public Member Functions | List of all members
org.sigrok.core.classes.Configurable Class Reference

An object that can be configured. More...

+ Inheritance diagram for org.sigrok.core.classes.Configurable:

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...
 

Detailed Description

An object that can be configured.

Member Function Documentation

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.

Parameters
keyConfigKey to read.
void org.sigrok.core.classes.Configurable.config_set ( ConfigKey  key,
Variant  value 
)

Set configuration for the given key to a specified value.

Parameters
valueValue to set.
keyConfigKey to set.
SWIGTYPE_p_Glib__VariantContainerBase org.sigrok.core.classes.Configurable.config_list ( ConfigKey  key)

Enumerate available values for the given configuration key.

Parameters
keyConfigKey to enumerate values for.
CapabilitySet org.sigrok.core.classes.Configurable.config_capabilities ( ConfigKey  key)

Enumerate configuration capabilities for the given configuration key.

Parameters
keyConfigKey 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.

Parameters
capabilityCapability to check for.
keyConfigKey to check.