USRP Hardware Driver and USRP Manual  Version: 20250718.0.git40403b7c.el9
UHD and USRP Manual
pimpl.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010 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>
11 #include <memory>
12 
18 #define UHD_PIMPL_DECL(_name) \
19  struct _name; \
20  std::shared_ptr<_name>
21 
27 #define UHD_PIMPL_MAKE(_name, _args) std::make_shared<_name> _args