16 namespace uhd {
namespace rfnoc {
namespace rf_control {
28 using sptr = std::shared_ptr<core_iface>;
42 virtual std::vector<std::string>
get_tx_antennas(
const size_t chan)
const = 0;
48 virtual void set_tx_antenna(
const std::string& ant,
const size_t chan) = 0;
60 virtual std::vector<std::string>
get_rx_antennas(
const size_t chan)
const = 0;
66 virtual void set_rx_antenna(
const std::string& ant,
const size_t chan) = 0;
140 const std::string& name,
const size_t chan)
const = 0;
152 virtual double get_tx_gain(
const std::string& name,
const size_t chan) = 0;
164 virtual double set_tx_gain(
const double gain,
const size_t chan) = 0;
174 const double gain,
const std::string& name,
const size_t chan) = 0;
187 const std::string& name,
const size_t chan)
const = 0;
199 virtual double get_rx_gain(
const std::string& name,
const size_t chan) = 0;
208 virtual double set_rx_gain(
const double gain,
const size_t chan) = 0;
218 const double gain,
const std::string& name,
const size_t chan) = 0;
224 virtual void set_rx_agc(
const bool enable,
const size_t chan) = 0;
242 virtual double set_tx_bandwidth(
const double bandwidth,
const size_t chan) = 0;
260 virtual double set_rx_bandwidth(
const double bandwidth,
const size_t chan) = 0;
270 virtual std::vector<std::string>
get_rx_lo_names(
const size_t chan)
const = 0;
281 const std::string& name,
const size_t chan)
const = 0;
292 const std::string& name,
const size_t chan)
const = 0;
304 const std::string& src,
const std::string& name,
const size_t chan) = 0;
314 virtual std::string
get_rx_lo_source(
const std::string& name,
const size_t chan) = 0;
325 bool enabled,
const std::string& name,
const size_t chan) = 0;
342 double freq,
const std::string& name,
const size_t chan) = 0;
352 virtual double get_rx_lo_freq(
const std::string& name,
const size_t chan) = 0;
359 virtual std::vector<std::string>
get_tx_lo_names(
const size_t chan)
const = 0;
370 const std::string& name,
const size_t chan)
const = 0;
381 const std::string& name,
const size_t chan) = 0;
393 const std::string& src,
const std::string& name,
const size_t chan) = 0;
403 virtual std::string
get_tx_lo_source(
const std::string& name,
const size_t chan) = 0;
414 const bool enabled,
const std::string& name,
const size_t chan) = 0;
433 const double freq,
const std::string& name,
const size_t chan) = 0;
446 virtual double get_tx_lo_freq(
const std::string& name,
const size_t chan) = 0;
virtual std::vector< std::string > get_tx_gain_names(const size_t chan) const =0
virtual double get_tx_gain(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 double set_rx_bandwidth(const double bandwidth, 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_rx_lo_sources(const std::string &name, const size_t chan) const =0
virtual double get_rx_lo_freq(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 freq_range_t get_rx_lo_freq_range(const std::string &name, const size_t chan) const =0
virtual double set_tx_lo_freq(const double freq, const std::string &name, const size_t chan)=0
virtual void set_rx_antenna(const std::string &ant, const size_t chan)=0
virtual std::string get_tx_antenna(const size_t chan) const =0
virtual std::string get_rx_antenna(const size_t chan) const =0
virtual ~core_iface()=default
virtual std::string get_rx_lo_source(const std::string &name, const size_t chan)=0
virtual uhd::freq_range_t get_rx_frequency_range(const size_t chan) const =0
virtual meta_range_t get_rx_bandwidth_range(size_t chan) const =0
virtual uhd::gain_range_t get_tx_gain_range(const size_t chan) const =0
virtual double get_tx_frequency(const size_t chan)=0
virtual void set_tx_tune_args(const uhd::device_addr_t &args, const size_t chan)=0
virtual double set_rx_frequency(const double freq, const size_t chan)=0
Definition: build_info.hpp:12
virtual double get_rx_gain(const size_t chan)=0
virtual std::vector< std::string > get_rx_gain_names(const size_t chan) const =0
virtual void set_rx_lo_export_enabled(bool 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
Definition: core_iface.hpp:25
std::shared_ptr< core_iface > sptr
Definition: core_iface.hpp:28
virtual double set_tx_frequency(const double freq, size_t chan)=0
virtual uhd::gain_range_t get_rx_gain_range(const size_t chan) const =0
virtual void set_tx_antenna(const std::string &ant, const size_t chan)=0
virtual freq_range_t get_tx_lo_freq_range(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 bool get_rx_lo_export_enabled(const std::string &name, const size_t chan)=0
virtual uhd::freq_range_t get_tx_frequency_range(const size_t chan) const =0
virtual std::vector< std::string > get_tx_antennas(const size_t chan) const =0
virtual std::vector< std::string > get_rx_antennas(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 double get_tx_lo_freq(const std::string &name, const size_t chan)=0
virtual double set_rx_gain(const double gain, const size_t chan)=0
virtual std::string get_tx_lo_source(const std::string &name, const size_t chan)=0
virtual void set_rx_tune_args(const uhd::device_addr_t &args, const size_t chan)=0
virtual double get_tx_bandwidth(const size_t chan)=0
virtual double get_rx_frequency(const size_t chan)=0
virtual meta_range_t get_tx_bandwidth_range(size_t chan) const =0
virtual void set_rx_agc(const bool enable, const size_t chan)=0
virtual std::vector< std::string > get_rx_lo_names(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 double set_tx_bandwidth(const double bandwidth, const size_t chan)=0
virtual double get_rx_bandwidth(const size_t chan)=0
Definition: device_addr.hpp:37
virtual double set_tx_gain(const double gain, const size_t chan)=0