dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::usb::platform::pipe< device_t, interface_t > Class Template Reference

the platform half of a pipe: the transfers over the interface's endpoint and their completions - a group pipe's and an isochronous one's queue their result for the group's poll, since a completion counts and never schedules More...

#include <dx_usb_platform_pipe.h>

Inheritance diagram for dx::usb::platform::pipe< device_t, interface_t >:
Collaboration diagram for dx::usb::platform::pipe< device_t, interface_t >:

Classes

struct  isoc
 what an isochronous pipe needs beside its requests: the micro frames a packet is spread over and the registered buffer they are served from More...

Public Types

typedef _device_t device_t
typedef _device_t device_t
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
}
 the transfer type of this pipe, as its endpoint declared it More...

Public Member Functions

pipe& abort()
pipe& abort()
pipe& clear()
pipe& clear(bool force= false)
void conclude() noexcept
void conclude() noexcept
pipe& drain(std::chrono::milliseconds timeout= std::chrono::milliseconds(250)) noexcept
 waits for already-submitted requests to complete on their own, without cancelling them
pipe& drain(std::chrono::milliseconds timeout= std::chrono::milliseconds(250)) noexcept
 waits for already-submitted requests to complete on their own, without cancelling them; consumes the isoc completions itself when no completion thread does - its caller then holds the device lock the group's tick would need, so nobody else polls
void exception(const dx::exception& exception, bool filtered= false) const noexcept override
 notification exception handler
void exception(const dx::exception& exception, bool filtered= false) const noexcept override
 notification exception handler
uint64_t frame(int64_t* timestamp= nullptr)
 current bus frame number; timestamp: dx::timestamp() of the readout
pipe& max_frame_size(uint32_t frame_size)
pipe& max_frame_size(unsigned int frame_size)
template<typename data_t>
pipe& operator <<(const data_t& data)
template<typename data_t>
pipe& operator >>(data_t& data)
bool outstanding() const noexcept
bool outstanding() const noexcept
 pipe(device_t& device, const endpoint& endpoint)
 the runloop queues every isoc and every group pipe's completion for poll()
 pipe(device_t& device, const endpoint& endpoint)
 completion: the pipe's own thread delivers the completions via received()/transmitted(); a pipe of a streaming group (desc.group) leaves them to its group's tick (poll())
bool poll(usb::isoc::result& result)
 pulls the oldest outstanding request's result once it has completed
bool poll(usb::isoc::result& result) noexcept
 pulls the oldest completed request's result
pipe& read(void* data, size_t& size)
 synchronous USB read request
pipe& read(void* data, size_t size)
 synchronous USB read request
virtual pipe& receive(void* data, size_t size)
 asynchronous USB read request
pipe& receive(void* data, size_t size)
 asynchronous USB read request
virtual pipe& receive(void* data, uint64_t& sequence, ::IOUSBIsocFrame* frame, int32_t frames= 1)
 asynchronous USB isoc read request
pipe& receive(void* data, uint64_t& sequence, ::USBD_ISO_PACKET_DESCRIPTOR* frame, unsigned int frames= 1)
 asynchronous USB isoc read request WinUSB limitation no microframe support only multiple of max package size requests allowed, even if only submiting a single package https://docs.microsoft.com/en-us/windows/win32/api/winusb/nf-winusb-winusb_readisochpipe is wrong!
os_result status() const noexcept
os_result status() const noexcept
template<typename data_t>
data_t submit(const control& control) const
 control request to pipe
template<typename data_t>
data_t submit(const control& control) const
 control request to pipe
template<typename data_t>
pipe& submit(const request<data_t>& request) const
 standard request to pipe
template<typename data_t>
pipe& submit(const request<data_t>& request) const
 standard request to pipe
pipe& transfer(bool in, void* data, size_t& size)
 a synchronous transfer: asynchronous underneath, past timeout the pipe aborted and the transfer failed as timed out - IOKit completes every request, an aborted one included
pipe& transfer(bool in, void* data, size_t size)
 a synchronous transfer: overlapped underneath, past timeout the pipe aborted and the transfer failed as timed out
virtual pipe& transmit(const void* data, size_t& size)
 asynchronous USB write request
pipe& transmit(const void* data, size_t size)
 asynchronous USB write request
virtual pipe& transmit(const void* data, uint64_t& sequence, ::IOUSBIsocFrame* frame, int32_t frames= 1)
 asynchronous USB isoc write request
pipe& transmit(const void* data, uint64_t& sequence, ::USBD_ISO_PACKET_DESCRIPTOR* frame, unsigned int frames= 1)
 asynchronous USB isoc write request
bool try_conclude() noexcept
 atomically conclude()s if currently launched; returns whether this call did it
bool try_conclude() noexcept
 atomically conclude()s if currently launched; returns whether this call did it
bool try_launch()
 atomically launch()es if not already launched; returns whether this call did it. A launch() that throws is concluded before the exception leaves: the object never claims a launch it did not finish
bool try_launch()
 atomically launch()es if not already launched; returns whether this call did it. A launch() that throws is concluded before the exception leaves: the object never claims a launch it did not finish
pipe& write(const void* data, size_t size)
 synchronous USB write request
pipe& write(const void* data, size_t size)
 synchronous USB write request
 ~pipe() noexcept override

Public Attributes

interface_t& interface
std::atomic<bool> launched{}
std::atomic<bool> launched{}
promoted<uint32_t> start
promoted<uint32_t> start
promoted<bool> started
promoted<bool> started
std::chrono::milliseconds timeout{}
enum dx::usb::platform::pipe::type type

Static Public Attributes

static constexpr auto max{usb::isoc::max_requests}

Protected Member Functions

virtual void launch()
 launch notification: object mounted and ready to use. Called only through try_launch() - never call this directly from outside the class hierarchy.
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() override

Protected Attributes

struct dx::usb::platform::pipe:: { ... }  address
uint8_t address{}
usb::isoc::result completed [max]
 isoc completions in callback order, filled by the runloop, drained by poll()
_device_t& device
_device_t& device
std::function<void()> flush_hook
std::function<void()> flush_hook
std::function<void()> halt_hook
std::function<void()> halt_hook
uint8_t idx= 0
struct dx::usb::platform::pipe:: { ... }  isoc
struct dx::usb::platform::pipe::isoc isoc
std::function<void()> run_hook
std::function<void()> run_hook
volatile unsigned int rx= 0
volatile unsigned int tx= 0
struct dx::usb::platform::pipe:: { ... }  winusb

Detailed Description

template<typename device_t, typename interface_t>
class dx::usb::platform::pipe< device_t, interface_t >

the platform half of a pipe: the transfers over the interface's endpoint and their completions - a group pipe's and an isochronous one's queue their result for the group's poll, since a completion counts and never schedules

the platform half of a pipe: up to max outstanding overlapped requests over WinUSB, their completions taken in submission order - the order the controller serves a pipe in

Member Typedef Documentation

◆ device_t [1/2]

template<typename _device_t>
typedef _device_t dx::stream::object<_device_t>::device_t
inherited

◆ device_t [2/2]

template<typename _device_t>
typedef _device_t dx::stream::object<_device_t>::device_t
inherited

Member Enumeration Documentation

◆ type [1/2]

template<typename device_t, typename interface_t>
enum class enum dx::usb::platform::pipe::type dx::usb::platform::pipe<device_t, interface_t>::type
strong
Enumerator
control 
isoc 
bulk 
irq 
control 
isoc 
bulk 
irq 

◆ type [2/2]

template<typename device_t, typename interface_t>
enum class dx::usb::platform::pipe::type : unsigned char
strong

the transfer type of this pipe, as its endpoint declared it

Enumerator
control 
isoc 
bulk 
irq 
control 
isoc 
bulk 
irq 

Constructor & Destructor Documentation

◆ ~pipe() [1/2]

template<typename device_t, typename interface_t>
dx::usb::platform::pipe<device_t, interface_t>::~pipe()
inlineoverrideprotected

◆ pipe() [1/2]

template<typename device_t, typename interface_t>
dx::usb::platform::pipe<device_t, interface_t>::pipe(device_t& device, const endpoint& endpoint)
inline

the runloop queues every isoc and every group pipe's completion for poll()

async IO thread control (required for Windows compatibility)

◆ pipe() [2/2]

template<typename device_t, typename interface_t>
dx::usb::platform::pipe<device_t, interface_t>::pipe(device_t& device, const endpoint& endpoint)
inline

completion: the pipe's own thread delivers the completions via received()/transmitted(); a pipe of a streaming group (desc.group) leaves them to its group's tick (poll())

async IO thread control

joins the completion thread once this pipe's last start/stop reference is gone

◆ ~pipe() [2/2]

template<typename device_t, typename interface_t>
dx::usb::platform::pipe<device_t, interface_t>::~pipe()
inlineoverridenoexcept

Member Function Documentation

◆ abort() [1/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::abort()
inline

◆ abort() [2/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::abort()
inline

◆ clear() [1/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::clear()
inline

◆ clear() [2/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::clear(bool force= false)
inline

◆ conclude() [1/2]

void dx::stream::control<dx::stream::object<device_t>>::conclude()
inlinevirtualnoexceptinherited

Reimplemented from dx::object.

Reimplemented in dx::usb::pipe< device_t >.

◆ conclude() [2/2]

void dx::stream::control<stream::object<device_t>>::conclude()
inlinevirtualnoexceptinherited

Reimplemented from dx::object.

Reimplemented in dx::usb::pipe< device_t >.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drain() [1/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::drain(std::chrono::milliseconds timeout= std::chrono::milliseconds(250))
inlinenoexcept

waits for already-submitted requests to complete on their own, without cancelling them

◆ drain() [2/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::drain(std::chrono::milliseconds timeout= std::chrono::milliseconds(250))
inlinenoexcept

waits for already-submitted requests to complete on their own, without cancelling them; consumes the isoc completions itself when no completion thread does - its caller then holds the device lock the group's tick would need, so nobody else polls

◆ exception() [1/2]

template<typename _device_t>
void dx::stream::object<_device_t>::exception(const dx::exception& exception, bool filtered= false) const
inlineoverridevirtualnoexceptinherited

notification exception handler

Implements dx::object.

Reimplemented in dx::stream::pin< device_t, _circular_t >, and dx::usb::stream::pipe< device_t, circular_t, stream_t >.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exception() [2/2]

template<typename _device_t>
void dx::stream::object<_device_t>::exception(const dx::exception& exception, bool filtered= false) const
inlineoverridevirtualnoexceptinherited

notification exception handler

Implements dx::object.

Reimplemented in dx::stream::pin< device_t, _circular_t >, and dx::usb::stream::pipe< device_t, circular_t, stream_t >.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ frame()

template<typename device_t, typename interface_t>
uint64_t dx::usb::platform::pipe<device_t, interface_t>::frame(int64_t* timestamp= nullptr)
inline

current bus frame number; timestamp: dx::timestamp() of the readout

◆ launch()

virtual void dx::object::launch()
inlineprotectedvirtualinherited

launch notification: object mounted and ready to use. Called only through try_launch() - never call this directly from outside the class hierarchy.

Reimplemented in dx::asio::client::driver< device_t, devices >, dx::coreaudio::driver< device_t >, dx::coremidi::driver< device_t >, dx::map::driver< _device_t, holder_t >, dx::map::driver< device<> >, dx::map::driver< device_t >, dx::map::driver< device_t, dx::apartment< device_t > >, dx::midi::services::driver< device_t >, dx::proxy::device< preference_t >, dx::proxy::device< preference_t >, dx::proxy::device< dx::preference >, dx::proxy::device<>, dx::proxy::driver< device_t >, dx::proxy::driver< device_t >, dx::service::app, dx::service::app, dx::service::client::_device< desc_t, preference_t, stream_t, group_t >, dx::service::client::_device< desc, preference, stream< device< desc, preference, stream, group > >, group< device< desc, preference, stream, group > > >, dx::service::client::_device< desc_t, preference_t, stream_t< device< desc_t, preference_t, stream_t, group_t > >, group_t< device< desc_t, preference_t, stream_t, group_t > > >, dx::service::client::driver< device_t >, dx::stream::stream< device_t, dx::circular, usb::pipe< device_t > >, dx::usb::stream::_device< desc_t, preference_t, stream_t, group_t >, dx::usb::stream::_device< desc_t, dx::preference, pipe< device< desc_t, dx::preference, pipe, group > >, group< device< desc_t, dx::preference, pipe, group > > >, dx::usb::stream::_device< desc_t, preference_t, stream_t< device< desc_t, preference_t, stream_t, group_t > >, group_t< device< desc_t, preference_t, stream_t, group_t > > >, dx::virtuel::driver< device_t >, and dx::wasapi::client::driver< device_t >.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ max_frame_size() [1/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::max_frame_size(uint32_t frame_size)
inline

◆ max_frame_size() [2/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::max_frame_size(unsigned int frame_size)
inline

◆ operator <<()

template<typename device_t, typename interface_t>
template<typename data_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::operator <<(const data_t& data)
inline

◆ operator >>()

template<typename device_t, typename interface_t>
template<typename data_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::operator >>(data_t& data)
inline

◆ outstanding() [1/2]

template<typename device_t, typename interface_t>
bool dx::usb::platform::pipe<device_t, interface_t>::outstanding() const
inlinenoexcept

asynchronous requests in flight

Here is the caller graph for this function:

◆ outstanding() [2/2]

template<typename device_t, typename interface_t>
bool dx::usb::platform::pipe<device_t, interface_t>::outstanding() const
inlinenoexcept

asynchronous requests in flight

◆ poll() [1/2]

template<typename device_t, typename interface_t>
bool dx::usb::platform::pipe<device_t, interface_t>::poll(usb::isoc::result& result)
inline

pulls the oldest outstanding request's result once it has completed

◆ poll() [2/2]

template<typename device_t, typename interface_t>
bool dx::usb::platform::pipe<device_t, interface_t>::poll(usb::isoc::result& result)
inlinenoexcept

pulls the oldest completed request's result

◆ read() [1/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::read(void* data, size_t& size)
inline

synchronous USB read request

◆ read() [2/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::read(void* data, size_t size)
inline

synchronous USB read request

◆ receive() [1/4]

template<typename device_t, typename interface_t>
virtual pipe& dx::usb::platform::pipe<device_t, interface_t>::receive(void* data, size_t size)
inlinevirtual

asynchronous USB read request

◆ receive() [2/4]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::receive(void* data, size_t size)
inline

asynchronous USB read request

◆ receive() [3/4]

template<typename device_t, typename interface_t>
virtual pipe& dx::usb::platform::pipe<device_t, interface_t>::receive(void* data, uint64_t& sequence, ::IOUSBIsocFrame* frame, int32_t frames= 1)
inlinevirtual

asynchronous USB isoc read request

◆ receive() [4/4]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::receive(void* data, uint64_t& sequence, ::USBD_ISO_PACKET_DESCRIPTOR* frame, unsigned int frames= 1)
inline

asynchronous USB isoc read request WinUSB limitation no microframe support only multiple of max package size requests allowed, even if only submiting a single package https://docs.microsoft.com/en-us/windows/win32/api/winusb/nf-winusb-winusb_readisochpipe is wrong!

◆ received() [1/4]

template<typename device_t, typename interface_t>
virtual void dx::usb::platform::pipe<device_t, interface_t>::received(os_result, size_t)
inlineprotectedvirtual

virtual async callbacks

Reimplemented in dx::usb::stream::pipe< device_t, circular_t, stream_t >.

◆ received() [2/4]

template<typename device_t, typename interface_t>
virtual void dx::usb::platform::pipe<device_t, interface_t>::received(os_result, size_t)
inlineprotectedvirtual

virtual async callbacks

◆ received() [3/4]

template<typename device_t, typename interface_t>
virtual void dx::usb::platform::pipe<device_t, interface_t>::received(os_result, size_t, int64_t, usb::isoc::frame*)
inlineprotectedvirtual

◆ received() [4/4]

template<typename device_t, typename interface_t>
virtual void dx::usb::platform::pipe<device_t, interface_t>::received(os_result, size_t, int64_t, usb::isoc::frame*)
inlineprotectedvirtual

◆ status() [1/2]

template<typename device_t, typename interface_t>
os_result dx::usb::platform::pipe<device_t, interface_t>::status() const
inlinenoexcept

◆ status() [2/2]

template<typename device_t, typename interface_t>
os_result dx::usb::platform::pipe<device_t, interface_t>::status() const
inlinenoexcept

◆ submit() [1/4]

template<typename device_t, typename interface_t>
template<typename data_t>
data_t dx::usb::platform::pipe<device_t, interface_t>::submit(const control& control) const
inline

control request to pipe

◆ submit() [2/4]

template<typename device_t, typename interface_t>
template<typename data_t>
data_t dx::usb::platform::pipe<device_t, interface_t>::submit(const control& control) const
inline

control request to pipe

◆ submit() [3/4]

template<typename device_t, typename interface_t>
template<typename data_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::submit(const request<data_t>& request) const
inline

standard request to pipe

◆ submit() [4/4]

template<typename device_t, typename interface_t>
template<typename data_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::submit(const request<data_t>& request) const
inline

standard request to pipe

◆ transfer() [1/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::transfer(bool in, void* data, size_t& size)
inline

a synchronous transfer: asynchronous underneath, past timeout the pipe aborted and the transfer failed as timed out - IOKit completes every request, an aborted one included

◆ transfer() [2/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::transfer(bool in, void* data, size_t size)
inline

a synchronous transfer: overlapped underneath, past timeout the pipe aborted and the transfer failed as timed out

◆ transmit() [1/4]

template<typename device_t, typename interface_t>
virtual pipe& dx::usb::platform::pipe<device_t, interface_t>::transmit(const void* data, size_t& size)
inlinevirtual

asynchronous USB write request

◆ transmit() [2/4]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::transmit(const void* data, size_t size)
inline

asynchronous USB write request

◆ transmit() [3/4]

template<typename device_t, typename interface_t>
virtual pipe& dx::usb::platform::pipe<device_t, interface_t>::transmit(const void* data, uint64_t& sequence, ::IOUSBIsocFrame* frame, int32_t frames= 1)
inlinevirtual

asynchronous USB isoc write request

◆ transmit() [4/4]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::transmit(const void* data, uint64_t& sequence, ::USBD_ISO_PACKET_DESCRIPTOR* frame, unsigned int frames= 1)
inline

asynchronous USB isoc write request

◆ transmitted() [1/4]

template<typename device_t, typename interface_t>
virtual void dx::usb::platform::pipe<device_t, interface_t>::transmitted(os_result, size_t)
inlineprotectedvirtual

◆ transmitted() [2/4]

template<typename device_t, typename interface_t>
virtual void dx::usb::platform::pipe<device_t, interface_t>::transmitted(os_result, size_t)
inlineprotectedvirtual

◆ transmitted() [3/4]

template<typename device_t, typename interface_t>
virtual void dx::usb::platform::pipe<device_t, interface_t>::transmitted(os_result, size_t, int64_t, usb::isoc::frame*)
inlineprotectedvirtual

◆ transmitted() [4/4]

template<typename device_t, typename interface_t>
virtual void dx::usb::platform::pipe<device_t, interface_t>::transmitted(os_result, size_t, int64_t, usb::isoc::frame*)
inlineprotectedvirtual

◆ try_conclude() [1/2]

bool dx::object::try_conclude()
inlinenoexceptinherited

atomically conclude()s if currently launched; returns whether this call did it

Here is the call graph for this function:
Here is the caller graph for this function:

◆ try_conclude() [2/2]

bool dx::object::try_conclude()
inlinenoexceptinherited

atomically conclude()s if currently launched; returns whether this call did it

Here is the call graph for this function:
Here is the caller graph for this function:

◆ try_launch() [1/2]

bool dx::object::try_launch()
inlineinherited

atomically launch()es if not already launched; returns whether this call did it. A launch() that throws is concluded before the exception leaves: the object never claims a launch it did not finish

Here is the call graph for this function:
Here is the caller graph for this function:

◆ try_launch() [2/2]

bool dx::object::try_launch()
inlineinherited

atomically launch()es if not already launched; returns whether this call did it. A launch() that throws is concluded before the exception leaves: the object never claims a launch it did not finish

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write() [1/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::write(const void* data, size_t size)
inline

synchronous USB write request

◆ write() [2/2]

template<typename device_t, typename interface_t>
pipe& dx::usb::platform::pipe<device_t, interface_t>::write(const void* data, size_t size)
inline

synchronous USB write request

Member Data Documentation

◆ address [1/2]

struct { ... } dx::usb::platform::pipe<device_t, interface_t>::address

◆ address [2/2]

template<typename device_t, typename interface_t>
uint8_t dx::usb::platform::pipe<device_t, interface_t>::address{}
protected

◆ completed

template<typename device_t, typename interface_t>
usb::isoc::result dx::usb::platform::pipe<device_t, interface_t>::completed[max]
protected

isoc completions in callback order, filled by the runloop, drained by poll()

◆ device [1/2]

template<typename _device_t>
_device_t& dx::stream::object<_device_t>::device
protectedinherited

◆ device [2/2]

template<typename _device_t>
_device_t& dx::stream::object<_device_t>::device
protectedinherited

◆ flush_hook [1/2]

std::function<void()> dx::stream::control<dx::stream::object<device_t>>::flush_hook
protectedinherited

◆ flush_hook [2/2]

std::function<void()> dx::stream::control<stream::object<device_t>>::flush_hook
protectedinherited

◆ halt_hook [1/2]

std::function<void()> dx::stream::control<dx::stream::object<device_t>>::halt_hook
protectedinherited

◆ halt_hook [2/2]

std::function<void()> dx::stream::control<stream::object<device_t>>::halt_hook
protectedinherited

◆ idx

template<typename device_t, typename interface_t>
uint8_t dx::usb::platform::pipe<device_t, interface_t>::idx= 0
protected

◆ interface

template<typename device_t, typename interface_t>
interface_t & dx::usb::platform::pipe<device_t, interface_t>::interface

◆ isoc [1/2]

struct { ... } dx::usb::platform::pipe<device_t, interface_t>::isoc

◆ isoc [2/2]

template<typename device_t, typename interface_t>
struct dx::usb::platform::pipe::isoc dx::usb::platform::pipe<device_t, interface_t>::isoc
protected

◆ launched [1/2]

std::atomic<bool> dx::object::launched{}
inherited

◆ launched [2/2]

std::atomic<bool> dx::object::launched{}
inherited

◆ max

template<typename device_t, typename interface_t>
constexpr auto dx::usb::platform::pipe<device_t, interface_t>::max{usb::isoc::max_requests}
staticconstexpr

◆ run_hook [1/2]

std::function<void()> dx::stream::control<dx::stream::object<device_t>>::run_hook
protectedinherited

◆ run_hook [2/2]

std::function<void()> dx::stream::control<stream::object<device_t>>::run_hook
protectedinherited

◆ rx

template<typename device_t, typename interface_t>
volatile unsigned int dx::usb::platform::pipe<device_t, interface_t>::rx= 0
protected

◆ start [1/2]

◆ start [2/2]

◆ started [1/2]

◆ started [2/2]

◆ timeout

template<typename device_t, typename interface_t>
std::chrono::milliseconds dx::usb::platform::pipe<device_t, interface_t>::timeout{}

a synchronous transfer's bound, 0: none

◆ tx

template<typename device_t, typename interface_t>
volatile unsigned int dx::usb::platform::pipe<device_t, interface_t>::tx= 0
protected

◆ type

template<typename device_t, typename interface_t>
enum dx::usb::platform::pipe::type dx::usb::platform::pipe<device_t, interface_t>::type

◆ winusb

struct { ... } dx::usb::platform::pipe<device_t, interface_t>::winusb

The documentation for this class was generated from the following files: