libsigrokcxx  0.4.0
C++ bindings for libsigrok
List of all members
sigrok::InputDevice Class Reference

A virtual device associated with an input. More...

#include <libsigrokcxx/libsigrokcxx.hpp>

+ Inheritance diagram for sigrok::InputDevice:

Additional Inherited Members

- Public Member Functions inherited from sigrok::Device
string vendor () const
 Vendor name for this device. More...
 
string model () const
 Model name for this device. More...
 
string version () const
 Version string for this device. More...
 
string serial_number () const
 Serial number for this device. More...
 
string connection_id () const
 Connection ID for this device. More...
 
vector< shared_ptr< Channel > > channels ()
 List of the channels available on this device. More...
 
map< string, shared_ptr< ChannelGroup > > 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 sigrok::Configurable
set< const ConfigKey * > config_keys () const
 Supported configuration keys. More...
 
Glib::VariantBase config_get (const ConfigKey *key) const
 Read configuration for the given key. More...
 
void config_set (const ConfigKey *key, const Glib::VariantBase &value)
 Set configuration for the given key to a specified value. More...
 
Glib::VariantContainerBase config_list (const ConfigKey *key) const
 Enumerate available values for the given configuration key. More...
 
set< const Capability * > config_capabilities (const ConfigKey *key) const
 Enumerate configuration capabilities for the given configuration key. More...
 
bool config_check (const ConfigKey *key, const Capability *capability) const
 Check whether a configuration capability is supported for a given key. More...
 

Detailed Description

A virtual device associated with an input.

Definition at line 844 of file libsigrokcxx.hpp.


The documentation for this class was generated from the following file: