USB::DeviceID Class Reference
A vendor/product ID pair. More...
#include <usbpp.h>
Public Member Functions | |
DeviceID (u_int16_t vendor, u_int16_t product) | |
Standard constructor. | |
u_int16_t | vendor (void) |
vendor number for the device | |
u_int16_t | product (void) |
product number for the device |
Detailed Description
A vendor/product ID pair.DeviceID provides a list of (vendor, product) identification pairs. It is intended for use in a list of device numbers to search for, but there is no reason why it couldn't be used for a general purpose (vendor,product) tuple if you had some reason for this.
The description for Busses::match() provides an example of how this class might be used.
- See also:
- DeviceIDList, Busses::match()
Definition at line 741 of file usbpp.h.
Constructor & Destructor Documentation
USB::DeviceID::DeviceID | ( | u_int16_t | vendor, | |
u_int16_t | product | |||
) |
Member Function Documentation
u_int16_t USB::DeviceID::vendor | ( | void | ) |
u_int16_t USB::DeviceID::product | ( | void | ) |
The documentation for this class was generated from the following files: