#include <devicemanager.hpp>
|
static map< const ConfigKey *, Glib::VariantBase > | drive_scan_options (vector< string > user_spec, set< const ConfigKey * > driver_opts) |
|
Definition at line 58 of file devicemanager.hpp.
pv::DeviceManager::DeviceManager |
( |
shared_ptr< sigrok::Context > |
context, |
|
|
std::string |
driver, |
|
|
bool |
do_scan |
|
) |
| |
pv::DeviceManager::~DeviceManager |
( |
| ) |
|
|
default |
const shared_ptr< sigrok::Context > & pv::DeviceManager::context |
( |
| ) |
const |
shared_ptr< Context > pv::DeviceManager::context |
( |
| ) |
|
map< const ConfigKey *, Glib::VariantBase > pv::DeviceManager::drive_scan_options |
( |
vector< string > |
user_spec, |
|
|
set< const ConfigKey * > |
driver_opts |
|
) |
| |
|
staticprivate |
Convert generic options to data types that are specific to Driver::scan().
- Parameters
-
[in] | user_spec | Vector of tokenized words, string format. |
[in] | driver_opts | Driver's scan options, result of Driver::scan_options(). |
- Returns
- Map of options suitable for Driver::scan().
Definition at line 186 of file devicemanager.cpp.
list< shared_ptr< devices::HardwareDevice > > pv::DeviceManager::driver_scan |
( |
shared_ptr< sigrok::Driver > |
driver, |
|
|
map< const sigrok::ConfigKey *, Glib::VariantBase > |
drvopts |
|
) |
| |
bool pv::DeviceManager::driver_supported |
( |
shared_ptr< sigrok::Driver > |
driver | ) |
const |
const shared_ptr< devices::HardwareDevice > pv::DeviceManager::find_device_from_info |
( |
const map< string, string > |
search_info | ) |
|
const map< string, string > pv::DeviceManager::get_device_info |
( |
const shared_ptr< devices::Device > |
device | ) |
|
Get the device that was detected with user provided scan options.
Definition at line 172 of file devicemanager.cpp.
shared_ptr<sigrok::Context> pv::DeviceManager::context_ |
|
protected |
The documentation for this class was generated from the following files: