![]() |
VR-Forces 5.0.2 Developer's Guide
|
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)

Public Member Functions | |
| DtWeatherStateComponent (DtStateData *storage) | |
| virtual const double | visibility (double atAlt=0.) const |
| virtual void | setVisibility (const double &) |
| virtual void | setVisibility (const double &atAlt, const double &) |
| virtual const double | windSpeed (double atAlt=0.) const |
| virtual void | setWindSpeed (const double &) |
| virtual void | setWindSpeed (const double &atAlt, const double &) |
| virtual const double | windDirection (double atAlt=0.) const |
| virtual void | setWindDirection (const double &) |
| virtual void | setWindDirection (const double &atAlt, const double &) |
| virtual const int | obscurant (double atAlt=0.) const |
| virtual void | setObscurant (double atAlt, const int &) |
| virtual void | addWindLevel (double altitude, double windSpeed, double windDirection, double visibleDistance, int obscurant, int cloudType, double cloudDensity, double skyCoverage) |
| virtual void | clearWindLevels () |
| virtual void | removeWindLevel (double baseAltitude) |
| virtual bool | windSpeedAndDirectionAtAltitude (double altMSL, double &windSpeed, double &windDirection) const |
| virtual void | setWindSpeedAndDirectionAtAltitude (const double &altMSL, const double &windSpeed, const double &windDirection) |
| virtual bool | visibilityAndObscurantAtAltitude (double altMSL, double &distance, int &obs) const |
| virtual void | setVisibilityAndObscurantAtAltitude (const double &altMSL, const double &distance, const int &obs) |
| virtual void | setWindLevels (const DtRwWindLevels &) |
| virtual const DtRwWindLevels & | windLevels () const |
Public Member Functions inherited from makVrf::DtFrameStateInterface | |
| DtFrameStateInterface (const DtStateData *) | |
| virtual | ~DtFrameStateInterface () |
| void | setIsWritable (bool b) |
| bool | isWritable () const |
| UInt64 | stateId () const |
| UInt64 | legionGlobalId () const |
| void | setLegionGlobalId (UInt64 d) |
| bool | isModified () const |
| void | clearModified () |
| void | markModified () |
| virtual DtStateComponent::StateComponentType | type () const |
| virtual DtStateComponent::StateComponentType | componentType () const =0 |
| void | setId (UInt64 id) |
| virtual UInt64 | id () const |
| virtual void | updateStateData (DtStateData *sd) |
| virtual Legion::ReadStateInstance | readStateInstance () const |
| virtual Legion::WriteStateInstance | writeStateInstance () |
| void | emitComponentUpdated () |
| bool | cleared () const |
| bool | advancedFrame () const |
| virtual void | frameAdvanced () |
| virtual void | convertToRemote () |
| virtual void | convertToLocal () |
| virtual void | aboutToBeDeleted () |
Protected Attributes | |
| DtRwWindLevels | myWindLevels |
Protected Attributes inherited from makVrf::DtFrameStateInterface | |
| bool | myIsModified |
| UInt64 | myId |
| UInt64 | myStateId |
| UInt64 | myLegionId |
| bool | myIsWritable |
| bool | myCleared |
| bool | myAdvancedFrame |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtFrameStateInterface | |
| boost::signals2::signal< void(DtFrameStateInterface *)> | signal_stateComponentAboutToBeDeleted |
| boost::signals2::signal< void(const DtFrameStateInterface *)> | signal_componentModified |
Protected Member Functions inherited from makVrf::DtFrameStateInterface | |
| virtual void | makeWritable () |
| virtual void | makeReadOnly () |
|
inline |
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentCurrentFrame, and makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentCurrentFrame, and makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentCurrentFrame, and makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentCurrentFrame, and makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
Must be exact match.
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
Given the altitude, return the wind speed and direction.
Reimplemented in makVrf::DtWeatherStateComponentCurrentFrame, and makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
Given the altitude, return the visibility and obscurant.
Reimplemented in makVrf::DtWeatherStateComponentCurrentFrame, and makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentNextFrame.
|
inlinevirtual |
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
Reimplemented in makVrf::DtWeatherStateComponentCurrentFrame, and makVrf::DtWeatherStateComponentNextFrame.
|
protected |