Ocean
Ocean::System::USB Namespace Reference

Namespace of the System library USB. More...

Namespaces

 Android
 Namespace of the System library USB Android.
 
 Video
 Namespace of the System library USB Video.
 

Data Structures

class  Context
 This class wraps a libusb context. More...
 
class  Descriptor
 This class implements the base class for all interface descriptors. More...
 
class  Device
 This class wraps a libusb device. More...
 
class  Manager
 This class implements a manager for USB devices. More...
 
class  Utilities
 This class implements utility functions for USB devices. More...
 

Typedefs

using SharedContext = std::shared_ptr< Context >
 Definition of a shared pointer holding a context. More...
 
using SharedDevice = std::shared_ptr< Device >
 Definition of a shared pointer holding a device. More...
 
using SharedDevices = std::vector< SharedDevice >
 Definition of a vector holding SharedDevice objects. More...
 
using ScopedTransfer = ScopedObjectCompileTimeVoidT< libusb_transfer *, releaseTransfer >
 Definition of a scoped libusb transfer object. More...
 
using ScopedTransfers = std::vector< ScopedTransfer >
 Definition of a vector holding scoped libusb transfer objects. More...
 
using TransferIndexMap = std::unordered_map< libusb_transfer *, size_t >
 Definition of an unordered map mapping libusb transfer points to indices. More...
 

Functions

OCEAN_SYSTEM_USB_EXPORT void releaseTransfer (libusb_transfer *libusbTransfer)
 Helper function to free a libusb transfer. More...
 

Variables

constexpr uint8_t CS_INTERFACE = 0x24u
 

Detailed Description

Namespace of the System library USB.

The Namespace Ocean::System::USB is used in the entire Ocean System USB Library.

Typedef Documentation

◆ TransferIndexMap

using Ocean::System::USB::TransferIndexMap = typedef std::unordered_map<libusb_transfer*, size_t>

Definition of an unordered map mapping libusb transfer points to indices.

Variable Documentation

◆ CS_INTERFACE

constexpr uint8_t Ocean::System::USB::CS_INTERFACE = 0x24u
constexpr