USRP Hardware Driver and USRP Manual  Version: 4.7.0.0
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 
31 #define UHD_PIMPL_DECL(_name) \
32  struct _name; \
33  std::shared_ptr<_name>
34 
42 #define UHD_PIMPL_MAKE(_name, _args) std::shared_ptr<_name>(new _name _args)