const std::shared_ptr<sigrok::HardwareDevice> find_device_from_info(
const std::map<std::string, std::string> search_info);
- const std::string build_display_name(std::shared_ptr<sigrok::Device> device);
+ void build_display_name(std::shared_ptr<sigrok::Device> device);
const std::string get_display_name(std::shared_ptr<sigrok::Device> dev);
+ const std::string get_full_name(std::shared_ptr<sigrok::Device> dev);
+
void update_display_name(std::shared_ptr<sigrok::Device> dev);
private:
protected:
std::shared_ptr<sigrok::Context> context_;
std::list< std::shared_ptr<sigrok::HardwareDevice> > devices_;
+
std::map< std::shared_ptr<sigrok::Device>, std::string > display_names_;
+ std::map< std::shared_ptr<sigrok::Device>, std::string > full_names_;
};
} // namespace pv