dxd - dynax driver framework 2.2.0d81
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::usb::interface Class Reference

#include <dx_usb_device.h>

+ Inheritance diagram for dx::usb::interface:
+ Collaboration diagram for dx::usb::interface:

Public Member Functions

interfaceclose (bool force=false) noexcept
 
interfaceclose (bool=false) noexcept
 
 dx_catchall_rethrow ()
 
 dx_catchall_rethrow ()
 
 dx_catchall_rethrow ()
 
uint8_t index () const
 
uint8_t index () const try
 
 interface (handle handle, struct descriptor::head *raw, size_t length, const dx::log &log={})
 
interfaceopen ()
 opens the USB intreface for exclusice access
 
::IOUSBInterfaceInterface650 * operator-> () const
 
 operator::IOUSBInterfaceInterface650 ** () const
 
 operator::WINUSB_INTERFACE_HANDLE () const
 
superoperator[] (uint8_t setting) override
 
uint8_t setting () const
 
virtual uint8_t setting () const try
 

Public Attributes

std::deque< __::interfacealternate
 
std::deque< union audio::descriptor::interfaceaudio
 
uint16_t bcdADC {}
 
std::deque< endpointendpoint
 
 runloop
 

Protected Types

typedef io_object_t handle
 
typedef ::WINUSB_INTERFACE_HANDLE handle
 

Protected Member Functions

void initialize (::IOCFPlugInInterface **cf_interface, ::CFUUIDRef uuid)
 
void initialize (io_object_t io_object, ::CFUUIDRef type, ::CFUUIDRef uuid)
 

Protected Attributes

dx::log log {}
 
std::atomic< int > opened {}
 
handle winusb
 

Friends

std::ostream & operator<< (std::ostream &, const interface &)
 

Member Typedef Documentation

◆ handle [1/2]

typedef io_object_t dx::usb::platform::interface::handle
protectedinherited

◆ handle [2/2]

Constructor & Destructor Documentation

◆ interface()

dx::usb::interface::interface ( handle handle,
struct descriptor::head * raw,
size_t length,
const dx::log & log = {} )
inline

Member Function Documentation

◆ close() [1/2]

interface & dx::usb::platform::interface::close ( bool force = false)
inlinenoexceptinherited
+ Here is the caller graph for this function:

◆ close() [2/2]

interface & dx::usb::platform::interface::close ( bool = false)
inlinenoexceptinherited

◆ dx_catchall_rethrow() [1/3]

dx::usb::platform::interface::dx_catchall_rethrow ( )
inherited

◆ dx_catchall_rethrow() [2/3]

dx::usb::platform::interface::dx_catchall_rethrow ( )
inherited

◆ dx_catchall_rethrow() [3/3]

dx::usb::platform::interface::dx_catchall_rethrow ( )
inherited

◆ index() [1/2]

uint8_t dx::usb::platform::interface::index ( ) const
inlineinherited

◆ index() [2/2]

uint8_t dx::usb::platform::interface::index ( ) const
inlineinherited

◆ initialize() [1/2]

void cf::interface< ::IOUSBInterfaceInterface650 >::initialize ( ::IOCFPlugInInterface ** cf_interface,
::CFUUIDRef uuid )
inlineprotectedinherited

◆ initialize() [2/2]

void cf::interface< ::IOUSBInterfaceInterface650 >::initialize ( io_object_t io_object,
::CFUUIDRef type,
::CFUUIDRef uuid )
protectedinherited

◆ open()

interface & dx::usb::platform::interface::open ( )
inlineinherited

opens the USB intreface for exclusice access

+ Here is the caller graph for this function:

◆ operator->()

::IOUSBInterfaceInterface650 * cf::interface< ::IOUSBInterfaceInterface650 >::operator-> ( ) const
inlineinherited

◆ operator::IOUSBInterfaceInterface650 **()

cf::interface< ::IOUSBInterfaceInterface650 >::operator ::IOUSBInterfaceInterface650 ** ( ) const
inlineinherited

◆ operator::WINUSB_INTERFACE_HANDLE()

dx::usb::platform::interface::operator::WINUSB_INTERFACE_HANDLE ( ) const
inlineinherited

◆ operator[]()

super & dx::usb::interface::operator[] ( uint8_t setting)
inlineoverridevirtual

Reimplemented from dx::usb::platform::interface.

◆ setting() [1/2]

uint8_t dx::usb::platform::interface::setting ( ) const
inlineinherited
+ Here is the caller graph for this function:

◆ setting() [2/2]

virtual uint8_t dx::usb::platform::interface::setting ( ) const
inlinevirtualinherited

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const interface & interface )
friend

Member Data Documentation

◆ alternate

std::deque<__::interface> dx::usb::interface::alternate

◆ audio

std::deque<union audio::descriptor::interface> dx::usb::__::interface::audio
inherited

◆ bcdADC

uint16_t dx::usb::interface::bcdADC {}

◆ endpoint

std::deque<endpoint> dx::usb::__::interface::endpoint
inherited

◆ log

dx::log dx::usb::platform::interface::log {}
protectedinherited

◆ opened

std::atomic<int> dx::usb::platform::interface::opened {}
protectedinherited

◆ runloop

dx::usb::platform::interface::runloop
inherited

◆ winusb

handle dx::usb::platform::interface::winusb
protectedinherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Dec 20 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.