USRP Hardware Driver and USRP Manual
Version: 004.000.000.HEAD-0-g8773fb2c
UHD and USRP Manual
block_ctrl.hpp
Go to the documentation of this file.
1
//
2
// Copyright 2014 Ettus Research LLC
3
//
4
// This program is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU General Public License
15
// along with this program. If not, see <http://www.gnu.org/licenses/>.
16
//
17
18
#ifndef INCLUDED_LIBUHD_RFNOC_BLOCK_CTRL_HPP
19
#define INCLUDED_LIBUHD_RFNOC_BLOCK_CTRL_HPP
20
21
#include <
uhd/rfnoc/source_block_ctrl_base.hpp
>
22
#include <
uhd/rfnoc/sink_block_ctrl_base.hpp
>
23
24
namespace
uhd
{
25
namespace
rfnoc {
26
33
class
UHD_RFNOC_API
block_ctrl
:
public
source_block_ctrl_base
,
public
sink_block_ctrl_base
34
{
35
public
:
36
// Required macro in RFNoC block classes
37
UHD_RFNOC_BLOCK_OBJECT
(
block_ctrl
)
38
39
// Nothing else here -- all function definitions are in block_ctrl_base,
40
// source_block_ctrl_base and sink_block_ctrl_base
41
42
};
/* class block_ctrl*/
43
44
}}
/* namespace uhd::rfnoc */
45
46
#endif
/* INCLUDED_LIBUHD_RFNOC_BLOCK_CTRL_HPP */
47
// vim: sw=4 et:
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:74
uhd::rfnoc::sink_block_ctrl_base
Definition:
sink_block_ctrl_base.hpp:36
uhd::rfnoc::block_ctrl
This is the default implementation of a block_ctrl_base.
Definition:
block_ctrl.hpp:33
uhd
Definition:
build_info.hpp:25
UHD_RFNOC_API
#define UHD_RFNOC_API
Definition:
config.hpp:103
uhd::rfnoc::source_block_ctrl_base
Definition:
source_block_ctrl_base.hpp:35
source_block_ctrl_base.hpp
include
uhd
rfnoc
block_ctrl.hpp
Generated by
1.8.13