co_usb
Loading...
Searching...
No Matches
co_usb::device_triplet Struct Reference

An aggregate struct to pass to functions requiring device information. More...

#include <device_triplet.hpp>

Public Member Functions

constexpr bool operator== (device_triplet const &other) const noexcept
 

Public Attributes

int vid = LIBUSB_HOTPLUG_MATCH_ANY
 
int pid = LIBUSB_HOTPLUG_MATCH_ANY
 
int dev_class = LIBUSB_HOTPLUG_MATCH_ANY
 

Detailed Description

An aggregate struct to pass to functions requiring device information.

Note
Default values are set to LIBUSB_HOTPLUG_MATCH_ANY.

Member Function Documentation

◆ operator==()

constexpr bool co_usb::device_triplet::operator== ( device_triplet const &  other) const
inlineconstexprnoexcept

Member Data Documentation

◆ dev_class

int co_usb::device_triplet::dev_class = LIBUSB_HOTPLUG_MATCH_ANY

◆ pid

int co_usb::device_triplet::pid = LIBUSB_HOTPLUG_MATCH_ANY

◆ vid

int co_usb::device_triplet::vid = LIBUSB_HOTPLUG_MATCH_ANY

The documentation for this struct was generated from the following file: