libdballe 9.6
|
Struct used to build an interpreted value. More...
#include <base.h>
Public Member Functions | |
Interpreted (const Shortcut &shortcut, const wreport::Var &var) | |
Beging building using a copy of var, and level and timerange from shortcut. | |
Interpreted (const Shortcut &shortcut, const wreport::Var &var, const Level &level, const Trange &trange) | |
Interpreted (wreport::Varcode code, const wreport::Var &var, const Level &level, const Trange &trange) | |
virtual void | set_sensor_height (const LevelContext &ctx)=0 |
virtual void | set_barometer_height (const LevelContext &ctx)=0 |
virtual void | set_duration (const TimerangeContext &ctx)=0 |
virtual void | set_wind_mean (const TimerangeContext &ctx)=0 |
Public Attributes | |
std::unique_ptr< wreport::Var > | var |
Interpreted value being built. | |
Level | level |
Interpreted level. | |
Trange | trange |
Interpreted time range. | |
unsigned | level_deviation = 0 |
Distance from the standard level to the real one. | |
Struct used to build an interpreted value.
unsigned dballe::impl::msg::wr::Interpreted::level_deviation = 0 |
Distance from the standard level to the real one.
This is used, in case multiple values get simplified to the same level, to select the one closer to the standard level.