21 #ifndef PULSEVIEW_PV_DEVICEMANAGER_HPP
22 #define PULSEVIEW_PV_DEVICEMANAGER_HPP
55 const std::shared_ptr<sigrok::Context>&
context()
const;
57 std::shared_ptr<sigrok::Context>
context();
59 const std::list< std::shared_ptr<devices::HardwareDevice> >&
62 std::list< std::shared_ptr<devices::HardwareDevice> >
driver_scan(
63 std::shared_ptr<sigrok::Driver> driver,
64 std::map<const sigrok::ConfigKey *, Glib::VariantBase> drvopts);
67 const std::shared_ptr<devices::Device> device);
70 const std::map<std::string, std::string> search_info);
74 std::shared_ptr<devices::Device> b);
78 std::list< std::shared_ptr<devices::HardwareDevice> >
devices_;
83 #endif // PULSEVIEW_PV_DEVICEMANAGER_HPP
bool compare_devices(std::shared_ptr< devices::Device > a, std::shared_ptr< devices::Device > b)
const std::shared_ptr< sigrok::Context > & context() const
const std::list< std::shared_ptr< devices::HardwareDevice > > & devices() const
const std::map< std::string, std::string > get_device_info(const std::shared_ptr< devices::Device > device)
DeviceManager(std::shared_ptr< sigrok::Context > context)
std::shared_ptr< sigrok::Context > context_
std::list< std::shared_ptr< devices::HardwareDevice > > devices_
const std::shared_ptr< devices::HardwareDevice > find_device_from_info(const std::map< std::string, std::string > search_info)
std::list< std::shared_ptr< devices::HardwareDevice > > driver_scan(std::shared_ptr< sigrok::Driver > driver, std::map< const sigrok::ConfigKey *, Glib::VariantBase > drvopts)