8#ifndef META_OCEAN_SYSTEM_USB_USB_H
9#define META_OCEAN_SYSTEM_USB_USB_H
41#if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
42 #ifdef USE_OCEAN_SYSTEM_USB_EXPORT
43 #define OCEAN_SYSTEM_USB_EXPORT __declspec(dllexport)
45 #define OCEAN_SYSTEM_USB_EXPORT __declspec(dllimport)
48 #define OCEAN_SYSTEM_USB_EXPORT
ScopedObjectCompileTimeT< T, T, void, tReleaseFunction > ScopedObjectCompileTimeVoidT
Template specialization for ScopedObjectCompileTimeT with void return value.
Definition ScopedObject.h:280
ScopedObjectCompileTimeVoidT< libusb_transfer *, releaseTransfer > ScopedTransfer
Definition of a scoped libusb transfer object.
Definition system/usb/USB.h:62
std::vector< ScopedTransfer > ScopedTransfers
Definition of a vector holding scoped libusb transfer objects.
Definition system/usb/USB.h:68
OCEAN_SYSTEM_USB_EXPORT void releaseTransfer(libusb_transfer *libusbTransfer)
Helper function to free a libusb transfer.
Namespace of the System library USB.
Definition system/usb/android/Android.h:20
std::unordered_map< libusb_transfer *, size_t > TransferIndexMap
Definition of an unordered map mapping libusb transfer points to indices.
Definition system/usb/USB.h:73
Namespace of the System library.
Definition system/Memory.h:19
The namespace covering the entire Ocean framework.
Definition Accessor.h:15