libdballe 9.6
Public Member Functions | Public Attributes | List of all members
dballe::impl::msg::wr::Interpreted Struct Referenceabstract

Struct used to build an interpreted value. More...

#include <base.h>

Inheritance diagram for dballe::impl::msg::wr::Interpreted:
dballe::impl::msg::wr::InterpretedPrecise dballe::impl::msg::wr::InterpretedSimplified

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::Varvar
 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.
 

Detailed Description

Struct used to build an interpreted value.

Member Data Documentation

◆ level_deviation

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.


The documentation for this struct was generated from the following file: