MRPT
1.9.9
|
A context manager for libusb.
For predictable operation with libusb, it is recommended to use at least one context per library.
Definition at line 90 of file usbinterface.cpp.
Public Member Functions | |
UsbContext () | |
Create the USB context. More... | |
~UsbContext () | |
Destroy the USB context. More... | |
Public Attributes | |
libusb_context * | m_usbContext |
XsLibUsb | m_libUsb |
|
inline |
Create the USB context.
Definition at line 95 of file usbinterface.cpp.
References XsLibUsb::init, m_libUsb, and m_usbContext.
|
inline |
Destroy the USB context.
Definition at line 102 of file usbinterface.cpp.
References XsLibUsb::exit, m_libUsb, and m_usbContext.
XsLibUsb UsbInterfacePrivate::UsbContext::m_libUsb |
Definition at line 104 of file usbinterface.cpp.
Referenced by UsbInterface::closeUsb(), UsbInterface::open(), UsbInterface::readData(), UsbInterface::usbAddress(), UsbInterface::usbBus(), UsbContext(), UsbInterface::writeData(), and ~UsbContext().
libusb_context* UsbInterfacePrivate::UsbContext::m_usbContext |
Definition at line 103 of file usbinterface.cpp.
Referenced by UsbContext(), and ~UsbContext().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020 |