dxd - dynax driver framework  2711
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::usb::device< exception_t >::request< data_t > Struct Template Reference

#include <dx_usb_device.h>

+ Inheritance diagram for dx::usb::device< exception_t >::request< data_t >:
+ Collaboration diagram for dx::usb::device< exception_t >::request< data_t >:

Public Types

enum  direction : unsigned char { out, in }
 
enum  recipient : unsigned char { device, interface, endpoint, other }
 
enum  type : unsigned char { standard, cls, vendor }
 

Public Member Functions

 request (const struct control &control, data_t *data, unsigned short size=sizeof(data_t))
 
 request (const struct control &control, const data_t &data, unsigned short size=sizeof(data_t))
 

Public Attributes

unsigned char _reserved:3
 
const data_t * data
 
unsigned short index
 
unsigned short length =0
 
unsigned char request
 
unsigned int returned_size
 
unsigned short value
 

Member Enumeration Documentation

enum dx::usb::__request_type::direction : unsigned char
inherited
Enumerator
out 
in 
enum dx::usb::__request_type::recipient : unsigned char
inherited
Enumerator
device 
interface 
endpoint 
other 
enum dx::usb::__request_type::type : unsigned char
inherited
Enumerator
standard 
cls 
vendor 

Constructor & Destructor Documentation

template<typename exception_t = os_result>
template<typename data_t = void>
dx::usb::device< exception_t >::request< data_t >::request ( const struct control control,
data_t *  data,
unsigned short  size = sizeof(data_t) 
)
inline
template<typename exception_t = os_result>
template<typename data_t = void>
dx::usb::device< exception_t >::request< data_t >::request ( const struct control control,
const data_t &  data,
unsigned short  size = sizeof(data_t) 
)
inline

Member Data Documentation

unsigned char dx::usb::__request_type::_reserved
inherited
template<typename exception_t = os_result>
template<typename data_t = void>
const data_t* dx::usb::device< exception_t >::request< data_t >::data
unsigned short dx::usb::control::index
inherited
unsigned short dx::usb::control::length =0
inherited
unsigned char dx::usb::control::request
inherited
template<typename exception_t = os_result>
template<typename data_t = void>
unsigned int dx::usb::device< exception_t >::request< data_t >::returned_size
unsigned short dx::usb::control::value
inherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Mon Feb 25 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.