USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-gaea0e2de
UHD and USRP Manual
fir_block_ctrl.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2014-2018 Ettus Research, a National Instruments Company
3 //
4 // SPDX-License-Identifier: GPL-3.0-or-later
5 //
6 
7 #ifndef INCLUDED_LIBUHD_RFNOC_fir_block_ctrl_HPP
8 #define INCLUDED_LIBUHD_RFNOC_fir_block_ctrl_HPP
9 
12 
13 namespace uhd { namespace rfnoc {
14 
28 {
29 public:
31 
32 
33  //
34  // The length of \p taps must correspond the number of taps
35  // in this block. If it's shorter, zeros will be padded.
36  // If it's longer, throws a uhd::value_error.
37  virtual void set_taps(const std::vector<int>& taps) = 0;
38 
40  virtual size_t get_n_taps() const = 0;
41 }; /* class fir_block_ctrl*/
42 
43 }} /* namespace uhd::rfnoc */
44 
45 #endif /* INCLUDED_LIBUHD_RFNOC_fir_block_ctrl_HPP */
#define UHD_RFNOC_BLOCK_OBJECT(class_name)
This macro must be put in the public section of an RFNoC.
Definition: block_ctrl_base.hpp:59
Definition: sink_block_ctrl_base.hpp:25
Definition: build_info.hpp:13
#define UHD_RFNOC_API
Definition: config.hpp:117
Definition: source_block_ctrl_base.hpp:24
Block controller for the standard FIR RFNoC block.
Definition: fir_block_ctrl.hpp:26