USRP Hardware Driver and USRP Manual  Version: 004.000.000.HEAD-0-g8773fb2c
UHD and USRP Manual
uhd::rfnoc::scalar_node_ctrl Class Reference

#include <uhd/rfnoc/scalar_node_ctrl.hpp>

Inheritance diagram for uhd::rfnoc::scalar_node_ctrl:
uhd::rfnoc::node_ctrl_base uhd::rfnoc::ddc_block_ctrl uhd::rfnoc::duc_block_ctrl

Public Types

typedef boost::shared_ptr< scalar_node_ctrlsptr
 
- Public Types inherited from uhd::rfnoc::node_ctrl_base
typedef boost::shared_ptr< node_ctrl_basesptr
 
typedef boost::weak_ptr< node_ctrl_basewptr
 
typedef std::map< size_t, wptrnode_map_t
 
typedef std::pair< size_t, wptrnode_map_pair_t
 

Public Member Functions

virtual double get_input_scale_factor (size_t port=ANY_PORT)
 
virtual double get_output_scale_factor (size_t port=ANY_PORT)
 
- Public Member Functions inherited from uhd::rfnoc::node_ctrl_base
virtual std::string unique_id () const
 Returns a unique string that identifies this block. More...
 
virtual void clear ()
 
node_map_t list_downstream_nodes ()
 
node_map_t list_upstream_nodes ()
 
void set_downstream_port (const size_t this_port, const size_t remote_port)
 
size_t get_downstream_port (const size_t this_port)
 
void set_upstream_port (const size_t this_port, const size_t remote_port)
 
size_t get_upstream_port (const size_t this_port)
 
template<typename T >
UHD_INLINE std::vector< boost::shared_ptr< T > > find_downstream_node ()
 
template<typename T >
UHD_INLINE std::vector< boost::shared_ptr< T > > find_upstream_node ()
 
template<typename T , typename value_type >
UHD_INLINE value_type find_downstream_unique_property (boost::function< value_type(boost::shared_ptr< T > node, size_t port)> get_property, value_type null_value, const std::set< boost::shared_ptr< T > > &exclude_nodes=std::set< boost::shared_ptr< T > >())
 
template<typename T , typename value_type >
UHD_INLINE value_type find_upstream_unique_property (boost::function< value_type(boost::shared_ptr< T > node, size_t port)> get_property, value_type null_value, const std::set< boost::shared_ptr< T > > &exclude_nodes=std::set< boost::shared_ptr< T > >())
 

Static Public Attributes

static const double SCALE_UNDEFINED
 Undefined scaling. More...
 

Additional Inherited Members

- Protected Member Functions inherited from uhd::rfnoc::node_ctrl_base
 node_ctrl_base (void)
 
virtual ~node_ctrl_base ()
 
virtual void _register_downstream_node (node_ctrl_base::sptr downstream_node, size_t port)
 
virtual void _register_upstream_node (node_ctrl_base::sptr upstream_node, size_t port)
 
- Protected Attributes inherited from uhd::rfnoc::node_ctrl_base
uhd::device_addr_t _args
 Stores default arguments. More...
 
node_map_t _upstream_nodes
 List of upstream nodes. More...
 
node_map_t _downstream_nodes
 List of downstream nodes. More...
 

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ get_input_scale_factor()

virtual double uhd::rfnoc::scalar_node_ctrl::get_input_scale_factor ( size_t  port = ANY_PORT)
virtual

Returns the scaling factor for this block on input.

A DUC block will return the scaling factor as determined by the duc stage.

Parameters
portPort Number

◆ get_output_scale_factor()

virtual double uhd::rfnoc::scalar_node_ctrl::get_output_scale_factor ( size_t  port = ANY_PORT)
virtual

Returns the scaling factor for this block on output.

A DDC block will return the scaling factor as determined by the ddc stage.

Parameters
portPort Number

Member Data Documentation

◆ SCALE_UNDEFINED

const double uhd::rfnoc::scalar_node_ctrl::SCALE_UNDEFINED
static

Undefined scaling.


The documentation for this class was generated from the following file: