USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
UHD and USRP Manual
rate_node_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_RATE_NODE_CTRL_BASE_HPP
9
#define INCLUDED_LIBUHD_RATE_NODE_CTRL_BASE_HPP
10
11
#include <
uhd/rfnoc/constants.hpp
>
12
#include <
uhd/rfnoc/node_ctrl_base.hpp
>
13
14
namespace
uhd
{
namespace
rfnoc {
15
26
class
UHD_RFNOC_API
rate_node_ctrl
;
27
class
rate_node_ctrl
:
virtual
public
node_ctrl_base
28
{
29
public
:
30
/***********************************************************************
31
* Types
32
**********************************************************************/
33
typedef
boost::shared_ptr<rate_node_ctrl>
sptr
;
35
static
const
double
RATE_UNDEFINED
;
36
37
/***********************************************************************
38
* Rate controls
39
**********************************************************************/
47
virtual
double
get_input_samp_rate
(
size_t
port = ANY_PORT);
48
virtual
double
get_output_samp_rate
(
size_t
port = ANY_PORT);
49
50
};
/* class rate_node_ctrl */
51
52
}}
/* namespace uhd::rfnoc */
53
54
#endif
/* INCLUDED_LIBUHD_RATE_NODE_CTRL_BASE_HPP */
uhd::rfnoc::rate_node_ctrl::RATE_UNDEFINED
static const double RATE_UNDEFINED
This value is used by rate nodes that don't actually set a rate themselves.
Definition:
rate_node_ctrl.hpp:34
uhd::rfnoc::rate_node_ctrl::get_input_samp_rate
virtual double get_input_samp_rate(size_t port=ANY_PORT)
UHD_RFNOC_API
#define UHD_RFNOC_API
Definition:
config.hpp:117
node_ctrl_base.hpp
uhd::rfnoc::node_ctrl_base
Definition:
node_ctrl_base.hpp:37
uhd::rfnoc::rate_node_ctrl
Definition:
rate_node_ctrl.hpp:27
uhd
Definition:
build_info.hpp:13
constants.hpp
uhd::rfnoc::rate_node_ctrl::get_output_samp_rate
virtual double get_output_samp_rate(size_t port=ANY_PORT)
uhd::rfnoc::rate_node_ctrl::sptr
boost::shared_ptr< rate_node_ctrl > sptr
Definition:
rate_node_ctrl.hpp:32
include
uhd
rfnoc
rate_node_ctrl.hpp
Generated by
1.8.16