Loading...
Searching...
No Matches
property.ipp
Go to the documentation of this file.
//
// Copyright 2019 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
template <typename data_t>
uhd::rfnoc::property_t<data_t>::property_t(
const std::string& id, data_t&& data, const uhd::rfnoc::res_source_info& source_info)
: uhd::rfnoc::property_base_t(id, source_info)
, _data(std::forward<data_t>(data))
, _valid(true)
{
// nop
}
template <typename data_t>
uhd::rfnoc::property_t<data_t>::property_t(const std::string& id,
const data_t& data,
const uhd::rfnoc::res_source_info& source_info)
: uhd::rfnoc::property_base_t(id, source_info), _data(data), _valid(true)
{
// nop
}
template <typename data_t>
uhd::rfnoc::property_t<data_t>::property_t(
const std::string& id, const uhd::rfnoc::res_source_info& source_info)
: uhd::rfnoc::property_base_t(id, source_info), _valid(false)
{
// nop
}
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