USRP Hardware Driver and USRP Manual Version: 4.1.0.3
UHD and USRP Manual
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
13
14namespace uhd { namespace transport {
15
26class UHD_API usb_zero_copy : public virtual zero_copy_if
27{
28public:
29 typedef std::shared_ptr<usb_zero_copy> sptr;
30
31 ~usb_zero_copy(void) override;
32
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
Definition: device_addr.hpp:38
std::shared_ptr< usb_device_handle > sptr
Definition: usb_device_handle.hpp:34
Definition: usb_zero_copy.hpp:27
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())
std::shared_ptr< usb_zero_copy > sptr
Definition: usb_zero_copy.hpp:29
Definition: zero_copy.hpp:147
#define UHD_API
Definition: config.h:70
Definition: build_info.hpp:12