12 #include <unordered_map>
18 namespace uhd {
namespace rfnoc {
namespace rf_control {
36 double set_tx_gain(
const double gain,
const size_t chan)
override;
39 double set_rx_gain(
const double gain,
const size_t chan)
override;
Definition: core_iface.hpp:26
virtual double get_rx_gain(const size_t chan)=0
virtual double get_tx_gain(const size_t chan)=0
virtual double set_tx_gain(const double gain, const size_t chan)=0
virtual double set_rx_gain(const double gain, const size_t chan)=0
virtual uhd::gain_range_t get_rx_gain_range(const size_t chan) const =0
virtual uhd::gain_range_t get_tx_gain_range(const size_t chan) const =0
Definition: nameless_gain_mixin.hpp:23
double set_tx_gain(const double gain, const size_t chan) override
double get_rx_gain(const size_t chan) override
nameless_gain_mixin(name_selector name_selector)
double get_tx_gain(const size_t chan) override
gain_range_t get_rx_gain_range(const size_t chan) const override
double set_rx_gain(const double gain, const size_t chan) override
std::function< std::string(const uhd::direction_t trx, const size_t chan)> name_selector
Definition: nameless_gain_mixin.hpp:26
virtual ~nameless_gain_mixin()=default
gain_range_t get_tx_gain_range(const size_t chan) const override
#define UHD_API
Definition: config.h:87
Definition: build_info.hpp:12
direction_t
Definition: direction.hpp:12