USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
pimpl.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010 Ettus Research LLC
3 //
4 // SPDX-License-Identifier: GPL-3.0
5 //
6 
7 #ifndef INCLUDED_UHD_UTILS_PIMPL_HPP
8 #define INCLUDED_UHD_UTILS_PIMPL_HPP
9 
10 #include <uhd/config.hpp>
11 #include <boost/shared_ptr.hpp>
12 
31 #define UHD_PIMPL_DECL(_name) \
32  struct _name; boost::shared_ptr<_name>
33 
41 #define UHD_PIMPL_MAKE(_name, _args) \
42  boost::shared_ptr<_name>(new _name _args)
43 
44 #endif /* INCLUDED_UHD_UTILS_PIMPL_HPP */