USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
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
11
#include <
uhd/transport/usb_device_handle.hpp
>
12
#include <
uhd/transport/zero_copy.hpp
>
13
#include <
uhd/types/device_addr.hpp
>
14
15
namespace
uhd
{
namespace
transport {
16
27
class
UHD_API
usb_zero_copy
:
public
virtual
zero_copy_if
28
{
29
public
:
30
typedef
boost::shared_ptr<usb_zero_copy>
sptr
;
31
32
virtual
~
usb_zero_copy
(
void
);
33
49
static
sptr
make(
usb_device_handle::sptr
handle,
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 */
device_addr.hpp
uhd::transport::usb_zero_copy::sptr
boost::shared_ptr< usb_zero_copy > sptr
Definition:
usb_zero_copy.hpp:30
uhd::transport::usb_device_handle::sptr
boost::shared_ptr< usb_device_handle > sptr
Definition:
usb_device_handle.hpp:35
uhd::transport::usb_zero_copy
Definition:
usb_zero_copy.hpp:27
UHD_API
#define UHD_API
Definition:
config.h:68
uhd::transport::zero_copy_if
Definition:
zero_copy.hpp:166
uhd::device_addr_t
Definition:
device_addr.hpp:38
zero_copy.hpp
uhd
Definition:
build_info.hpp:13
usb_device_handle.hpp
include
uhd
transport
usb_zero_copy.hpp
Generated by
1.8.16