#include <dx_usb_device.h>
|
enum class | type : uint8_t {
control =::kUSBControl
, isoc = ::kUSBIsoc
, bulk = ::kUSBBulk
, irq = ::kUSBInterrupt
,
control =::UsbdPipeTypeControl
, isoc = ::UsbdPipeTypeIsochronous
, bulk = ::UsbdPipeTypeBulk
, irq = ::UsbdPipeTypeInterrupt
} |
|
enum class | type : unsigned char {
control =::kUSBControl
, isoc = ::kUSBIsoc
, bulk = ::kUSBBulk
, irq = ::kUSBInterrupt
,
control =::UsbdPipeTypeControl
, isoc = ::UsbdPipeTypeIsochronous
, bulk = ::UsbdPipeTypeBulk
, irq = ::UsbdPipeTypeInterrupt
} |
|
|
pipe & | abort () try |
|
| dx_catchall_rethrow () os_result status() const noexcept |
|
| dx_catchall_rethrow (;,"endpoint:%x interface:%d setting:%d", endpoint.address, endpoint.interface, endpoint.setting) bool in() const noexcept |
|
| dx_catchall_rethrow (try {const_cast< pipe * >(this) ->clear();} dx_catchall_handler(this,), "idx:%d size:%lld", idx, sizeof request) template< typename data_t > data_t submit(const control &control) const |
| control request to pipe
|
|
bool | in () const noexcept |
| bus initializer (isoc, bulk, pci, etc.) compatibility
|
|
pipe & | info () noexcept |
|
pipe & | max_frame_size (uint32_t frame_size) |
|
template<typename data_t > |
pipe & | operator<< (const data_t &data) |
| synchronous USB write request
|
|
template<typename data_t > |
pipe & | operator>> (data_t &data) |
| synchronous USB read request
|
|
| pipe (device_t &device, const usb::endpoint &endpoint) |
|
virtual void | start (uint64_t, unsigned int=1) |
| async IO thread control (required for Windows compatibility)
|
|
virtual void | start (uint64_t, unsigned int=1) try |
| async IO thread control
|
|
virtual unsigned int | stop (bool=false) noexcept |
|
template<typename data_t > |
pipe & | submit (const request< data_t > &request) const try |
| standard request to pipe
|
|
|
virtual void | exception (const dx::exception &exception, bool filtered=false) const noexcept |
|
virtual void | exception (const dx::exception &exception, bool filtered=false) const noexcept |
|
virtual void | received (os_result, size_t) |
| virtual async callbacks
|
|
virtual void | received (os_result, size_t) |
| virtual async callbacks
|
|
virtual void | received (os_result, size_t, int64_t, usb::isoc::frame *) |
|
virtual void | received (os_result, size_t, int64_t, usb::isoc::frame *) |
|
virtual void | transmitted (os_result, size_t) |
|
virtual void | transmitted (os_result, size_t) |
|
virtual void | transmitted (os_result, size_t, int64_t, usb::isoc::frame *) |
|
virtual void | transmitted (os_result, size_t, int64_t, usb::isoc::frame *) |
|
| ~pipe () noexcept override |
|
◆ type [1/2]
template<typename device_t , typename interface_t >
Enumerator |
---|
control | |
isoc | |
bulk | |
irq | |
control | |
isoc | |
bulk | |
irq | |
◆ type [2/2]
template<typename device_t , typename interface_t >
Enumerator |
---|
control | |
isoc | |
bulk | |
irq | |
control | |
isoc | |
bulk | |
irq | |
◆ ~pipe()
template<typename device_t = device>
|
inlineoverrideprotectedvirtualnoexcept |
◆ pipe()
template<typename device_t = device>
◆ abort()
template<typename device_t , typename interface_t >
◆ dx_catchall_rethrow() [1/3]
template<typename device_t , typename interface_t >
◆ dx_catchall_rethrow() [2/3]
template<typename device_t = device>
dx::usb::pipe< device_t >::dx_catchall_rethrow |
( |
; | , |
|
|
"endpoint:%x interface:%d setting:%d" | , |
|
|
endpoint. | address, |
|
|
endpoint. | interface, |
|
|
endpoint. | setting ) const |
|
inlinenoexcept |
◆ dx_catchall_rethrow() [3/3]
template<typename device_t , typename interface_t >
dx::usb::platform::pipe< device_t, interface_t >::dx_catchall_rethrow |
( |
try {const_cast< pipe< device_t, interface_t > * > | this) ->clear();} dx_catchall_handler(this,, |
|
|
"idx:%d size:%lld" | , |
|
|
idx | , |
|
|
sizeof | request ) const & |
|
inlineinherited |
◆ exception() [1/2]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualnoexceptinherited |
◆ exception() [2/2]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualnoexceptinherited |
◆ in()
template<typename device_t , typename interface_t >
bus initializer (isoc, bulk, pci, etc.) compatibility
◆ info()
template<typename device_t = device>
< Bit D7 indicates a requirement for wMaxPacketSize packets.; D7: MaxPacketsOnly
< D1..0: Pitch Control; D3..2: Data Overrun Control; D5..4: Data Underrun Control; D7..6: Reserved. Must be set to 0.
< Indicates the units used for the wLockDelay field: 0: Undefined; 1: Milliseconds; 2: Decoded PCM samples; 3..255: Reserved
< Indicates the time it takes this endpoint to reliably lock its internal clock recovery circuitry. Units used depend on the value of the bLockDelayUnits field.
< Number of Embedded MIDI Jacks: n.
< ID of the n-th Embedded Jack that is associated with this endpoint.
◆ max_frame_size()
template<typename device_t = device>
◆ operator<<()
template<typename device_t = device>
template<typename data_t >
synchronous USB write request
◆ operator>>()
template<typename device_t = device>
template<typename data_t >
synchronous USB read request
◆ received() [1/4]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualinherited |
◆ received() [2/4]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualinherited |
◆ received() [3/4]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualinherited |
◆ received() [4/4]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualinherited |
◆ start() [1/2]
template<typename device_t , typename interface_t >
◆ start() [2/2]
template<typename device_t , typename interface_t >
◆ stop()
template<typename device_t , typename interface_t >
|
inlinevirtualnoexceptinherited |
◆ submit()
template<typename device_t , typename interface_t >
template<typename data_t >
◆ transmitted() [1/4]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualinherited |
◆ transmitted() [2/4]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualinherited |
◆ transmitted() [3/4]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualinherited |
◆ transmitted() [4/4]
template<typename device_t , typename interface_t >
|
inlineprotectedvirtualinherited |
◆ [struct] [1/2]
◆ address [2/2]
template<typename device_t , typename interface_t >
◆ attributes
template<typename device_t = device>
const struct dx::usb::pipe::attributes& dx::usb::pipe< device_t >::attributes = reinterpret_cast<const struct attributes&>(bmAttributes) |
◆ audio
◆ [class]
◆ device
template<typename device_t , typename interface_t >
◆ handle
template<typename device_t , typename interface_t >
◆ idx
template<typename device_t , typename interface_t >
◆ interface
template<typename device_t , typename interface_t >
◆ [struct] [1/2]
◆ isoc [2/2]
template<typename device_t , typename interface_t >
◆ micro_frames
template<typename device_t , typename interface_t >
◆ type
template<typename device_t , typename interface_t >
◆ [struct]
The documentation for this class was generated from the following file: