USRP Hardware Driver and USRP Manual Version: 4.1.0.1
UHD and USRP Manual
tcp_zero_copy.hpp
Go to the documentation of this file.
1//
2// Copyright 2010-2015 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/config.hpp>
13#include <memory>
14
15namespace uhd { namespace transport {
16
22struct UHD_API tcp_zero_copy : public virtual zero_copy_if
23{
24 ~tcp_zero_copy(void) override;
25
39 static zero_copy_if::sptr make(const std::string& addr,
40 const std::string& port,
41 const device_addr_t& hints = device_addr_t());
42};
43
44}} // namespace uhd::transport
Definition: device_addr.hpp:38
Definition: zero_copy.hpp:147
std::shared_ptr< zero_copy_if > sptr
Definition: zero_copy.hpp:149
#define UHD_API
Definition: config.h:70
Definition: build_info.hpp:12
Definition: tcp_zero_copy.hpp:23
static zero_copy_if::sptr make(const std::string &addr, const std::string &port, const device_addr_t &hints=device_addr_t())