USRP Hardware Driver and USRP Manual: pimpl.hpp Source File

| USRP Hardware Driver and USRP Manual Version: 4.9.0.makepkg-0-g9ec1f582 UHD and USRP Manual |

Loading...
Searching...
No Matches
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
config.hpp