USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
usb_zero_copy.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010-2013 Ettus Research LLC
3 //
4 // SPDX-License-Identifier: GPL-3.0
5 //
6 
7 #ifndef INCLUDED_UHD_TRANSPORT_USB_ZERO_COPY_HPP
8 #define INCLUDED_UHD_TRANSPORT_USB_ZERO_COPY_HPP
9 
13 
14 namespace uhd { namespace transport {
15 
26 class UHD_API usb_zero_copy : public virtual zero_copy_if {
27 public:
28  typedef boost::shared_ptr<usb_zero_copy> sptr;
29 
30  virtual ~usb_zero_copy(void);
31 
47  static sptr make(
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 
57 }} //namespace
58 
59 #endif /* INCLUDED_UHD_TRANSPORT_USB_ZERO_COPY_HPP */
boost::shared_ptr< usb_device_handle > sptr
Definition: usb_device_handle.hpp:32
Definition: build_info.hpp:14
Definition: usb_zero_copy.hpp:26
#define UHD_API
Definition: config.h:62
Definition: zero_copy.hpp:141
boost::shared_ptr< usb_zero_copy > sptr
Definition: usb_zero_copy.hpp:28
Definition: device_addr.hpp:36