USRP Hardware Driver and USRP Manual
Version: 3.15.0.HEAD-0-g6563c537
UHD and USRP Manual
block_ctrl.hpp
Go to the documentation of this file.
1
//
2
// Copyright 2014 Ettus Research LLC
3
// Copyright 2018 Ettus Research, a National Instruments Company
4
//
5
// SPDX-License-Identifier: GPL-3.0-or-later
6
//
7
8
#ifndef INCLUDED_LIBUHD_RFNOC_BLOCK_CTRL_HPP
9
#define INCLUDED_LIBUHD_RFNOC_BLOCK_CTRL_HPP
10
11
#include <
uhd/rfnoc/sink_block_ctrl_base.hpp
>
12
#include <
uhd/rfnoc/source_block_ctrl_base.hpp
>
13
14
namespace
uhd
{
namespace
rfnoc {
15
22
class
UHD_RFNOC_API
block_ctrl
:
public
source_block_ctrl_base
,
23
public
sink_block_ctrl_base
24
{
25
public
:
26
// Required macro in RFNoC block classes
27
UHD_RFNOC_BLOCK_OBJECT
(
block_ctrl
)
28
29
// Nothing else here -- all function definitions are in block_ctrl_base,
30
// source_block_ctrl_base and sink_block_ctrl_base
31
32
};
/* class block_ctrl*/
33
34
}}
/* namespace uhd::rfnoc */
35
36
#endif
/* INCLUDED_LIBUHD_RFNOC_BLOCK_CTRL_HPP */
sink_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::sink_block_ctrl_base
Definition:
sink_block_ctrl_base.hpp:25
uhd::rfnoc::block_ctrl
This is the default implementation of a block_ctrl_base.
Definition:
block_ctrl.hpp:22
uhd
Definition:
build_info.hpp:13
UHD_RFNOC_API
#define UHD_RFNOC_API
Definition:
config.hpp:104
uhd::rfnoc::source_block_ctrl_base
Definition:
source_block_ctrl_base.hpp:24
source_block_ctrl_base.hpp
include
uhd
rfnoc
block_ctrl.hpp
Generated by
1.8.13