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

A hardware driver provided by the library. More...

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

Public Member Functions

String name ()
 Name of this driver. More...
 
String long_name ()
 Long name for this driver. More...
 
ConfigSet scan_options ()
 Scan options supported by this driver. More...
 
java.util.Vector< HardwareDevicescan (java.util.Map< ConfigKey, Variant > options)
 Scan for devices and return a list of devices found. More...
 
java.util.Vector< HardwareDevicescan ()
 Scan for devices and return a list of devices found. More...
 
- Public Member Functions inherited from org.sigrok.core.classes.Configurable
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

A hardware driver provided by the library.

Member Function Documentation

String org.sigrok.core.classes.Driver.name ( )

Name of this driver.

String org.sigrok.core.classes.Driver.long_name ( )

Long name for this driver.

ConfigSet org.sigrok.core.classes.Driver.scan_options ( )

Scan options supported by this driver.

java.util.Vector<HardwareDevice> org.sigrok.core.classes.Driver.scan ( java.util.Map< ConfigKey, Variant >  options)

Scan for devices and return a list of devices found.

Parameters
optionsMapping of (ConfigKey, value) pairs.
java.util.Vector<HardwareDevice> org.sigrok.core.classes.Driver.scan ( )

Scan for devices and return a list of devices found.

Parameters
optionsMapping of (ConfigKey, value) pairs.