|
USRP Hardware Driver and USRP Manual
Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
|
|
Go to the documentation of this file.
12 #include <type_traits>
38 range_t(
double start,
double stop,
double step = 0);
41 double start(
void)
const;
44 double stop(
void)
const;
47 double step(
void)
const;
50 const std::string to_pp_string(
void)
const;
59 double _start, _stop, _step;
76 template <
typename InputIterator>
78 : std::vector<
range_t>(first, last)
85 !std::is_integral<
typename std::decay<InputIterator>::type>::value,
86 "You can't pass integers to meta_range_t's constructor!"
97 meta_range_t(
double start,
double stop,
double step = 0);
100 double start(
void)
const;
103 double stop(
void)
const;
106 double step(
void)
const;
114 double clip(
double value,
bool clip_step =
false)
const;
129 const std::string to_pp_string(
void)
const;
UHD_API bool operator==(const time_spec_t &, const time_spec_t &)
Implement equality_comparable interface.
#define UHD_API
Definition: config.h:87
Definition: build_info.hpp:12
UHD_INLINE T clip(const T &val, const T &bound1, const T &bound2)
Definition: algorithm.hpp:81
meta_range_t freq_range_t
Definition: ranges.hpp:133
Definition: ranges.hpp:21
meta_range_t gain_range_t
Definition: ranges.hpp:132
UHD_INLINE bool operator!=(fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
Definition: fp_compare_delta.ipp:64