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

#include <dx_usb_device.h>

+ Inheritance diagram for dx::usb::stream::pin< desc_t, device_t >:
+ Collaboration diagram for dx::usb::stream::pin< desc_t, device_t >:

Public Types

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

Public Member Functions

pipeabort ()
 
pipeclear ()
 
uint64_t frame ()
 
pipemax_frame_size (unsigned int frame_size)
 
template<typename data_t >
pipeoperator<< (const data_t &data)
 
template<typename data_t >
pipeoperator>> (data_t &data)
 
piperead (void *data, size_t size)
 synchronous USB read request More...
 
pipereceive (void *data, size_t size)
 asynchronous USB read request More...
 
pipereceive (void *data, uint64_t &sequence,::IOUSBIsocFrame *frame, int frames=1)
 asynchronous USB isoc read request More...
 
pipetransmit (const void *data, size_t size)
 asynchronous USB write request More...
 
pipetransmit (const void *data, uint64_t &sequence,::IOUSBIsocFrame *frame, int frames=1)
 asynchronous USB isoc write request More...
 
pipewrite (const void *data, size_t size)
 synchronous USB write request More...
 

Public Attributes

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

Member Enumeration Documentation

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

Member Function Documentation

template<typename device_t = device>
pipe& dx::usb::pipe< device_t >::abort ( )
inlineinherited
template<typename device_t = device>
pipe& dx::usb::pipe< device_t >::clear ( )
inlineinherited
template<typename device_t = device>
uint64_t dx::usb::pipe< device_t >::frame ( )
inlineinherited

+ Here is the call graph for this function:

template<typename device_t = device>
pipe& dx::usb::pipe< device_t >::max_frame_size ( unsigned int  frame_size)
inlineinherited
template<typename device_t = device>
template<typename data_t >
pipe& dx::usb::pipe< device_t >::operator<< ( const data_t &  data)
inlineinherited
template<typename device_t = device>
template<typename data_t >
pipe& dx::usb::pipe< device_t >::operator>> ( data_t &  data)
inlineinherited
template<typename device_t = device>
pipe& dx::usb::pipe< device_t >::read ( void *  data,
size_t  size 
)
inlineinherited

synchronous USB read request

template<typename device_t = device>
pipe& dx::usb::pipe< device_t >::receive ( void *  data,
size_t  size 
)
inlineinherited

asynchronous USB read request

template<typename device_t = device>
pipe& dx::usb::pipe< device_t >::receive ( void *  data,
uint64_t sequence,
::IOUSBIsocFrame *  frame,
int  frames = 1 
)
inlineinherited

asynchronous USB isoc read request

template<typename device_t = device>
pipe& dx::usb::pipe< device_t >::transmit ( const void *  data,
size_t  size 
)
inlineinherited

asynchronous USB write request

template<typename device_t = device>
pipe& dx::usb::pipe< device_t >::transmit ( const void *  data,
uint64_t sequence,
::IOUSBIsocFrame *  frame,
int  frames = 1 
)
inlineinherited

asynchronous USB isoc write request

template<typename device_t = device>
pipe& dx::usb::pipe< device_t >::write ( const void *  data,
size_t  size 
)
inlineinherited

synchronous USB write request

Member Data Documentation

template<typename device_t = device>
enum dx::usb::pipe::type dx::usb::pipe< device_t >::type
inherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Sat Oct 19 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.