18 #ifndef INCLUDED_OSMOSDR_RANGES_H
19 #define INCLUDED_OSMOSDR_RANGES_H
55 range_t(
double start,
double stop,
double step = 0);
58 double start(
void)
const;
61 double stop(
void)
const;
64 double step(
void)
const;
67 const std::string to_pp_string(
void)
const;
86 template <
typename InputIterator>
88 std::vector<
range_t>(first, last){ }
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;
117 std::vector<double> values()
const;
120 const std::string to_pp_string(
void)
const;
meta_range_t freq_range_t
Definition: ranges.h:125
meta_range_t gain_range_t
Definition: ranges.h:124
#define OSMOSDR_PIMPL_DECL(_name)
Definition: pimpl.h:41
#define OSMOSDR_API
Definition: api.h:30
static const size_t ALL_MBOARDS
A wildcard motherboard index.
Definition: ranges.h:29
static const size_t ALL_CHANS
A wildcard channel index.
Definition: ranges.h:32