USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
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
10
#include <
uhd/transport/usb_device_handle.hpp
>
11
#include <
uhd/transport/zero_copy.hpp
>
12
#include <
uhd/types/device_addr.hpp
>
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
device_addr.hpp
uhd::transport::usb_zero_copy
Definition:
usb_zero_copy.hpp:26
uhd::transport::usb_zero_copy::sptr
std::shared_ptr< usb_zero_copy > sptr
Definition:
usb_zero_copy.hpp:29
UHD_API
#define UHD_API
Definition:
config.h:87
uhd::transport::zero_copy_if
Definition:
zero_copy.hpp:146
uhd::device_addr_t
Definition:
device_addr.hpp:37
zero_copy.hpp
uhd
Definition:
build_info.hpp:12
uhd::transport::usb_device_handle::sptr
std::shared_ptr< usb_device_handle > sptr
Definition:
usb_device_handle.hpp:34
usb_device_handle.hpp
include
uhd
transport
usb_zero_copy.hpp
Generated by
1.8.17