USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-ga1b5c4ae
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 #ifndef INCLUDED_UHD_TRANSPORT_USB_ZERO_COPY_HPP
9 #define INCLUDED_UHD_TRANSPORT_USB_ZERO_COPY_HPP
10 
14 
15 namespace uhd { namespace transport {
16 
27 class UHD_API usb_zero_copy : public virtual zero_copy_if {
28 public:
29  typedef boost::shared_ptr<usb_zero_copy> sptr;
30 
31  virtual ~usb_zero_copy(void);
32 
48  static sptr make(
50  const int recv_interface,
51  const unsigned char recv_endpoint,
52  const int send_interface,
53  const unsigned char send_endpoint,
54  const device_addr_t &hints = device_addr_t()
55  );
56 };
57 
58 }} //namespace
59 
60 #endif /* INCLUDED_UHD_TRANSPORT_USB_ZERO_COPY_HPP */
boost::shared_ptr< usb_device_handle > sptr
Definition: usb_device_handle.hpp:33
Definition: build_info.hpp:14
Definition: usb_zero_copy.hpp:27
#define UHD_API
Definition: config.h:63
Definition: zero_copy.hpp:142
boost::shared_ptr< usb_zero_copy > sptr
Definition: usb_zero_copy.hpp:29
Definition: device_addr.hpp:37