USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-g6563c537
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 #ifndef INCLUDED_UHD_TRANSPORT_TCP_ZERO_COPY_HPP
9 #define INCLUDED_UHD_TRANSPORT_TCP_ZERO_COPY_HPP
10 
11 #include <uhd/config.hpp>
14 #include <boost/shared_ptr.hpp>
15 
16 namespace uhd { namespace transport {
17 
23 struct UHD_API tcp_zero_copy : public virtual zero_copy_if
24 {
25  virtual ~tcp_zero_copy(void);
26 
40  static zero_copy_if::sptr make(const std::string& addr,
41  const std::string& port,
42  const device_addr_t& hints = device_addr_t());
43 };
44 
45 }} // namespace uhd::transport
46 
47 #endif /* INCLUDED_UHD_TRANSPORT_TCP_ZERO_COPY_HPP */
Definition: tcp_zero_copy.hpp:23
boost::shared_ptr< zero_copy_if > sptr
Definition: zero_copy.hpp:169
Definition: build_info.hpp:13
#define UHD_API
Definition: config.h:68
Definition: zero_copy.hpp:166
Definition: device_addr.hpp:38