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

#include <uhd/rfnoc/tick_node_ctrl.hpp>

Inheritance diagram for uhd::rfnoc::tick_node_ctrl:
uhd::rfnoc::node_ctrl_base uhd::rfnoc::radio_ctrl

Public Types

typedef boost::shared_ptr< tick_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

double get_tick_rate (const std::set< node_ctrl_base::sptr > &_explored_nodes=std::set< node_ctrl_base::sptr >())
 
- 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 RATE_UNDEFINED
 This value is used by rate nodes that don't actually set a rate themselves. More...
 

Protected Member Functions

virtual double _get_tick_rate ()
 
- 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)
 

Additional Inherited Members

- 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_tick_rate()

virtual double uhd::rfnoc::tick_node_ctrl::_get_tick_rate ( )
inlineprotectedvirtual

◆ get_tick_rate()

double uhd::rfnoc::tick_node_ctrl::get_tick_rate ( const std::set< node_ctrl_base::sptr > &  _explored_nodes = std::set< node_ctrl_base::sptr >())

Return a tick rate.

This might be either a tick rate defined by this block (see also _get_tick_rate()) or it's a tick rate defined by an adjacent block. In that case, performs a graph search to figure out the tick rate.

Member Data Documentation

◆ RATE_UNDEFINED

const double uhd::rfnoc::tick_node_ctrl::RATE_UNDEFINED
static

This value is used by rate nodes that don't actually set a rate themselves.


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