USRP Hardware Driver and USRP Manual Version: 3.15.0.0-MacPorts-Release
UHD and USRP Manual
scalar_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_SCALAR_NODE_CTRL_BASE_HPP
9#define INCLUDED_LIBUHD_SCALAR_NODE_CTRL_BASE_HPP
10
13
14namespace uhd { namespace rfnoc {
15
27class scalar_node_ctrl : virtual public node_ctrl_base
28{
29public:
30 /***********************************************************************
31 * Types
32 **********************************************************************/
33 typedef boost::shared_ptr<scalar_node_ctrl> sptr;
35 static const double SCALE_UNDEFINED;
36
37 /***********************************************************************
38 * Scaling controls
39 **********************************************************************/
47 virtual double get_input_scale_factor(size_t port = ANY_PORT);
48
56 virtual double get_output_scale_factor(size_t port = ANY_PORT);
57
58}; /* class scalar_node_ctrl */
59
60}} /* namespace uhd::rfnoc */
61
62#endif /* INCLUDED_LIBUHD_SCALAR_NODE_CTRL_BASE_HPP */
Definition: node_ctrl_base.hpp:39
Definition: scalar_node_ctrl.hpp:28
virtual double get_output_scale_factor(size_t port=ANY_PORT)
boost::shared_ptr< scalar_node_ctrl > sptr
Definition: scalar_node_ctrl.hpp:33
virtual double get_input_scale_factor(size_t port=ANY_PORT)
static const double SCALE_UNDEFINED
Undefined scaling.
Definition: scalar_node_ctrl.hpp:35
#define UHD_RFNOC_API
Definition: config.hpp:117
Definition: build_info.hpp:13