|
co_usb
|
RAII wrapper than claims interface on ctor and releases on dtor. More...
#include <interface.hpp>
Public Member Functions | |
| libusb_device_handle * | dev () const noexcept |
| int | number () const noexcept |
| void | release () const noexcept |
| Releases the interface and attaches the driver if was detached. | |
Static Public Member Functions | |
| static boost::capy::io_result< interface > | claim (libusb_device_handle *devh, int iface_num) noexcept |
| static boost::capy::io_result< interface > | claim (unique_dev_handle &devh, int iface_num) noexcept |
RAII wrapper than claims interface on ctor and releases on dtor.
|
staticnoexcept |
|
staticnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Releases the interface and attaches the driver if was detached.