6 #ifndef SWIFT_MISC_WEATHER_WINDLAYER_H
7 #define SWIFT_MISC_WEATHER_WINDLAYER_H
22 namespace swift::misc::weather
33 IndexLevel = swift::misc::CPropertyIndexRef::GlobalIndexCWindLayer,
35 IndexDirectionVariable,
60 m_directionFrom = from;
68 m_directionMain =
main;
69 m_directionFrom = from;
107 QString convertToQString(
bool i18n =
false)
const;
114 bool m_directionVariable =
false;
Non-owning reference to a CPropertyIndex with a subset of its features.
Mix of the most commonly used mixin classes.
Altitude as used in aviation, can be AGL or MSL altitude.
ColumnIndex
Base class enums.
Physical unit angle (radians, degrees)
Value object for a wind layer.
void setDirection(const physical_quantities::CAngle &main)
Set direction.
physical_quantities::CSpeed getGustSpeed() const
Get weather phenomenas.
CWindLayer()=default
Default constructor.
physical_quantities::CAngle getDirectionTo() const
Get direction to.
void setGustSpeed(const physical_quantities::CSpeed &gustSpeed)
Set gust speed.
void setDirectionVariable(bool variable=true)
Set direction to variable.
swift::misc::aviation::CAltitude getLevel() const
Get level.
void setDirection(const physical_quantities::CAngle &from, const physical_quantities::CAngle &to)
Set direction Main direction will not be modified.
void setDirection(const physical_quantities::CAngle &main, const physical_quantities::CAngle &from, const physical_quantities::CAngle &to)
Set direction.
void setLevel(const swift::misc::aviation::CAltitude &level)
Set level.
physical_quantities::CSpeed getSpeed() const
Get descriptor.
void setSpeed(const physical_quantities::CSpeed &speed)
Set speed.
physical_quantities::CAngle getDirectionFrom() const
Get direction from.
physical_quantities::CAngle getDirection() const
Get direction.
bool isDirectionVariable() const
Is direction variable?
int main(int argc, char *argv[])
main
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...