dxd - dynax driver framework  2719
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::usb::pipe< exception_t, device_t > Class Template Reference

#include <dx_usb_device.h>

+ Inheritance diagram for dx::usb::pipe< exception_t, device_t >:
+ Collaboration diagram for dx::usb::pipe< exception_t, device_t >:

Public Types

enum  type : unsigned char { control =::kUSBControl, isoc =::kUSBIsoc, bulk =::kUSBBulk, irq =::kUSBInterrupt }
 

Public Member Functions

void abort () throw (exception_t)
 
void clear () throw (exception_t)
 
uint64_t frame () throw (exception_t)
 
void max_frame_size (unsigned int frame_size) throw (exception_t)
 
 pipe (device_t &device, const dx::usb::endpoint &endpoint) throw (exception_t)
 
void receive (void *data, size_t size) throw (exception_t)
 asynchronous USB read request with wMaxPacketSize More...
 
void receive (void *data, uint64_t &sequence,::IOUSBIsocFrame *frame, int frames=1) throw (exception_t)
 
os_result status () throw (exception_t)
 
void transmit (const void *data, size_t size) throw (exception_t)
 
void transmit (const void *data, uint64_t &sequence,::IOUSBIsocFrame *frame, int frames=1) throw (exception_t)
 
void write (const void *data, size_t size) throw (exception_t)
 
template<typename data_t >
void write (const data_t &data) throw (exception_t)
 

Public Attributes

enum dx::usb::pipe::type type
 

Member Enumeration Documentation

template<typename exception_t = os_result, typename device_t = device<exception_t>>
enum dx::usb::pipe::type : unsigned char
Enumerator
control 
isoc 
bulk 
irq 

Constructor & Destructor Documentation

template<typename exception_t = os_result, typename device_t = device<exception_t>>
dx::usb::pipe< exception_t, device_t >::pipe ( device_t &  device,
const dx::usb::endpoint endpoint 
)
throw (exception_t
)
inline

+ Here is the call graph for this function:

Member Function Documentation

template<typename exception_t = os_result, typename device_t = device<exception_t>>
void dx::usb::pipe< exception_t, device_t >::abort ( )
throw (exception_t
)
inline
template<typename exception_t = os_result, typename device_t = device<exception_t>>
void dx::usb::pipe< exception_t, device_t >::clear ( )
throw (exception_t
)
inline
template<typename exception_t = os_result, typename device_t = device<exception_t>>
uint64_t dx::usb::pipe< exception_t, device_t >::frame ( )
throw (exception_t
)
inline
template<typename exception_t = os_result, typename device_t = device<exception_t>>
void dx::usb::pipe< exception_t, device_t >::max_frame_size ( unsigned int  frame_size)
throw (exception_t
)
inline
template<typename exception_t = os_result, typename device_t = device<exception_t>>
void dx::usb::pipe< exception_t, device_t >::receive ( void *  data,
size_t  size 
)
throw (exception_t
)
inline

asynchronous USB read request with wMaxPacketSize

template<typename exception_t = os_result, typename device_t = device<exception_t>>
void dx::usb::pipe< exception_t, device_t >::receive ( void *  data,
uint64_t sequence,
::IOUSBIsocFrame *  frame,
int  frames = 1 
)
throw (exception_t
)
inline
template<typename exception_t = os_result, typename device_t = device<exception_t>>
os_result dx::usb::pipe< exception_t, device_t >::status ( )
throw (exception_t
)
inline
template<typename exception_t = os_result, typename device_t = device<exception_t>>
void dx::usb::pipe< exception_t, device_t >::transmit ( const void *  data,
size_t  size 
)
throw (exception_t
)
inline
template<typename exception_t = os_result, typename device_t = device<exception_t>>
void dx::usb::pipe< exception_t, device_t >::transmit ( const void *  data,
uint64_t sequence,
::IOUSBIsocFrame *  frame,
int  frames = 1 
)
throw (exception_t
)
inline
template<typename exception_t = os_result, typename device_t = device<exception_t>>
void dx::usb::pipe< exception_t, device_t >::write ( const void *  data,
size_t  size 
)
throw (exception_t
)
inline
template<typename exception_t = os_result, typename device_t = device<exception_t>>
template<typename data_t >
void dx::usb::pipe< exception_t, device_t >::write ( const data_t &  data)
throw (exception_t
)
inline

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

template<typename exception_t = os_result, typename device_t = device<exception_t>>
enum dx::usb::pipe::type dx::usb::pipe< exception_t, device_t >::type

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

(c) copyright 2009 dynamic acoustics e.U. generated on Tue Apr 23 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.