UHD
003.007.003-0-unknown
|
#include <usb_device_handle.hpp>
Public Types | |
typedef boost::shared_ptr < usb_device_handle > | sptr |
Public Member Functions | |
virtual std::string | get_serial () const =0 |
virtual std::string | get_manufacturer () const =0 |
virtual std::string | get_product () const =0 |
virtual boost::uint16_t | get_vendor_id () const =0 |
virtual boost::uint16_t | get_product_id () const =0 |
virtual bool | firmware_loaded ()=0 |
Static Public Member Functions | |
static std::vector < usb_device_handle::sptr > | get_device_list (boost::uint16_t vid, boost::uint16_t pid) |
Device handle class that represents a USB device Used for identifying devices on the USB bus and selecting which device is used when creating a USB transport. A minimal subset of USB descriptor fields are used. Fields can be found in the USB 2.0 specification Table 9-8 (Standard Device Descriptor). In addition to fields of the device descriptor, the interface returns the device's USB device address.
Note: The USB 2.0 Standard Device Descriptor contains an index rather then a true descriptor serial number string. This interface returns the actual string descriptor.
typedef boost::shared_ptr<usb_device_handle> uhd::transport::usb_device_handle::sptr |
|
pure virtual |
Test whether the firmware is loaded on the device.
|
static |
Return a vector of USB devices on this host
|
pure virtual |
Return the device's manufacturer identification string
|
pure virtual |
Return the device's product identification string
|
pure virtual |
Return the device's Product ID (usually assigned by manufacturer)
|
pure virtual |
Return the device's serial number
|
pure virtual |
Return the device's Vendor ID (usually assigned by the USB-IF)