Revision 687e118e host/include/uhd/transport/usb_zero_copy.hpp
| b/host/include/uhd/transport/usb_zero_copy.hpp | ||
|---|---|---|
| 18 | 18 |
#ifndef INCLUDED_UHD_TRANSPORT_USB_ZERO_COPY_HPP |
| 19 | 19 |
#define INCLUDED_UHD_TRANSPORT_USB_ZERO_COPY_HPP |
| 20 | 20 |
|
| 21 |
#include <uhd/config.hpp> |
|
| 22 |
#include <uhd/types/usb_descriptor.hpp> |
|
| 21 |
#include "usb_device_handle.hpp" |
|
| 23 | 22 |
#include <uhd/transport/zero_copy.hpp> |
| 24 |
#include <boost/shared_ptr.hpp> |
|
| 25 | 23 |
|
| 26 | 24 |
namespace uhd { namespace transport {
|
| 27 | 25 |
|
| ... | ... | |
| 46 | 44 |
* The primary usage for this transport is data transactions. |
| 47 | 45 |
* The underlying implementation may be platform specific. |
| 48 | 46 |
* |
| 49 |
* \param descriptor a USB descriptor identifying the device
|
|
| 47 |
* \param handle a device handle that uniquely identifying the device
|
|
| 50 | 48 |
* \param rx_endpoint an integer specifiying an IN endpoint number |
| 51 | 49 |
* \param tx_endpoint an integer specifiying an OUT endpoint number |
| 52 | 50 |
* \param buff_size total number of bytes of buffer space to allocate |
| 53 | 51 |
* \param block_size number of bytes allocated for each I/O transaction |
| 54 | 52 |
*/ |
| 55 |
static sptr make(usb_descriptor_t descriptor,
|
|
| 53 |
static sptr make(usb_device_handle::sptr handle,
|
|
| 56 | 54 |
unsigned int rx_endpoint, |
| 57 | 55 |
unsigned int tx_endpoint, |
| 58 | 56 |
size_t buff_size = 0, |
Also available in: Unified diff