A value with a Phase::Unit.
More...
#include <PhaseRange.h>
|
| Value (double v=0.0, Unit u=Turns) |
|
void | set_value (double v) |
|
double | get_value () const |
|
unsigned | get_bin () const |
|
double | get_as (Unit u) const |
|
Value | as (Unit) const |
|
| HasUnit (Unit u=Turns) |
|
unsigned | get_bin (double value) const |
|
double | get_as (Unit, double value, bool round_down=false) const |
|
double | get_scale (Unit) const |
|
void | set_unit (Unit u) |
|
Unit | get_unit () const |
|
void | set_nbin (unsigned N) |
|
void | set_period (double P_ms) |
| Set the period in milliseconds.
|
|
|
std::ostream & | operator<< (std::ostream &, const Value &) |
|
std::istream & | operator>> (std::istream &, Value &) |
|
|
std::ostream & | insertion (std::ostream &) const |
|
std::istream & | extraction (std::istream &) |
|
Unit | unit |
|
unsigned | nbin |
|
double | period |
|
bool | insert_units |
|
A value with a Phase::Unit.
The documentation for this class was generated from the following files: