#include <uhd/rfnoc/rate_node_ctrl.hpp>
|
virtual double | get_input_samp_rate (size_t port=ANY_PORT) |
|
virtual double | get_output_samp_rate (size_t port=ANY_PORT) |
|
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 | disconnect () |
|
void | disconnect_output_port (const size_t output_port) |
|
void | disconnect_input_port (const size_t input_port) |
|
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 (bool active_only=false) |
|
template<typename T > |
UHD_INLINE std::vector< boost::shared_ptr< T > > | find_upstream_node (bool active_only=false) |
|
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 const double | RATE_UNDEFINED |
| This value is used by rate nodes that don't actually set a rate themselves. More...
|
|
◆ sptr
◆ get_input_samp_rate()
virtual double uhd::rfnoc::rate_node_ctrl::get_input_samp_rate |
( |
size_t |
port = ANY_PORT | ) |
|
|
virtual |
Returns the sampling rate this block expects at its input.
A radio will simply return the sampling rate it is set to. A decimating FIR filter will ask downstream for the input sampling rate and then return that value multiplied by the decimation factor.
◆ get_output_samp_rate()
virtual double uhd::rfnoc::rate_node_ctrl::get_output_samp_rate |
( |
size_t |
port = ANY_PORT | ) |
|
|
virtual |
◆ RATE_UNDEFINED
const double uhd::rfnoc::rate_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: