USRP Hardware Driver and USRP Manual: property.ipp Source File

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

Loading...
Searching...
No Matches
property.ipp
Go to the documentation of this file.
1//
2// Copyright 2019 Ettus Research, a National Instruments Brand
3//
4// SPDX-License-Identifier: GPL-3.0-or-later
5//
6
7#pragma once
8
9template <typename data_t>
10uhd::rfnoc::property_t<data_t>::property_t(
11 const std::string& id, data_t&& data, const uhd::rfnoc::res_source_info& source_info)
12 : uhd::rfnoc::property_base_t(id, source_info)
13 , _data(std::forward<data_t>(data))
14 , _valid(true)
15{
16 // nop
17}
18
19template <typename data_t>
20 uhd::rfnoc::property_t<data_t>::property_t(const std::string& id,
21 const data_t& data,
22 const uhd::rfnoc::res_source_info& source_info)
23 : uhd::rfnoc::property_base_t(id, source_info), _data(data), _valid(true)
24{
25 // nop
26}
27
28template <typename data_t>
29 uhd::rfnoc::property_t<data_t>::property_t(
30 const std::string& id, const uhd::rfnoc::res_source_info& source_info)
31 : uhd::rfnoc::property_base_t(id, source_info), _valid(false)
32{
33 // nop
34}
uhd::rfnoc::property_base_t::property_base_t
property_base_t(const std::string &id, const res_source_info &source_info)
Definition property.hpp:36
uhd::rfnoc::property_t::property_t
property_t(const std::string &id, data_t &&value, const res_source_info &source_info)
Definition property.ipp:10
std
STL namespace.
uhd::rfnoc
Definition actions.hpp:24
uhd
Definition build_info.hpp:12
uhd::rfnoc::res_source_info
Definition res_source_info.hpp:18