| USRP Hardware Driver and USRP Manual Version: 4.8.0.makepkg-0-g308126a4 UHD and USRP Manual |

Loading...
Searching...
No Matches
usb_zero_copy.hpp
Go to the documentation of this file.
1//
2// Copyright 2010-2013 Ettus Research LLC
3// Copyright 2018 Ettus Research, a National Instruments Company
4//
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
7
8#pragma once
9
10#include <uhd/transport/usb_device_handle.hpp>
11#include <uhd/transport/zero_copy.hpp>
12#include <uhd/types/device_addr.hpp>
13
14 namespace uhd { namespace transport {
15
26 class UHD_API usb_zero_copy : public virtual zero_copy_if
27{
28 public:
29 typedef std::shared_ptr<usb_zero_copy> sptr;
30
31 ~usb_zero_copy(void) override;
32
48 static sptr make(usb_device_handle::sptr handle,
49 const int recv_interface,
50 const unsigned char recv_endpoint,
51 const int send_interface,
52 const unsigned char send_endpoint,
53 const device_addr_t& hints = device_addr_t());
54};
55
56}} // namespace uhd::transport
uhd::device_addr_t
Definition device_addr.hpp:39
uhd::transport::usb_device_handle::sptr
std::shared_ptr< usb_device_handle > sptr
Definition usb_device_handle.hpp:34
uhd::transport::usb_zero_copy
Definition usb_zero_copy.hpp:27
uhd::transport::usb_zero_copy::~usb_zero_copy
~usb_zero_copy(void) override
uhd::transport::usb_zero_copy::make
static sptr make(usb_device_handle::sptr handle, const int recv_interface, const unsigned char recv_endpoint, const int send_interface, const unsigned char send_endpoint, const device_addr_t &hints=device_addr_t())
uhd::transport::usb_zero_copy::sptr
std::shared_ptr< usb_zero_copy > sptr
Definition usb_zero_copy.hpp:29
uhd::transport::zero_copy_if
Definition zero_copy.hpp:147
UHD_API
#define UHD_API
Definition config.h:87
device_addr.hpp
uhd::transport
Definition adapter_id.hpp:11
uhd
Definition build_info.hpp:12
usb_device_handle.hpp
zero_copy.hpp