![]() |
VR-Forces Developer's Guide
|
2) Define the next frame class. This will be used for write access.

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 |
|
inline |
Constructs the next frame state component with the given state data storage.
| sd | Pointer to the owning state data storage |
|
inlineoverridevirtual |
|
overridevirtual |
Returns the wind levels data for the next frame state.
|
overridevirtual |
Sets the wind levels data for the next frame state.
| New | wind levels to apply |
|
overridevirtual |
Sets the priority of this troposphere state.
| Priority | value to assign |
|
overridevirtual |
Returns the priority of this troposphere state.
|
overridevirtual |
Returns the wind speed at the given altitude.
| atAlt | Altitude in meters MSL (0 uses the default wind level) |
|
overridevirtual |
Sets the wind speed at the default altitude level.
| Wind | speed in meters per second |
|
overridevirtual |
Sets the wind speed at the specified altitude.
| atAlt | Altitude in meters MSL |
| Wind | speed in meters per second |
|
overridevirtual |
Returns the wind direction at the given altitude.
| atAlt | Altitude in meters MSL (0 uses the default wind level) |
|
overridevirtual |
Sets the wind direction at the default altitude level.
| Wind | direction in degrees |
|
overridevirtual |
Sets the wind direction at the specified altitude.
| atAlt | Altitude in meters MSL |
| Wind | direction in degrees |
|
overridevirtual |
Returns the obscurant type at the given altitude.
| atAltitude | Altitude in meters MSL |
|
overridevirtual |
Sets the obscurant type at the specified base altitude.
| baseAlt | Base altitude in meters MSL |
| Obscurant | type enum value |
|
overridevirtual |
Returns the visibility distance at the given altitude.
| atAltitude | Altitude in meters MSL (0 uses the default wind level) |
|
overridevirtual |
Sets the visibility distance at the default altitude level.
| Visible | distance in meters |
|
overridevirtual |
Sets the visibility distance at the specified altitude.
| Altitude | in meters MSL |
| Visible | distance in meters |
| std::shared_ptr<tbb::spin_rw_mutex::scoped_lock> makVrf::DtTroposphereStateComponentNextFrame::readLock | ( | ) |
Acquires a shared (read) lock on the component data.
| std::shared_ptr<tbb::spin_rw_mutex::scoped_lock> makVrf::DtTroposphereStateComponentNextFrame::writeLock | ( | ) |
Acquires an exclusive (write) lock on the component data.
|
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
|
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
|
overridevirtual |
Must be exact match.
|
overridevirtual |
Given the altitude, return the wind speed and direction.
|
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
|
overridevirtual |
Given the altitude, return the visibility and obscurant.
|
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
|
mutable |
Mutex for thread-safe read/write access to the frame data.