VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrf::DtTroposphereStateComponentNextFrame Class Reference

2) Define the next frame class. This will be used for write access.

Inheritance diagram for makVrf::DtTroposphereStateComponentNextFrame:
Inheritance graph
[legend]

Public Member Functions

 DtTroposphereStateComponentNextFrame (DtStateData *sd)
 
virtual ~DtTroposphereStateComponentNextFrame () override
 
virtual const DtRwWindLevels & windLevels () const override
 
virtual void setWindLevels (const DtRwWindLevels &) override
 
virtual void setPriority (const int &) override
 
virtual const int priority () const override
 
virtual const double windSpeed (double atAlt=0.) const override
 
virtual void setWindSpeed (const double &) override
 
virtual void setWindSpeed (const double &atAlt, const double &) override
 
virtual const double windDirection (double atAlt=0.) const override
 
virtual void setWindDirection (const double &) override
 
virtual void setWindDirection (const double &atAlt, const double &) override
 
virtual const int obscurant (double atAltitude) const override
 
virtual void setObscurant (double baseAlt, const int &) override
 
virtual const double visibility (double atAltitude) const override
 
virtual void setVisibility (const double &) override
 
virtual void setVisibility (const double &, const double &) override
 
std::shared_ptr
< tbb::spin_rw_mutex::scoped_lock > 
readLock ()
 
std::shared_ptr
< tbb::spin_rw_mutex::scoped_lock > 
writeLock ()
 
virtual void addWindLevel (double altitude, double windSpeed, double windDirection, double visibleDistance, int obscurant, int cloudType, double cloudDensity, double skyCoverage) override
 
virtual void clearWindLevels () override
 
virtual void removeWindLevel (double baseAltitude) override
 
virtual bool windSpeedAndDirectionAtAltitude (double altMSL, double &windSpeed, double &windDirection) const override
 
virtual void setWindSpeedAndDirectionAtAltitude (const double &altMSL, const double &windSpeed, const double &windDirection) override
 
virtual bool visibilityAndObscurantAtAltitude (double altMSL, double &distance, int &obs) const override
 
virtual void setVisibilityAndObscurantAtAltitude (const double &altMSL, const double &distance, const int &obs) override
 
- Public Member Functions inherited from DtStateComponentNextFrameTemplate< DtTroposphereStateComponent, DtTroposphereStateComponentData >
 DtStateComponentNextFrameTemplate (makVrf::DtStateData *sd)
 
const
DtTroposphereStateComponentData & 
frameState () const
 
DtTroposphereStateComponentData & frameState ()
 

Public Attributes

tbb::spin_rw_mutex myMutex
 

Additional Inherited Members

- Protected Attributes inherited from DtStateComponentNextFrameTemplate< DtTroposphereStateComponent, DtTroposphereStateComponentData >
DtTroposphereStateComponentData myData
 

Constructor & Destructor Documentation

makVrf::DtTroposphereStateComponentNextFrame::DtTroposphereStateComponentNextFrame ( DtStateData *  sd)
inline

Constructs the next frame state component with the given state data storage.

Parameters
sdPointer to the owning state data storage
virtual makVrf::DtTroposphereStateComponentNextFrame::~DtTroposphereStateComponentNextFrame ( )
inlineoverridevirtual

Member Function Documentation

virtual const DtRwWindLevels& makVrf::DtTroposphereStateComponentNextFrame::windLevels ( ) const
overridevirtual

Returns the wind levels data for the next frame state.

Returns
Reference to the wind levels
virtual void makVrf::DtTroposphereStateComponentNextFrame::setWindLevels ( const DtRwWindLevels &  )
overridevirtual

Sets the wind levels data for the next frame state.

Parameters
Newwind levels to apply
virtual void makVrf::DtTroposphereStateComponentNextFrame::setPriority ( const int &  )
overridevirtual

Sets the priority of this troposphere state.

Parameters
Priorityvalue to assign
virtual const int makVrf::DtTroposphereStateComponentNextFrame::priority ( ) const
overridevirtual

Returns the priority of this troposphere state.

Returns
Current priority value
virtual const double makVrf::DtTroposphereStateComponentNextFrame::windSpeed ( double  atAlt = 0.) const
overridevirtual

Returns the wind speed at the given altitude.

Parameters
atAltAltitude in meters MSL (0 uses the default wind level)
Returns
Wind speed in meters per second
virtual void makVrf::DtTroposphereStateComponentNextFrame::setWindSpeed ( const double &  )
overridevirtual

Sets the wind speed at the default altitude level.

Parameters
Windspeed in meters per second
virtual void makVrf::DtTroposphereStateComponentNextFrame::setWindSpeed ( const double &  atAlt,
const double &   
)
overridevirtual

Sets the wind speed at the specified altitude.

Parameters
atAltAltitude in meters MSL
Windspeed in meters per second
virtual const double makVrf::DtTroposphereStateComponentNextFrame::windDirection ( double  atAlt = 0.) const
overridevirtual

Returns the wind direction at the given altitude.

Parameters
atAltAltitude in meters MSL (0 uses the default wind level)
Returns
Wind direction in degrees (meteorological convention)
virtual void makVrf::DtTroposphereStateComponentNextFrame::setWindDirection ( const double &  )
overridevirtual

Sets the wind direction at the default altitude level.

Parameters
Winddirection in degrees
virtual void makVrf::DtTroposphereStateComponentNextFrame::setWindDirection ( const double &  atAlt,
const double &   
)
overridevirtual

Sets the wind direction at the specified altitude.

Parameters
atAltAltitude in meters MSL
Winddirection in degrees
virtual const int makVrf::DtTroposphereStateComponentNextFrame::obscurant ( double  atAltitude) const
overridevirtual

Returns the obscurant type at the given altitude.

Parameters
atAltitudeAltitude in meters MSL
Returns
Obscurant type enum value
virtual void makVrf::DtTroposphereStateComponentNextFrame::setObscurant ( double  baseAlt,
const int &   
)
overridevirtual

Sets the obscurant type at the specified base altitude.

Parameters
baseAltBase altitude in meters MSL
Obscuranttype enum value
virtual const double makVrf::DtTroposphereStateComponentNextFrame::visibility ( double  atAltitude) const
overridevirtual

Returns the visibility distance at the given altitude.

Parameters
atAltitudeAltitude in meters MSL (0 uses the default wind level)
Returns
Visible distance in meters
virtual void makVrf::DtTroposphereStateComponentNextFrame::setVisibility ( const double &  )
overridevirtual

Sets the visibility distance at the default altitude level.

Parameters
Visibledistance in meters
virtual void makVrf::DtTroposphereStateComponentNextFrame::setVisibility ( const double &  ,
const double &   
)
overridevirtual

Sets the visibility distance at the specified altitude.

Parameters
Altitudein meters MSL
Visibledistance in meters
std::shared_ptr<tbb::spin_rw_mutex::scoped_lock> makVrf::DtTroposphereStateComponentNextFrame::readLock ( )

Acquires a shared (read) lock on the component data.

Returns
Scoped lock guard for shared read access
std::shared_ptr<tbb::spin_rw_mutex::scoped_lock> makVrf::DtTroposphereStateComponentNextFrame::writeLock ( )

Acquires an exclusive (write) lock on the component data.

Returns
Scoped lock guard for exclusive write access
virtual void makVrf::DtTroposphereStateComponentNextFrame::addWindLevel ( double  altitude,
double  windSpeed,
double  windDirection,
double  visibleDistance,
int  obscurant,
int  cloudType,
double  cloudDensity,
double  skyCoverage 
)
overridevirtual

Accessors/mutators for wind level.

If altitude is same as a wind level will replace that wind level. altitude of 0 will set default wind speed and direction

virtual void makVrf::DtTroposphereStateComponentNextFrame::clearWindLevels ( )
overridevirtual

Accessors/mutators for wind level.

If altitude is same as a wind level will replace that wind level. altitude of 0 will set default wind speed and direction

virtual void makVrf::DtTroposphereStateComponentNextFrame::removeWindLevel ( double  baseAltitude)
overridevirtual

Must be exact match.

virtual bool makVrf::DtTroposphereStateComponentNextFrame::windSpeedAndDirectionAtAltitude ( double  altMSL,
double &  windSpeed,
double &  windDirection 
) const
overridevirtual

Given the altitude, return the wind speed and direction.

virtual void makVrf::DtTroposphereStateComponentNextFrame::setWindSpeedAndDirectionAtAltitude ( const double &  altMSL,
const double &  windSpeed,
const double &  windDirection 
)
overridevirtual

Accessors/mutators for wind level.

If altitude is same as a wind level will replace that wind level. altitude of 0 will set default wind speed and direction

virtual bool makVrf::DtTroposphereStateComponentNextFrame::visibilityAndObscurantAtAltitude ( double  altMSL,
double &  distance,
int &  obs 
) const
overridevirtual

Given the altitude, return the visibility and obscurant.

virtual void makVrf::DtTroposphereStateComponentNextFrame::setVisibilityAndObscurantAtAltitude ( const double &  altMSL,
const double &  distance,
const int &  obs 
)
overridevirtual

Accessors/mutators for wind level.

If altitude is same as a wind level will replace that wind level. altitude of 0 will set default wind speed and direction

Member Data Documentation

tbb::spin_rw_mutex makVrf::DtTroposphereStateComponentNextFrame::myMutex
mutable

Mutex for thread-safe read/write access to the frame data.


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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)