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

Public Member Functions | |
| DtTroposphereStateComponentCurrentFrame (DtStateData *sd) | |
| CURRENTFRAME_ACCESSOR_BY_REF (DtRwWindLevels, windLevels, WindLevels) | |
| CURRENTFRAME_ACCESSOR (int, priority, Priority) | |
| const double | windSpeed (double atAlt=0.) const override |
| const double | windDirection (double atAlt=0.) const override |
| const double | visibility (double atAltitude=0.) const override |
| const int | obscurant (double atAltitude) const override |
| bool | windSpeedAndDirectionAtAltitude (double altMSL, double &windSpeed, double &windDirection) const override |
| bool | visibilityAndObscurantAtAltitude (double altMSL, double &distance, int &obs) const override |
Public Member Functions inherited from DtStateComponentCurrentFrameTemplate< DtTroposphereStateComponent, DtTroposphereStateComponentNextFrame, DtTroposphereStateComponentData > | |
| DtStateComponentCurrentFrameTemplate (makVrf::DtStateData *sd) | |
| virtual | ~DtStateComponentCurrentFrameTemplate () |
| const DtTroposphereStateComponentData & | frameState () const |
Additional Inherited Members | |
Protected Member Functions inherited from DtStateComponentCurrentFrameTemplate< DtTroposphereStateComponent, DtTroposphereStateComponentNextFrame, DtTroposphereStateComponentData > | |
| void | advanceFrame (const DtTroposphereStateComponentData &data) |
Protected Attributes inherited from DtStateComponentCurrentFrameTemplate< DtTroposphereStateComponent, DtTroposphereStateComponentNextFrame, DtTroposphereStateComponentData > | |
| makVrf::DtStateData * | myStateData |
| DtTroposphereStateComponentData | myData |
|
inline |
| makVrf::DtTroposphereStateComponentCurrentFrame::CURRENTFRAME_ACCESSOR_BY_REF | ( | DtRwWindLevels | , |
| windLevels | , | ||
| WindLevels | |||
| ) |
| makVrf::DtTroposphereStateComponentCurrentFrame::CURRENTFRAME_ACCESSOR | ( | int | , |
| priority | , | ||
| Priority | |||
| ) |
|
override |
Current frame state only can access current frame buffers. This ensures thread safety.
|
override |
|
override |
|
override |
|
override |
Given the altitude, return the wind speed and direction.
|
override |
Given the altitude, return the visibility and obscurant.