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