7 #ifndef INCLUDED_UHD_TRANSPORT_USB_DEVICE_HANDLE_HPP 8 #define INCLUDED_UHD_TRANSPORT_USB_DEVICE_HANDLE_HPP 11 #include <boost/utility.hpp> 12 #include <boost/shared_ptr.hpp> 16 namespace uhd {
namespace transport {
32 typedef boost::shared_ptr<usb_device_handle>
sptr;
41 virtual std::string get_serial()
const = 0;
47 virtual std::string get_manufacturer()
const = 0;
53 virtual std::string get_product()
const = 0;
59 virtual uint16_t get_vendor_id()
const = 0;
65 virtual uint16_t get_product_id()
const = 0;
71 virtual bool firmware_loaded() = 0;
77 static std::vector<usb_device_handle::sptr> get_device_list(uint16_t vid, uint16_t pid);
78 static std::vector<usb_device_handle::sptr> get_device_list(
const std::vector<usb_device_handle::vid_pid_pair_t>& vid_pid_pair_list);
Definition: usb_device_handle.hpp:30
boost::shared_ptr< usb_device_handle > sptr
Definition: usb_device_handle.hpp:32
Definition: build_info.hpp:14
std::pair< uint16_t, uint16_t > vid_pid_pair_t
Definition: usb_device_handle.hpp:33
#define UHD_API
Definition: config.h:62