|
USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
|
|
Go to the documentation of this file.
33 typedef std::shared_ptr<gain_group>
sptr;
44 virtual gain_range_t get_range(
const std::string& name =
"") = 0;
52 virtual double get_value(
const std::string& name =
"") = 0;
62 virtual void set_value(
double gain,
const std::string& name =
"") = 0;
69 virtual const std::vector<std::string> get_names(
void) = 0;
85 virtual void register_fcns(
86 const std::string& name,
const gain_fcns_t& gain_fcns,
size_t priority = 0) = 0;
92 static sptr make(
void);
98 static sptr make_zero();
Definition: gain_group.hpp:30
std::function< void(double)> set_value
Definition: gain_group.hpp:27
Definition: gain_group.hpp:23
std::function< double(void)> get_value
Definition: gain_group.hpp:26
std::function< gain_range_t(void)> get_range
Definition: gain_group.hpp:25
#define UHD_API
Definition: config.h:87
std::shared_ptr< gain_group > sptr
Definition: gain_group.hpp:33
Definition: build_info.hpp:12
meta_range_t gain_range_t
Definition: ranges.hpp:132
boost::noncopyable noncopyable
Definition: noncopyable.hpp:45