dxd - dynax driver framework  3010
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

 interface (io_object_t io_object, decltype(descriptor::head)*raw, unsigned int length)
 
::IOUSBInterfaceInterface650 * operator-> () const
 
 operator::IOUSBInterfaceInterface650 ** () const
 
interfaceoperator[] (unsigned char setting)
 
template<size_t size = 0x100>
std::string string (unsigned char idx) const
 
template<typename data_t >
interfacesubmit (const request< data_t > &request, unsigned char idx=0) const
 
template<typename data_t >
data_t submit (const control &control, unsigned char idx=0) const
 
 ~interface () noexcept
 

Public Attributes

std::deque< audio
<>::descriptor::interface > 
audio
 
std::deque< __endpointendpoint
 

Protected Member Functions

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

Constructor & Destructor Documentation

dx::usb::interface::interface ( io_object_t  io_object,
decltype(descriptor::head)*  raw,
unsigned int  length 
)
inline

create and attach runloop source of asynchronous interface operation

dx::usb::interface::~interface ( )
inlinenoexcept

Member Function Documentation

void dx::cf::interface< ::IOUSBInterfaceInterface650 >::initialize ( ::IOCFPlugInInterface **  cf_interface,
::CFUUIDRef  uuid 
)
inlineprotectedinherited
void dx::cf::interface< ::IOUSBInterfaceInterface650 >::initialize ( io_object_t  io_object,
::CFUUIDRef  type,
::CFUUIDRef  uuid 
)
protectedinherited
::IOUSBInterfaceInterface650 * dx::cf::interface< ::IOUSBInterfaceInterface650 >::operator-> ( ) const
inlineinherited
dx::cf::interface< ::IOUSBInterfaceInterface650 >::operator ::IOUSBInterfaceInterface650 ** ( ) const
inlineinherited
interface& dx::usb::interface::operator[] ( unsigned char  setting)
inline
template<size_t size = 0x100>
std::string dx::usb::interface::string ( unsigned char  idx) const
inline

+ Here is the call graph for this function:

template<typename data_t >
interface& dx::usb::interface::submit ( const request< data_t > &  request,
unsigned char  idx = 0 
) const
inline

+ Here is the caller graph for this function:

template<typename data_t >
data_t dx::usb::interface::submit ( const control control,
unsigned char  idx = 0 
) const
inline

Member Data Documentation

std::deque<audio<>::descriptor::interface> dx::usb::__interface::audio
inherited
std::deque<__endpoint> dx::usb::__interface::endpoint
inherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Tue Dec 10 2019

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.