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

A generic device, either hardware or virtual. More...

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

Public Member Functions

String vendor ()
 Vendor name for this device. More...
 
String model ()
 Model name for this device. More...
 
String version ()
 Version string for this device. More...
 
String serial_number ()
 Serial number for this device. More...
 
String connection_id ()
 Connection ID for this device. More...
 
java.util.Vector< Channelchannels ()
 List of the channels available on this device. More...
 
ChannelGroupMap channel_groups ()
 Channel groups available on this device, indexed by name. More...
 
void open ()
 Open device. More...
 
void close ()
 Close device. 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 generic device, either hardware or virtual.

Member Function Documentation

String org.sigrok.core.classes.Device.vendor ( )

Vendor name for this device.

String org.sigrok.core.classes.Device.model ( )

Model name for this device.

String org.sigrok.core.classes.Device.version ( )

Version string for this device.

String org.sigrok.core.classes.Device.serial_number ( )

Serial number for this device.

String org.sigrok.core.classes.Device.connection_id ( )

Connection ID for this device.

java.util.Vector<Channel> org.sigrok.core.classes.Device.channels ( )

List of the channels available on this device.

ChannelGroupMap org.sigrok.core.classes.Device.channel_groups ( )

Channel groups available on this device, indexed by name.

void org.sigrok.core.classes.Device.open ( )

Open device.

void org.sigrok.core.classes.Device.close ( )

Close device.