Loading...
Searching...
No Matches
usb_zero_copy.hpp
Go to the documentation of this file.
//
// Copyright 2010-2013 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <uhd/transport/usb_device_handle.hpp>
#include <uhd/transport/zero_copy.hpp>
#include <uhd/types/device_addr.hpp>
namespace uhd { namespace transport {
class UHD_API usb_zero_copy : public virtual zero_copy_if
{
public:
typedef std::shared_ptr<usb_zero_copy> sptr;
~usb_zero_copy(void) override;
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());
};
}} // namespace uhd::transport
uhd::device_addr_t
Definition device_addr.hpp:39
uhd::transport::usb_device_handle::sptr
std::shared_ptr< usb_device_handle > sptr
Definition usb_device_handle.hpp:34
uhd::transport::usb_zero_copy
Definition usb_zero_copy.hpp:27
uhd::transport::usb_zero_copy::~usb_zero_copy
~usb_zero_copy(void) override
uhd::transport::usb_zero_copy::make
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())
uhd::transport::usb_zero_copy::sptr
std::shared_ptr< usb_zero_copy > sptr
Definition usb_zero_copy.hpp:29
uhd::transport::zero_copy_if
Definition zero_copy.hpp:147
UHD_API
#define UHD_API
Definition config.h:87
device_addr.hpp
uhd::transport
Definition adapter_id.hpp:11
uhd
Definition build_info.hpp:12
usb_device_handle.hpp
zero_copy.hpp