18 #ifndef INCLUDED_UHD_TRANSPORT_USB_DEVICE_HANDLE_HPP 19 #define INCLUDED_UHD_TRANSPORT_USB_DEVICE_HANDLE_HPP 22 #include <boost/utility.hpp> 23 #include <boost/shared_ptr.hpp> 24 #include <boost/cstdint.hpp> 27 namespace uhd {
namespace transport {
43 typedef boost::shared_ptr<usb_device_handle>
sptr;
49 virtual std::string get_serial()
const = 0;
55 virtual std::string get_manufacturer()
const = 0;
61 virtual std::string get_product()
const = 0;
67 virtual boost::uint16_t get_vendor_id()
const = 0;
73 virtual boost::uint16_t get_product_id()
const = 0;
79 virtual bool firmware_loaded() = 0;
85 static std::vector<usb_device_handle::sptr> get_device_list(boost::uint16_t vid, boost::uint16_t pid);
Definition: usb_device_handle.hpp:41
boost::shared_ptr< usb_device_handle > sptr
Definition: usb_device_handle.hpp:43
#define UHD_API
Definition: config.hpp:79
Definition: convert.hpp:28