USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
uhd::extension::extension Class Referenceabstract

#include <uhd/extension/extension.hpp>

Inheritance diagram for uhd::extension::extension:
uhd::rfnoc::rf_control::core_iface uhd::rfnoc::rf_control::power_reference_iface

Classes

struct  factory_args
 

Public Types

using sptr = std::shared_ptr< extension >
 
using factory_type = std::function< sptr(factory_args)>
 
- Public Types inherited from uhd::rfnoc::rf_control::core_iface
using sptr = std::shared_ptr< core_iface >
 
- Public Types inherited from uhd::rfnoc::rf_control::power_reference_iface
using sptr = std::shared_ptr< power_reference_iface >
 

Public Member Functions

virtual ~extension ()=default
 
virtual std::string get_name ()=0
 
- Public Member Functions inherited from uhd::rfnoc::rf_control::core_iface
virtual ~core_iface ()=default
 
virtual std::string get_tx_antenna (const size_t chan) const =0
 
virtual std::vector< std::string > get_tx_antennas (const size_t chan) const =0
 
virtual void set_tx_antenna (const std::string &ant, const size_t chan)=0
 
virtual std::string get_rx_antenna (const size_t chan) const =0
 
virtual std::vector< std::string > get_rx_antennas (const size_t chan) const =0
 
virtual void set_rx_antenna (const std::string &ant, const size_t chan)=0
 
virtual double get_tx_frequency (const size_t chan)=0
 
virtual double set_tx_frequency (const double freq, size_t chan)=0
 
virtual void set_tx_tune_args (const uhd::device_addr_t &args, const size_t chan)=0
 
virtual uhd::freq_range_t get_tx_frequency_range (const size_t chan) const =0
 
virtual double get_rx_frequency (const size_t chan)=0
 
virtual double set_rx_frequency (const double freq, const size_t chan)=0
 
virtual void set_rx_tune_args (const uhd::device_addr_t &args, const size_t chan)=0
 
virtual uhd::freq_range_t get_rx_frequency_range (const size_t chan) const =0
 
virtual std::vector< std::string > get_tx_gain_names (const size_t chan) const =0
 
virtual uhd::gain_range_t get_tx_gain_range (const size_t chan) const =0
 
virtual uhd::gain_range_t get_tx_gain_range (const std::string &name, const size_t chan) const =0
 
virtual double get_tx_gain (const size_t chan)=0
 
virtual double get_tx_gain (const std::string &name, const size_t chan)=0
 
virtual double set_tx_gain (const double gain, const size_t chan)=0
 
virtual double set_tx_gain (const double gain, const std::string &name, const size_t chan)=0
 
virtual std::vector< std::string > get_rx_gain_names (const size_t chan) const =0
 
virtual uhd::gain_range_t get_rx_gain_range (const size_t chan) const =0
 
virtual uhd::gain_range_t get_rx_gain_range (const std::string &name, const size_t chan) const =0
 
virtual double get_rx_gain (const size_t chan)=0
 
virtual double get_rx_gain (const std::string &name, const size_t chan)=0
 
virtual double set_rx_gain (const double gain, const size_t chan)=0
 
virtual double set_rx_gain (const double gain, const std::string &name, const size_t chan)=0
 
virtual void set_rx_agc (const bool enable, const size_t chan)=0
 
virtual meta_range_t get_tx_bandwidth_range (size_t chan) const =0
 
virtual double get_tx_bandwidth (const size_t chan)=0
 
virtual double set_tx_bandwidth (const double bandwidth, const size_t chan)=0
 
virtual meta_range_t get_rx_bandwidth_range (size_t chan) const =0
 
virtual double get_rx_bandwidth (const size_t chan)=0
 
virtual double set_rx_bandwidth (const double bandwidth, const size_t chan)=0
 
virtual std::vector< std::string > get_rx_lo_names (const size_t chan) const =0
 
virtual std::vector< std::string > get_rx_lo_sources (const std::string &name, const size_t chan) const =0
 
virtual freq_range_t get_rx_lo_freq_range (const std::string &name, const size_t chan) const =0
 
virtual void set_rx_lo_source (const std::string &src, const std::string &name, const size_t chan)=0
 
virtual const std::string get_rx_lo_source (const std::string &name, const size_t chan)=0
 
virtual void set_rx_lo_export_enabled (bool enabled, const std::string &name, const size_t chan)=0
 
virtual bool get_rx_lo_export_enabled (const std::string &name, const size_t chan)=0
 
virtual double set_rx_lo_freq (double freq, const std::string &name, const size_t chan)=0
 
virtual double get_rx_lo_freq (const std::string &name, const size_t chan)=0
 
virtual std::vector< std::string > get_tx_lo_names (const size_t chan) const =0
 
virtual std::vector< std::string > get_tx_lo_sources (const std::string &name, const size_t chan) const =0
 
virtual freq_range_t get_tx_lo_freq_range (const std::string &name, const size_t chan)=0
 
virtual void set_tx_lo_source (const std::string &src, const std::string &name, const size_t chan)=0
 
virtual const std::string get_tx_lo_source (const std::string &name, const size_t chan)=0
 
virtual void set_tx_lo_export_enabled (const bool enabled, const std::string &name, const size_t chan)=0
 
virtual bool get_tx_lo_export_enabled (const std::string &name, const size_t chan)=0
 
virtual double set_tx_lo_freq (const double freq, const std::string &name, const size_t chan)=0
 
virtual double get_tx_lo_freq (const std::string &name, const size_t chan)=0
 
- Public Member Functions inherited from uhd::rfnoc::rf_control::power_reference_iface
virtual ~power_reference_iface ()=default
 
virtual bool has_rx_power_reference (const size_t chan=0)=0
 
virtual void set_rx_power_reference (const double power_dbm, const size_t chan=0)=0
 
virtual double get_rx_power_reference (const size_t chan=0)=0
 
virtual std::vector< std::string > get_rx_power_ref_keys (const size_t chan=0)=0
 
virtual meta_range_t get_rx_power_range (const size_t chan)=0
 
virtual bool has_tx_power_reference (const size_t chan=0)=0
 
virtual void set_tx_power_reference (const double power_dbm, const size_t chan=0)=0
 
virtual double get_tx_power_reference (const size_t chan=0)=0
 
virtual std::vector< std::string > get_tx_power_ref_keys (const size_t chan=0)=0
 
virtual meta_range_t get_tx_power_range (const size_t chan)=0
 

Static Public Member Functions

static void register_extension (const std::string &extension_name, extension::factory_type factory_fn)
 

Detailed Description

Common base class for RF extensions

Member Typedef Documentation

◆ factory_type

◆ sptr

using uhd::extension::extension::sptr = std::shared_ptr<extension>

Constructor & Destructor Documentation

◆ ~extension()

virtual uhd::extension::extension::~extension ( )
virtualdefault

Member Function Documentation

◆ get_name()

virtual std::string uhd::extension::extension::get_name ( )
pure virtual

◆ register_extension()

static void uhd::extension::extension::register_extension ( const std::string &  extension_name,
extension::factory_type  factory_fn 
)
static

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