osmosdr::range_t
ranges.h
osmosdr::range_t::range_t
(double value=0)
range_t
osmosdr::range_t::range_t
double value 0

Create a range from a single value. The step size will be taken as zero. value

the only possible value in this range

osmosdr::range_t::range_t
(double start, double stop, double step=0)
range_t
osmosdr::range_t::range_t
double start
double stop
double step 0

Create a range from a full set of values. A step size of zero implies infinite precision. start

the minimum value for this range

stop

the maximum value for this range

step

the step size for this range

double double osmosdr::range_t::start (void) const start osmosdr::range_t::start void

Get the start value for this range.

double double osmosdr::range_t::stop (void) const stop osmosdr::range_t::stop void

Get the stop value for this range.

double double osmosdr::range_t::step (void) const step osmosdr::range_t::step void

Get the step value for this range.

const std::string const std::string osmosdr::range_t::to_pp_string (void) const to_pp_string osmosdr::range_t::to_pp_string void

Convert this range to a printable string.

osmosdr::range_t::OSMOSDR_PIMPL_DECL
(impl) _impl
OSMOSDR_PIMPL_DECL
osmosdr::range_t::OSMOSDR_PIMPL_DECL
impl

A range object describes a set of discrete values of the form: y = start + step*n, where n is an integer between 0 and (stop - start)/step

- osmosdr::range_t
  OSMOSDR_PIMPL_DECL
- osmosdr::range_t
  range_t
- osmosdr::range_t
  range_t
- osmosdr::range_t
  start
- osmosdr::range_t
  step
- osmosdr::range_t
  stop
- osmosdr::range_t
  to_pp_string