USRP Hardware Driver and USRP Manual  Version: 4.6.0.0
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 
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
Definition: build_info.hpp:12
std::shared_ptr< usb_zero_copy > sptr
Definition: usb_zero_copy.hpp:29
Definition: usb_zero_copy.hpp:26
#define UHD_API
Definition: config.h:87
Definition: zero_copy.hpp:146
std::shared_ptr< usb_device_handle > sptr
Definition: usb_device_handle.hpp:34
Definition: device_addr.hpp:37