USRP Hardware Driver and USRP Manual Version: 4.2.0.0
UHD and USRP Manual
filter_node.hpp
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
10#include <string>
11#include <vector>
12
13namespace uhd { namespace rfnoc { namespace detail {
14
15// TODO: Support static filters
16// TODO: User-defined (external?) filter
20{
21public:
22 using sptr = std::shared_ptr<filter_node>;
23
24 virtual std::vector<std::string> get_rx_filter_names(const size_t chan) const = 0;
26 const std::string& name, const size_t chan) = 0;
27 virtual void set_rx_filter(const std::string& name,
29 const size_t chan) = 0;
30
31 virtual std::vector<std::string> get_tx_filter_names(const size_t chan) const = 0;
33 const std::string& name, const size_t chan) = 0;
34 virtual void set_tx_filter(const std::string& name,
36 const size_t chan) = 0;
37};
38
39}}} /* namespace uhd::rfnoc::detail */
std::shared_ptr< filter_info_base > sptr
Definition: filters.hpp:26
Definition: filter_node.hpp:20
virtual uhd::filter_info_base::sptr get_rx_filter(const std::string &name, const size_t chan)=0
virtual std::vector< std::string > get_tx_filter_names(const size_t chan) const =0
virtual void set_rx_filter(const std::string &name, uhd::filter_info_base::sptr filter, const size_t chan)=0
virtual std::vector< std::string > get_rx_filter_names(const size_t chan) const =0
virtual void set_tx_filter(const std::string &name, uhd::filter_info_base::sptr filter, const size_t chan)=0
virtual uhd::filter_info_base::sptr get_tx_filter(const std::string &name, const size_t chan)=0
std::shared_ptr< filter_node > sptr
Definition: filter_node.hpp:22
Definition: build_info.hpp:12