Class UsbDevice::Location

Nested Relationships

This class is a nested type of Class UsbDevice.

Class Documentation

class Location

Public Functions

inline Location()
inline Location(uint8_t bus, uint8_t port = 0, uint8_t addr = 0, uint16_t vid = 0, uint16_t pid = 0)
inline bool match(const Location &other) const
inline bool operator==(const Location &other) const
inline bool operator!=(const Location &other) const
inline bool operator<(const Location &other) const

Public Members

uint8_t bus = 0
uint8_t addr = 0
uint8_t port = 0
uint16_t vid = 0
uint16_t pid = 0

Public Static Functions

static inline bool match(const Location &a, const Location &b)