USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
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
10
#include <
uhd/rfnoc/sink_block_ctrl_base.hpp
>
11
#include <
uhd/rfnoc/source_block_ctrl_base.hpp
>
12
13
namespace
uhd
{
namespace
rfnoc {
14
26
class
UHD_RFNOC_API
fir_block_ctrl
:
public
source_block_ctrl_base
,
27
public
sink_block_ctrl_base
28
{
29
public
:
30
UHD_RFNOC_BLOCK_OBJECT
(
fir_block_ctrl
)
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 */
uhd::rfnoc::fir_block_ctrl
Block controller for the standard FIR RFNoC block.
Definition:
fir_block_ctrl.hpp:26
uhd::rfnoc::source_block_ctrl_base
Definition:
source_block_ctrl_base.hpp:24
uhd::rfnoc::sink_block_ctrl_base
Definition:
sink_block_ctrl_base.hpp:25
source_block_ctrl_base.hpp
UHD_RFNOC_BLOCK_OBJECT
#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
UHD_RFNOC_API
#define UHD_RFNOC_API
Definition:
config.hpp:117
sink_block_ctrl_base.hpp
uhd
Definition:
build_info.hpp:13
include
uhd
rfnoc
fir_block_ctrl.hpp
Generated by
1.8.16