USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
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
15namespace uhd { namespace transport {
16
27class UHD_API usb_zero_copy : public virtual zero_copy_if
28{
29public:
30 typedef boost::shared_ptr<usb_zero_copy> sptr;
31
32 virtual ~usb_zero_copy(void);
33
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}} // namespace uhd::transport
58
59#endif /* INCLUDED_UHD_TRANSPORT_USB_ZERO_COPY_HPP */
Definition: device_addr.hpp:39
boost::shared_ptr< usb_device_handle > sptr
Definition: usb_device_handle.hpp:35
Definition: usb_zero_copy.hpp:28
boost::shared_ptr< usb_zero_copy > sptr
Definition: usb_zero_copy.hpp:30
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())
Definition: zero_copy.hpp:167
#define UHD_API
Definition: config.h:68
Definition: build_info.hpp:13