18 #ifndef INCLUDED_OSMOSDR_RANGES_H
19 #define INCLUDED_OSMOSDR_RANGES_H
55 range_t(
double start,
double stop,
double step = 0);
86 template <
typename InputIterator>
88 std::vector<
range_t>(first, last){ }
114 double clip(
double value,
bool clip_step =
false)
const;
#define OSMOSDR_API
Definition: api.h:30
double step(void) const
Get the step value for this range.
double start(void) const
Get the start value for this range.
range_t(double start, double stop, double step=0)
double stop(void) const
Get the stop value for this range.
const std::string to_pp_string(void) const
Convert this range to a printable string.
meta_range_t freq_range_t
Definition: ranges.h:125
static const size_t ALL_CHANS
A wildcard channel index.
Definition: ranges.h:32
static const size_t ALL_MBOARDS
A wildcard motherboard index.
Definition: ranges.h:29
meta_range_t gain_range_t
Definition: ranges.h:124
#define OSMOSDR_PIMPL_DECL(_name)
Definition: pimpl.h:41