 |
USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
UHD and USRP Manual
|
|
Go to the documentation of this file.
8 #ifndef INCLUDED_UHD_TYPES_RANGES_HPP
9 #define INCLUDED_UHD_TYPES_RANGES_HPP
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)
89 meta_range_t(
double start,
double stop,
double step = 0);
92 double start(
void)
const;
95 double stop(
void)
const;
98 double step(
void)
const;
106 double clip(
double value,
bool clip_step =
false)
const;
109 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:68
Definition: build_info.hpp:13
UHD_INLINE T clip(const T &val, const T &bound1, const T &bound2)
Definition: algorithm.hpp:78
meta_range_t freq_range_t
Definition: ranges.hpp:113
Definition: ranges.hpp:21
meta_range_t gain_range_t
Definition: ranges.hpp:112
UHD_INLINE bool operator!=(fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
Definition: fp_compare_delta.ipp:65