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 | Static Public Member Functions | Protected Attributes
DtChangeWeatherCommand Class Reference

A DtSimCommand subclass which specifies a change to the weather settings for the specified weather area in the simulation engine. The command may partially specify the weather, such as specifying the wind and not the visibility. Only items that are specified will be changed by the command. Others will be left unchanged.

Inheritance diagram for DtChangeWeatherCommand:
Inheritance graph
[legend]

Public Member Functions

 DtChangeWeatherCommand ()
 
 DtChangeWeatherCommand (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtChangeWeatherCommand (const DtString &writeName, const DtChangeWeatherCommand &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 
virtual ~DtChangeWeatherCommand () override
 
DtChangeWeatherCommandoperator= (const DtChangeWeatherCommand &orig)
 
virtual const
DtSimCommandMessageType
type () const override
 
virtual DtSimCommandclone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const override
 
virtual int netRepSize () const override
 
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize) override
 
virtual bool setToNet () override
 
virtual DtString stringRep () const override
 
virtual void setUUID (const DtUUID &)
 
virtual const DtUUIDuuid () const
 
virtual void setPriority (int p)
 
virtual int priority () const
 
virtual bool prioritySpecified () const
 
virtual void clearPriority ()
 
virtual bool operator== (const DtChangeWeatherCommand &) const
 
virtual bool operator!= (const DtChangeWeatherCommand &rhs) const
 
virtual void setAllValuesSpecified (bool)
 
virtual bool fromXml (const DtString &s) override
 
virtual bool fromXmlFile (const DtFilename &s) override
 
virtual void getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override
 
virtual void setAmbientAirTemperature (double celsius)
 
virtual double ambientAirTemperature () const
 
virtual bool ambientAirTemperatureSpecified () const
 
virtual void clearAmbientAirTemperature ()
 
virtual void setAmbientAirPressure (double factor)
 
virtual double ambientAirPressure () const
 
virtual bool ambientAirPressureSpecified () const
 
virtual void clearAmbientAirPressure ()
 
virtual void setAirPressureAltitude (double factor)
 
virtual double airPressureAltitude () const
 
virtual bool airPressureAltitudeSpecified () const
 
virtual void clearAirPressureAltitude ()
 
virtual void setAirTemperatureAltitude (double factor)
 
virtual double airTemperatureAltitude () const
 
virtual bool airTemperatureAltitudeSpecified () const
 
virtual void clearAirTemperatureAltitude ()
 
virtual void setAirPressureAltitudeIsSeaLevel (bool seaLevel)
 
virtual bool airPressureAltitudeIsSeaLevel () const
 
virtual bool airPressureAltitudeIsSeaLevelSpecified () const
 
virtual void clearAirPressureAltitudeIsSeaLevel ()
 
virtual void setAirTemperatureAltitudeIsSeaLevel (bool seaLevel)
 
virtual bool airTemperatureAltitudeIsSeaLevel () const
 
virtual bool airTemperatureAltitudeIsSeaLevelSpecified () const
 
virtual void clearAirTemperatureAltitudeIsSeaLevel ()
 
virtual void setSeaLevelWaterConcentration (double factor)
 
virtual double seaLevelWaterConcentration () const
 
virtual bool seaLevelWaterConcentrationSpecified () const
 
virtual void clearSeaLevelWaterConcentration ()
 
virtual void setPrecipitationIntensity (double factor)
 
virtual double precipitationIntensity () const
 
virtual bool precipitationIntensitySpecified () const
 
virtual void clearPrecipitationIntensity ()
 
virtual void setPrecipitationType (DtVrfWeatherPrecipitationType type)
 
virtual
DtVrfWeatherPrecipitationType 
precipitationType () const
 
virtual bool precipitationTypeSpecified () const
 
virtual void clearPrecipitationType ()
 
virtual void setVisibilityAndObscurant (double visibility, int obscurant)
 
virtual bool visibilityAndObscurant (double &visibility, int &obscurant) const
 
virtual void setVisibility (double visibility)
 
virtual double visibility () const
 
virtual void setWindDirection (double radians)
 
virtual double windDirection () const
 
virtual void setWindSpeed (double value)
 
virtual double windSpeed () const
 
virtual void setAirTurbulence (int value)
 
virtual int airTurbulence () const
 
virtual bool airTurbulenceSpecified () const
 
virtual void clearAirTurbulence ()
 
virtual void setUnderwaterVisibility (double underwaterVisibility)
 
virtual double underwaterVisibility () const
 
virtual bool underwaterVisibilitySpecified () const
 
virtual void clearUnderwaterVisibility ()
 
virtual void setSurfaceTransparency (double transparency)
 
virtual double surfaceTransparency () const
 
virtual bool surfaceTransparencySpecified () const
 
virtual void clearSurfaceTransparency ()
 
virtual void setWaterCurrentSpeed (double waterCurrentSpeed)
 
virtual double waterCurrentSpeed () const
 
virtual bool waterCurrentSpeedSpecified () const
 
virtual void clearWaterCurrentSpeed ()
 
virtual void setWaterCurrentDirection (double waterCurrentDirection)
 
virtual double waterCurrentDirection () const
 
virtual bool waterCurrentDirectionSpecified () const
 
virtual void clearWaterCurrentDirection ()
 
virtual void setAmbientWaterTemperature (double waterTemperature)
 
virtual double ambientWaterTemperature () const
 
virtual bool ambientWaterTemperatureSpecified () const
 
virtual void clearAmbientWaterTemperature ()
 
virtual void setTidalOffset (double tidalOffset)
 
virtual double tidalOffset () const
 
virtual bool tidalOffsetSpecified () const
 
virtual void clearTidalOffset ()
 
virtual void setSwellState (unsigned int state)
 
virtual unsigned int swellState () const
 
virtual bool swellStateSpecified () const
 
virtual void clearSwellState ()
 
virtual void setSwellStateDirection (double direction)
 
virtual double swellStateDirection () const
 
virtual bool swellStateDirectionSpecified () const
 
virtual void clearSwellStateDirection ()
 
virtual void setSeaState (unsigned int state)
 
virtual unsigned int seaState () const
 
virtual bool seaStateSpecified () const
 
virtual void clearSeaState ()
 
virtual void setSeaStateDirection (double direction)
 
virtual double seaStateDirection () const
 
virtual bool seaStateDirectionSpecified () const
 
virtual void clearSeaStateDirection ()
 
virtual void setWindDrivenSeaStateEnabled (bool enabled)
 
virtual bool windDrivenSeaStateEnabled () const
 
virtual bool windDrivenSeaStateEnabledSpecified () const
 
virtual void clearWindDrivenSeaStateEnabled ()
 
virtual void setChoppiness (double choppiness)
 
virtual double choppiness () const
 
virtual bool choppinessSpecified () const
 
virtual void clearChoppiness ()
 
virtual void setDepthOffset (double depth)
 
virtual double depthOffset () const
 
virtual bool depthOffsetSpecified () const
 
virtual void clearDepthOffset ()
 
virtual void setWindFetch (double depth)
 
virtual double windFetch () const
 
virtual bool windFetchSpecified () const
 
virtual void clearWindFetch ()
 
virtual void setSurgeDepth (double depth)
 
virtual double surgeDepth () const
 
virtual bool surgeDepthSpecified () const
 
virtual void clearSurgeDepth ()
 
virtual void setFogHeight (double depth)
 
virtual double fogHeight () const
 
virtual bool fogHeightSpecified () const
 
virtual void clearFogHeight ()
 
virtual void setFogColor (const DtVector &)
 
virtual const DtVector & fogColor () const
 
virtual bool fogColorSpecified () const
 
virtual void clearFogColor ()
 
virtual void setBlowingParticulateMatter (int)
 
virtual int blowingParticulateMatter () const
 
virtual bool blowingParticulateMatterSpecified () const
 
virtual void clearBlowingParticulateMatter ()
 
virtual void setSnowAccumulation (double snow)
 
virtual double snowAccumulation () const
 
virtual bool snowAccumulationSpecified () const
 
virtual void clearSnowAccumulation ()
 
virtual void setSnowMinimumAltitude (double snow)
 
virtual double snowMinimumAltitude () const
 
virtual bool snowMinimumAltitudeSpecified () const
 
virtual void clearSnowMinimumAltitude ()
 
virtual void setSnowRoadAccumulation (double snow)
 
virtual double snowRoadAccumulation () const
 
virtual bool snowRoadAccumulationSpecified () const
 
virtual void clearSnowRoadAccumulation ()
 
virtual void setRainAccumulation (double rain)
 
virtual double rainAccumulation () const
 
virtual bool rainAccumulationSpecified () const
 
virtual void clearRainAccumulation ()
 
virtual void setThermoclineLayer1Depth (double depth)
 
virtual double thermoclineLayer1Depth () const
 
virtual bool thermoclineLayer1DepthSpecified () const
 
virtual void clearThermoclineLayer1Depth ()
 
virtual void setThermoclineLayer1Permeability (double depth)
 
virtual double thermoclineLayer1Permeability () const
 
virtual bool thermoclineLayer1PermeabilitySpecified () const
 
virtual void clearThermoclineLayer1Permeability ()
 
virtual void setThermoclineLayer2Depth (double depth)
 
virtual double thermoclineLayer2Depth () const
 
virtual bool thermoclineLayer2DepthSpecified () const
 
virtual void clearThermoclineLayer2Depth ()
 
virtual void setThermoclineLayer2Permeability (double depth)
 
virtual double thermoclineLayer2Permeability () const
 
virtual bool thermoclineLayer2PermeabilitySpecified () const
 
virtual void clearThermoclineLayer2Permeability ()
 
virtual void setThermoclineLayer3Depth (double depth)
 
virtual double thermoclineLayer3Depth () const
 
virtual bool thermoclineLayer3DepthSpecified () const
 
virtual void clearThermoclineLayer3Depth ()
 
virtual void setThermoclineLayer3Permeability (double depth)
 
virtual double thermoclineLayer3Permeability () const
 
virtual bool thermoclineLayer3PermeabilitySpecified () const
 
virtual void clearThermoclineLayer3Permeability ()
 
virtual void setThermoclineLayer4Depth (double depth)
 
virtual double thermoclineLayer4Depth () const
 
virtual bool thermoclineLayer4DepthSpecified () const
 
virtual void clearThermoclineLayer4Depth ()
 
virtual void setThermoclineLayer4Permeability (double depth)
 
virtual double thermoclineLayer4Permeability () const
 
virtual bool thermoclineLayer4PermeabilitySpecified () const
 
virtual void clearThermoclineLayer4Permeability ()
 
virtual void setThermoclineLayer5Depth (double depth)
 
virtual double thermoclineLayer5Depth () const
 
virtual bool thermoclineLayer5DepthSpecified () const
 
virtual void clearThermoclineLayer5Depth ()
 
virtual void setThermoclineLayer5Permeability (double depth)
 
virtual double thermoclineLayer5Permeability () const
 
virtual bool thermoclineLayer5PermeabilitySpecified () const
 
virtual void clearThermoclineLayer5Permeability ()
 
virtual void setLightningPresent (bool isPresent)
 
virtual bool lightningPresent () const
 
virtual bool lightningPresentSpecified () const
 
virtual void clearLightningPresent ()
 
virtual void setGeneratedByRemoteWeatherSetter (bool value)
 
virtual bool generatedByRemoteWeatherSetter () const
 
virtual void clearWindLevels ()
 
virtual bool windLevelsSpecified () const
 
virtual void clearWindLevelsSpecified ()
 
virtual void setWindLevels (const DtRwWindLevels &)
 
virtual const DtRwWindLevelswindLevels () const
 
virtual DtRwWindLevelswindLevels ()
 
- Public Member Functions inherited from DtSimCommand
virtual ~DtSimCommand () override
 
virtual bool init ()
 
virtual DtSimCommandclone () const
 
virtual void putData (std::string &fp, int indentLevel=0) override
 
virtual DtlObjPtr getData (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override
 
virtual charnetRep ()
 
virtual void setLocalDelivery (bool)
 
virtual bool localDelivery () const
 
- Public Member Functions inherited from DtReaderWriter
 DtReaderWriter ()
 
 DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 
 DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 
 DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL)
 
const DtReaderWriteroperator= (const DtReaderWriter &orig)
 
bool operator== (const DtReaderWriter &) const
 
bool operator!= (const DtReaderWriter &rhs) const
 
virtual ~DtReaderWriter ()
 
virtual void putSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
 
virtual void postPutSelf ()
 
virtual void prePutSelf ()
 
virtual void postGetSelf ()
 
virtual void preGetSelf ()
 
virtual void writeSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
 
virtual DtSymbolString name () const
 
virtual void addAlias (const DtSymbolString &alias)
 
virtual void addAlias (const DtString &alias)
 
virtual bool hasAlias (const DtSymbolString &alias)
 
virtual const aliasContaineraliases () const
 
virtual void setReadonly (bool flag)
 
bool isReadonly () const
 
virtual void reset ()
 
virtual int alignment () const
 
virtual bool variableIsBound () const
 
virtual void unbindVariable ()
 
virtual void setName (const DtString &)
 
virtual const charreaderWriterType () const
 
virtual const charxmlType () const
 
virtual DtString prettyPrint () const
 
std::string debugText () const
 
virtual void bindVariables (DtVariableBindingsList variableBindings)
 
virtual std::list
< DtVariableNameType
unboundVariables () const
 
bool invalid () const
 
virtual bool hasChild (const DtReaderWriter *p) const
 
virtual bool hasVariableReference () const
 
virtual void bindLocalVariables (const DtVariableBindingsList &variableBindings)
 
virtual void recordUpdateTime () const
 
virtual bool changedSinceLastChecked ()
 
virtual bool peekChangedSinceLastChecked () const
 
virtual void setValueSpecified (bool specified, bool recurse=false)
 
virtual bool valueSpecified () const
 
virtual bool isVariableReference () const
 
virtual void setIsVariableReference (bool value)
 
virtual void clearAllVariableReferenceFlags ()
 
virtual DtSymbolString variableName () const
 
virtual void setVariableName (const DtSymbolString variableName)
 
virtual const DtReaderWriterdefaultRWValue () const
 
virtual DtReaderWriterdefaultRWValue ()
 
virtual void setDefaultRWValue (DtReaderWriter *)
 
virtual bool checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
 
const DtReaderWriterRegistryregistry () const
 
DtReaderWriterRegistryregistry ()
 
virtual DtPropertyInterfaceproperty ()
 
virtual const DtPropertyInterfaceproperty () const
 
virtual DtString toXml () const
 
virtual DtRwVariableBindingsgenerateVariableBindings () const
 
virtual bool toXml (const DtFilename &) const
 
virtual void putSelf (DtEnvironmentSP, DtEnvValueSP parent) const
 
virtual void putData (DtEnvironmentSP, DtEnvValueSP value) const
 
virtual void putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const
 
virtual void getSelf (const DtEnvironmentSP, const DtEnvValueSP root, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList())
 
virtual void getData (const DtEnvironmentSP, const DtEnvValueSP, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList())
 
virtual void unrecognizedItem (const DtEnvironmentSP env, const DtEnvValueSP root, const SearchPaths &searchPaths, const DtVariableBindingsList &varBindings)
 
virtual void getVariableReference (DtEnvironmentSP, DtEnvValueSP value)
 

Static Public Member Functions

static DtSimCommandcreator ()
 
- Static Public Member Functions inherited from DtSimCommand
static DtSimCommandcreateSimCommand (DtlObjPtr mtlStream)
 
static DtSimCommandcreateSimCommand (const DtSimCommandMessageType &simCommandType)
 
static DtSimCommandcreateFromFactory (const DtSimCommandMessageType &simCommandType)
 
static void addSimCommandCreatorFcn (const DtSimCommandMessageType &simCommandName, DtSimCommandCreatorFcn fcn)
 
static void setFactory (DtSimCommandFactory *factory)
 
static DtSimCommandFactoryfactory ()
 
- Static Public Member Functions inherited from DtReaderWriter
static void putIndent (std::string &fp, int indentLevel)
 
static const
DtVariableBindingsList
nullVariableReference ()
 
static void setPostGetSelfCallback (DtGetSelfCallbackFcn fcn, void *usrData)
 
static void setPrePutSelfCallback (DtPutSelfCallbackFcn fcn, void *usrData)
 
static void setPutIndent (bool)
 
static bool putIndent ()
 
static const chartheXmlType ()
 
static const DtFilename & appPath ()
 
static void setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn)
 
static void createReaderWriterFactory ()
 
static void cleanupFactory ()
 
static DtReaderWriterFactoryfactory ()
 
static void setOutputStream (DtOutputStream *stream)
 
static DtOutputStream & outputStream ()
 
static DtReaderWritercreateFromXmlFile (const DtFilename &, bool createAsProperty=false)
 
static DtReaderWritercreateFromXml (const DtString &, bool createAsProperty=false)
 
static DtReaderWritercreateFromEnvironment (DtEnvironmentSP, bool createAsProperty=false)
 
static DtString getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root)
 

Protected Attributes

DtRwReal myAmbientAirTemperature
 
DtRwReal myAmbientAirPressure
 
DtRwReal myAirTemperatureAltitude
 
DtRwReal myAirPressureAltitude
 
DtRwBoolean myAirTemperatureAltitudeIsSeaLevel
 
DtRwBoolean myAirPressureAltitudeIsSeaLevel
 
DtRwReal mySeaLevelWaterConcentration
 
DtRwReal myPrecipitationIntensity
 
DtRwInt myPrecipitationType
 
DtRwInt myAirTurbulence
 
DtRwReal myUnderwaterVisibility
 
DtRwReal mySurfaceTransparency
 
DtRwReal myWaterCurrentSpeed
 
DtRwReal myWaterCurrentDirection
 
DtRwReal myAmbientWaterTemperature
 
DtRwReal myTidalOffset
 
DtRwInt mySwellState
 
DtRwReal mySwellStateDirection
 
DtRwInt mySeaState
 
DtRwReal mySeaStateDirection
 
DtRwBoolean myWindDrivenSeaStateEnabled
 
DtRwReal myChoppiness
 
DtRwReal mySurgeDepth
 
DtRwReal myDepthOffset
 
DtRwReal myWindFetch
 
DtRwReal myThermoclineLayer1Depth
 
DtRwReal myThermoclineLayer1Permeability
 
DtRwReal myThermoclineLayer2Depth
 
DtRwReal myThermoclineLayer2Permeability
 
DtRwReal myThermoclineLayer3Depth
 
DtRwReal myThermoclineLayer3Permeability
 
DtRwReal myThermoclineLayer4Depth
 
DtRwReal myThermoclineLayer4Permeability
 
DtRwReal myThermoclineLayer5Depth
 
DtRwReal myThermoclineLayer5Permeability
 
DtRwInt myPriority
 
DtRwReal myFogHeight
 
DtRwVector myFogColor
 
DtRwReal mySnowAccumulation
 
DtRwReal mySnowMinimumAltitude
 
DtRwReal mySnowRoadAccumulation
 
DtRwInt myBlowingParticulateMatter
 
DtRwReal myRainAccumulation
 
DtRwBoolean myGeneratedByRemoteWeatherSetter
 
DtRwUUID myUUID
 
DtRwWindLevels myWindLevels
 
DtRwBoolean myLightningPresent
 
- Protected Attributes inherited from DtSimCommand
charmyNetRep
 
bool myLocalDelivery
 
- Protected Attributes inherited from DtReaderWriter
const DtSymbolString myName
 
DtReaderWriterRegistry myRegistry
 
DtReaderWriterRegistrymyParentRegistry
 
bool myValueSpecified
 
bool myReadOnlyFlag
 
bool myIsVariableReference
 
DtSymbolString myVariableName
 
bool myVariableIsBound
 
DtReaderWritermyDefaultValue
 
aliasContainer myAliases
 
bool myInvalid
 
bool myChangedFlag
 

Additional Inherited Members

- Public Types inherited from DtSimCommand
typedef DtSimCommandMessageType FactoryKeyType
 
- Public Types inherited from DtReaderWriter
typedef std::vector
< DtSymbolString
aliasContainer
 
typedef std::vector
< DtSymbolString >::iterator 
aliasIter
 
typedef std::vector
< DtSymbolString >
::const_iterator 
aliasConstIter
 
typedef std::vector< DtFilename > SearchPaths
 
typedef std::pair
< DtSymbolString, DtString
DtVariableNameType
 
typedef DtReaderWriterFactory *(* DtReaderWriterFactoryCreatorFcn )()
 
- Protected Member Functions inherited from DtSimCommand
 DtSimCommand ()
 
 DtSimCommand (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0)
 
 DtSimCommand (const DtString &writeName, const DtSimCommand &orig, DtReaderWriterRegistry *parentRegistry=0)
 
const DtSimCommandoperator= (const DtSimCommand &orig)
 
virtual charcreateNetworkBuffer ()
 
virtual bool isTypeRegistered (const DtSimCommandMessageType &commandType)
 
- Protected Member Functions inherited from DtReaderWriter
virtual void bindToRwAsVariable (const DtReaderWriter *rw)
 
- Static Protected Attributes inherited from DtSimCommand
static DtSimCommandFactorymyFactory
 
- Static Protected Attributes inherited from DtReaderWriter
static DtString theUnspecifiedValue
 
static DtGetSelfCallbackInfo thePostGetSelfCallback
 
static DtPutSelfCallbackInfo thePrePutSelfCallback
 
static const DtVariableBindingsList theEmptyVariableBindingsList
 
static bool theCreatorFcnSet
 
static DtReaderWriterFactorytheFactory
 
static
DtReaderWriterFactoryCreatorFcn 
theFactoryCreatorFcn
 
static bool thePutIndent
 
static DtOutputStream * theOutputStream
 

Constructor & Destructor Documentation

DtChangeWeatherCommand::DtChangeWeatherCommand ( )

default constructor

DtChangeWeatherCommand::DtChangeWeatherCommand ( const DtString writeName,
DtReaderWriterRegistry parentRegistry = NULL 
)

Usual constructor.

DtChangeWeatherCommand::DtChangeWeatherCommand ( const DtString writeName,
const DtChangeWeatherCommand orig,
DtReaderWriterRegistry parentRegistry = NULL 
)

copy constructor

virtual DtChangeWeatherCommand::~DtChangeWeatherCommand ( )
overridevirtual

destructor

Member Function Documentation

DtChangeWeatherCommand& DtChangeWeatherCommand::operator= ( const DtChangeWeatherCommand orig)

assignment operator

virtual const DtSimCommandMessageType& DtChangeWeatherCommand::type ( ) const
overridevirtual
Returns
The type of this DtSimCommand (specified in radioMsgTypes.h)

Implements DtSimCommand.

Reimplemented in DtChangeGlobalWeatherCommand.

virtual DtSimCommand* DtChangeWeatherCommand::clone ( const DtString name,
DtReaderWriterRegistry parentRegistry = 0 
) const
overridevirtual
Returns
A new instance of this class, copied from the original.

Implements DtSimCommand.

Reimplemented in DtChangeGlobalWeatherCommand.

virtual int DtChangeWeatherCommand::netRepSize ( ) const
overridevirtual

Returns the size in bytes of the network representation of the class. This is the size in bytes of the DtNetSimSimCommand structure. Derived classes should take into acount the size returned by this class when overriding (they should call down to this class and add the result to their additional size).

Reimplemented from DtSimCommand.

virtual bool DtChangeWeatherCommand::setFromNet ( const char contentBuffer,
unsigned  contentSize 
)
overridevirtual

Sets mySubsimCommand member from the incoming contentBuffer (cast to type DtNetSimSimCommand). Derived classes should call down to this function first, and then extract their own data starting at the location contentBuffer + DtSimCommand::netRepSize().

Reimplemented from DtSimCommand.

virtual bool DtChangeWeatherCommand::setToNet ( )
overridevirtual

Calls netRep() to create the network buffer. Casts the resulting myNetRep to type DtNetSimSimCommand*, and then sets the mySubsimCommand member in the DtNetSimSimCommand from mySubsimCommand. Derived classes should call down to the base class version of setToNet() at the start of the function (before doing any processing on the network representation) They can then start to fill in their network data, starting at the location myNetRep + DtSimCommand::netRepSize().

Reimplemented from DtSimCommand.

virtual void DtChangeWeatherCommand::setAmbientAirTemperature ( double  celsius)
virtual

The ambient air temperature in degrees celsius.

virtual double DtChangeWeatherCommand::ambientAirTemperature ( ) const
virtual

The ambient air temperature in degrees celsius.

virtual bool DtChangeWeatherCommand::ambientAirTemperatureSpecified ( ) const
virtual

Indicates whether or not the air temperature is specified in the message.

virtual void DtChangeWeatherCommand::clearAmbientAirTemperature ( )
virtual

Clears the specified flag for air temperature.

virtual void DtChangeWeatherCommand::setAmbientAirPressure ( double  factor)
virtual

The ambient air pressure in kilo pascals.

virtual double DtChangeWeatherCommand::ambientAirPressure ( ) const
virtual

The ambient air pressure in kilo pascals.

virtual bool DtChangeWeatherCommand::ambientAirPressureSpecified ( ) const
virtual

Indicates whether or not the air pressure is specified in the message.

virtual void DtChangeWeatherCommand::clearAmbientAirPressure ( )
virtual

Clears the specified flag for air pressure.

virtual void DtChangeWeatherCommand::setAirPressureAltitude ( double  factor)
virtual

The air pressure altitude in meters.

virtual double DtChangeWeatherCommand::airPressureAltitude ( ) const
virtual

The air pressure altitude in meters.

virtual bool DtChangeWeatherCommand::airPressureAltitudeSpecified ( ) const
virtual

Indicates whether or not the air pressure altitude is specified in the message.

virtual void DtChangeWeatherCommand::clearAirPressureAltitude ( )
virtual

Clears the specified flag for air pressure altitude.

virtual void DtChangeWeatherCommand::setAirTemperatureAltitude ( double  factor)
virtual

The air temperature altitude in meters.

virtual double DtChangeWeatherCommand::airTemperatureAltitude ( ) const
virtual

The air temperature altitude in meters.

virtual bool DtChangeWeatherCommand::airTemperatureAltitudeSpecified ( ) const
virtual

Indicates whether or not the air temperature altitude is specified in the message.

virtual void DtChangeWeatherCommand::clearAirTemperatureAltitude ( )
virtual

Clears the specified flag for air temperature altitude.

virtual void DtChangeWeatherCommand::setAirPressureAltitudeIsSeaLevel ( bool  seaLevel)
virtual

The air pressure altitude is sea level flag.

virtual bool DtChangeWeatherCommand::airPressureAltitudeIsSeaLevel ( ) const
virtual

The air pressure altitude is sea level flag.

virtual bool DtChangeWeatherCommand::airPressureAltitudeIsSeaLevelSpecified ( ) const
virtual

Indicates whether or not the air pressure altitude is sea level flag is specified in the message.

virtual void DtChangeWeatherCommand::clearAirPressureAltitudeIsSeaLevel ( )
virtual

Clears the specified flag for air pressure altitude is sea level flag.

virtual void DtChangeWeatherCommand::setAirTemperatureAltitudeIsSeaLevel ( bool  seaLevel)
virtual

The air temperature altitude is sea level flag.

virtual bool DtChangeWeatherCommand::airTemperatureAltitudeIsSeaLevel ( ) const
virtual

The air temperature altitude is sea level flag.

virtual bool DtChangeWeatherCommand::airTemperatureAltitudeIsSeaLevelSpecified ( ) const
virtual

Indicates whether or not the air temperature altitude is sea level flag is specified in the message.

virtual void DtChangeWeatherCommand::clearAirTemperatureAltitudeIsSeaLevel ( )
virtual

Clears the specified flag for air temperature altitude is sea level flag.

virtual void DtChangeWeatherCommand::setSeaLevelWaterConcentration ( double  factor)
virtual

The sea level water concentration in PPMV (parts per million by volume)

virtual double DtChangeWeatherCommand::seaLevelWaterConcentration ( ) const
virtual

The sea level water concentration in PPMV (parts per million by volume)

virtual bool DtChangeWeatherCommand::seaLevelWaterConcentrationSpecified ( ) const
virtual

Indicates whether or not the sea level water concentration is specified in the message.

virtual void DtChangeWeatherCommand::clearSeaLevelWaterConcentration ( )
virtual

Clears the specified flag for sea level water concentration .

virtual void DtChangeWeatherCommand::setPrecipitationIntensity ( double  factor)
virtual

The precipitation intensity.

virtual double DtChangeWeatherCommand::precipitationIntensity ( ) const
virtual

The precipitation intensity.

virtual bool DtChangeWeatherCommand::precipitationIntensitySpecified ( ) const
virtual

Indicates whether or not the precipitation type is specified in the message.

virtual void DtChangeWeatherCommand::clearPrecipitationIntensity ( )
virtual

Clears the specified flag for precipitation intensity.

virtual void DtChangeWeatherCommand::setPrecipitationType ( DtVrfWeatherPrecipitationType  type)
virtual

The precipitation type.

virtual DtVrfWeatherPrecipitationType DtChangeWeatherCommand::precipitationType ( ) const
virtual

The precipitation type.

virtual bool DtChangeWeatherCommand::precipitationTypeSpecified ( ) const
virtual

Indicates whether or not the precipitation type is specified in the message.

virtual void DtChangeWeatherCommand::clearPrecipitationType ( )
virtual

Clears the specified flag for precipitation type.

virtual void DtChangeWeatherCommand::setVisibilityAndObscurant ( double  visibility,
int  obscurant 
)
virtual

The visibility distance, specified in meters and the obscurant enum. Currently the methods set/get the visibility and distance just for the wind layer at 0 altitude.

virtual bool DtChangeWeatherCommand::visibilityAndObscurant ( double visibility,
int obscurant 
) const
virtual

The visibility distance, specified in meters and the obscurant enum. Currently the methods set/get the visibility and distance just for the wind layer at 0 altitude.

virtual void DtChangeWeatherCommand::setVisibility ( double  visibility)
virtual

The visibility distance, specified in meters. The visibility accessor functions should be obsolete eventually, and the above visibilityAndObscurant functions should be used instead.

virtual double DtChangeWeatherCommand::visibility ( ) const
virtual

The visibility distance, specified in meters. The visibility accessor functions should be obsolete eventually, and the above visibilityAndObscurant functions should be used instead.

virtual void DtChangeWeatherCommand::setWindDirection ( double  radians)
virtual

The compass direction from which the wind is blowing, specified in radians.

virtual double DtChangeWeatherCommand::windDirection ( ) const
virtual

The compass direction from which the wind is blowing, specified in radians.

virtual void DtChangeWeatherCommand::setWindSpeed ( double  value)
virtual

The speed the wind is blowing, specified in meters per second.

virtual double DtChangeWeatherCommand::windSpeed ( ) const
virtual

The speed the wind is blowing, specified in meters per second.

virtual void DtChangeWeatherCommand::setAirTurbulence ( int  value)
virtual

The intensity of the air turbulence.

virtual int DtChangeWeatherCommand::airTurbulence ( ) const
virtual

The intensity of the air turbulence.

virtual bool DtChangeWeatherCommand::airTurbulenceSpecified ( ) const
virtual

Indicates whether or not the air turbulence is specified in the message.

virtual void DtChangeWeatherCommand::clearAirTurbulence ( )
virtual

Clears the specified flag for air turbulence.

virtual void DtChangeWeatherCommand::setUnderwaterVisibility ( double  underwaterVisibility)
virtual

Underwater visibility in meters.

virtual double DtChangeWeatherCommand::underwaterVisibility ( ) const
virtual

Underwater visibility in meters.

virtual bool DtChangeWeatherCommand::underwaterVisibilitySpecified ( ) const
virtual

Indicates whether or not the underwater visibility is specified in the message.

virtual void DtChangeWeatherCommand::clearUnderwaterVisibility ( )
virtual

Clears the specified flag for underwater visibility.

virtual void DtChangeWeatherCommand::setSurfaceTransparency ( double  transparency)
virtual

Surface transparency (percentage)

virtual double DtChangeWeatherCommand::surfaceTransparency ( ) const
virtual

Surface transparency (percentage)

virtual bool DtChangeWeatherCommand::surfaceTransparencySpecified ( ) const
virtual

Indicates whether or not the underwater visibility is specified in the message.

virtual void DtChangeWeatherCommand::clearSurfaceTransparency ( )
virtual

Clears the specified flag for underwater visibility.

virtual void DtChangeWeatherCommand::setWaterCurrentSpeed ( double  waterCurrentSpeed)
virtual

Water velocity in meters per second.

virtual double DtChangeWeatherCommand::waterCurrentSpeed ( ) const
virtual

Water velocity in meters per second.

virtual bool DtChangeWeatherCommand::waterCurrentSpeedSpecified ( ) const
virtual

Indicates whether or not the water velocity is specified in the message.

virtual void DtChangeWeatherCommand::clearWaterCurrentSpeed ( )
virtual

Clears the specified flag for water velocity.

virtual void DtChangeWeatherCommand::setWaterCurrentDirection ( double  waterCurrentDirection)
virtual

Water direction in radians clockwise from 0 (north)

virtual double DtChangeWeatherCommand::waterCurrentDirection ( ) const
virtual

Water direction in radians clockwise from 0 (north)

virtual bool DtChangeWeatherCommand::waterCurrentDirectionSpecified ( ) const
virtual

Indicates whether or not the visibility is specified in the message.

virtual void DtChangeWeatherCommand::clearWaterCurrentDirection ( )
virtual

Clears the specified flag for visibility.

virtual void DtChangeWeatherCommand::setAmbientWaterTemperature ( double  waterTemperature)
virtual

Ambient water temperature in Celsius.

virtual double DtChangeWeatherCommand::ambientWaterTemperature ( ) const
virtual

Ambient water temperature in Celsius.

virtual bool DtChangeWeatherCommand::ambientWaterTemperatureSpecified ( ) const
virtual

Indicates whether or not the ambient water temperature is specified in the message.

virtual void DtChangeWeatherCommand::clearAmbientWaterTemperature ( )
virtual

Clears the specified flag for ambient water temperature.

virtual void DtChangeWeatherCommand::setTidalOffset ( double  tidalOffset)
virtual

Tidal offset in meters from the water polygons in the database.

virtual double DtChangeWeatherCommand::tidalOffset ( ) const
virtual

Tidal offset in meters from the water polygons in the database.

virtual bool DtChangeWeatherCommand::tidalOffsetSpecified ( ) const
virtual

Indicates whether or not the tidal offset is specified in the message.

virtual void DtChangeWeatherCommand::clearTidalOffset ( )
virtual

Clears the specified flag for tidal offset.

virtual void DtChangeWeatherCommand::setSwellState ( unsigned int  state)
virtual

Swell state according to the Douglas Sea Scale (integer 0 - 9)

virtual unsigned int DtChangeWeatherCommand::swellState ( ) const
virtual

Swell state according to the Douglas Sea Scale (integer 0 - 9)

virtual bool DtChangeWeatherCommand::swellStateSpecified ( ) const
virtual

Swell state according to the Douglas Sea Scale (integer 0 - 9)

virtual void DtChangeWeatherCommand::clearSwellState ( )
virtual

Swell state according to the Douglas Sea Scale (integer 0 - 9)

virtual void DtChangeWeatherCommand::setSwellStateDirection ( double  direction)
virtual

Swell direction in in radians clockwise from 0 (north)

virtual double DtChangeWeatherCommand::swellStateDirection ( ) const
virtual

Swell direction in in radians clockwise from 0 (north)

virtual bool DtChangeWeatherCommand::swellStateDirectionSpecified ( ) const
virtual

Swell direction in in radians clockwise from 0 (north)

virtual void DtChangeWeatherCommand::clearSwellStateDirection ( )
virtual

Swell direction in in radians clockwise from 0 (north)

virtual void DtChangeWeatherCommand::setSeaState ( unsigned int  state)
virtual

Sea state according to the Douglas Sea Scale (integer 0 - 9)

virtual unsigned int DtChangeWeatherCommand::seaState ( ) const
virtual

Sea state according to the Douglas Sea Scale (integer 0 - 9)

virtual bool DtChangeWeatherCommand::seaStateSpecified ( ) const
virtual

Sea state according to the Douglas Sea Scale (integer 0 - 9)

virtual void DtChangeWeatherCommand::clearSeaState ( )
virtual

Sea state according to the Douglas Sea Scale (integer 0 - 9)

virtual void DtChangeWeatherCommand::setSeaStateDirection ( double  direction)
virtual

Swell direction in in radians clockwise from 0 (north)

virtual double DtChangeWeatherCommand::seaStateDirection ( ) const
virtual

Swell direction in in radians clockwise from 0 (north)

virtual bool DtChangeWeatherCommand::seaStateDirectionSpecified ( ) const
virtual

Swell direction in in radians clockwise from 0 (north)

virtual void DtChangeWeatherCommand::clearSeaStateDirection ( )
virtual

Swell direction in in radians clockwise from 0 (north)

virtual void DtChangeWeatherCommand::setWindDrivenSeaStateEnabled ( bool  enabled)
virtual

Flag for enabling sea-state to be driven by wind.

virtual bool DtChangeWeatherCommand::windDrivenSeaStateEnabled ( ) const
virtual

Flag for enabling sea-state to be driven by wind.

virtual bool DtChangeWeatherCommand::windDrivenSeaStateEnabledSpecified ( ) const
virtual

Flag for enabling sea-state to be driven by wind.

virtual void DtChangeWeatherCommand::clearWindDrivenSeaStateEnabled ( )
virtual

Flag for enabling sea-state to be driven by wind.

virtual void DtChangeWeatherCommand::setChoppiness ( double  choppiness)
virtual

Wave choppiness (0..1)

virtual double DtChangeWeatherCommand::choppiness ( ) const
virtual

Wave choppiness (0..1)

virtual bool DtChangeWeatherCommand::choppinessSpecified ( ) const
virtual

Wave choppiness (0..1)

virtual void DtChangeWeatherCommand::clearChoppiness ( )
virtual

Wave choppiness (0..1)

virtual void DtChangeWeatherCommand::setDepthOffset ( double  depth)
virtual

Depth offset (meters)

virtual double DtChangeWeatherCommand::depthOffset ( ) const
virtual

Depth offset (meters)

virtual bool DtChangeWeatherCommand::depthOffsetSpecified ( ) const
virtual

Depth offset (meters)

virtual void DtChangeWeatherCommand::clearDepthOffset ( )
virtual

Depth offset (meters)

virtual void DtChangeWeatherCommand::setWindFetch ( double  depth)
virtual

Wind Fetch (meters)

virtual double DtChangeWeatherCommand::windFetch ( ) const
virtual

Wind Fetch (meters)

virtual bool DtChangeWeatherCommand::windFetchSpecified ( ) const
virtual

Wind Fetch (meters)

virtual void DtChangeWeatherCommand::clearWindFetch ( )
virtual

Wind Fetch (meters)

virtual void DtChangeWeatherCommand::setSurgeDepth ( double  depth)
virtual

Surge depth (meters)

virtual double DtChangeWeatherCommand::surgeDepth ( ) const
virtual

Surge depth (meters)

virtual bool DtChangeWeatherCommand::surgeDepthSpecified ( ) const
virtual

Surge depth (meters)

virtual void DtChangeWeatherCommand::clearSurgeDepth ( )
virtual

Surge depth (meters)

virtual void DtChangeWeatherCommand::setFogHeight ( double  depth)
virtual

Fog height (meters)

virtual double DtChangeWeatherCommand::fogHeight ( ) const
virtual

Fog height (meters)

virtual bool DtChangeWeatherCommand::fogHeightSpecified ( ) const
virtual

Fog height (meters)

virtual void DtChangeWeatherCommand::clearFogHeight ( )
virtual

Fog height (meters)

virtual void DtChangeWeatherCommand::setFogColor ( const DtVector &  )
virtual

Fog color (x = red, y = green, z = blue)

virtual const DtVector& DtChangeWeatherCommand::fogColor ( ) const
virtual

Fog color (x = red, y = green, z = blue)

virtual bool DtChangeWeatherCommand::fogColorSpecified ( ) const
virtual

Fog color (x = red, y = green, z = blue)

virtual void DtChangeWeatherCommand::clearFogColor ( )
virtual

Fog color (x = red, y = green, z = blue)

virtual void DtChangeWeatherCommand::setBlowingParticulateMatter ( int  )
virtual

Blowing particulate type (0 is none)

virtual int DtChangeWeatherCommand::blowingParticulateMatter ( ) const
virtual

Blowing particulate type (0 is none)

virtual bool DtChangeWeatherCommand::blowingParticulateMatterSpecified ( ) const
virtual

Blowing particulate type (0 is none)

virtual void DtChangeWeatherCommand::clearBlowingParticulateMatter ( )
virtual

Blowing particulate type (0 is none)

virtual void DtChangeWeatherCommand::setSnowAccumulation ( double  snow)
virtual

Snow Accumulation (meters)

virtual double DtChangeWeatherCommand::snowAccumulation ( ) const
virtual

Snow Accumulation (meters)

virtual bool DtChangeWeatherCommand::snowAccumulationSpecified ( ) const
virtual

Snow Accumulation (meters)

virtual void DtChangeWeatherCommand::clearSnowAccumulation ( )
virtual

Snow Accumulation (meters)

virtual void DtChangeWeatherCommand::setSnowMinimumAltitude ( double  snow)
virtual

Snow Minimum Altitude (meters)

virtual double DtChangeWeatherCommand::snowMinimumAltitude ( ) const
virtual

Snow Minimum Altitude (meters)

virtual bool DtChangeWeatherCommand::snowMinimumAltitudeSpecified ( ) const
virtual

Snow Minimum Altitude (meters)

virtual void DtChangeWeatherCommand::clearSnowMinimumAltitude ( )
virtual

Snow Minimum Altitude (meters)

virtual void DtChangeWeatherCommand::setSnowRoadAccumulation ( double  snow)
virtual

Snow Road Accumulation (meters)

virtual double DtChangeWeatherCommand::snowRoadAccumulation ( ) const
virtual

Snow Road Accumulation (meters)

virtual bool DtChangeWeatherCommand::snowRoadAccumulationSpecified ( ) const
virtual

Snow Road Accumulation (meters)

virtual void DtChangeWeatherCommand::clearSnowRoadAccumulation ( )
virtual

Snow Road Accumulation (meters)

virtual void DtChangeWeatherCommand::setRainAccumulation ( double  rain)
virtual

Rain Accumulation (meters)

virtual double DtChangeWeatherCommand::rainAccumulation ( ) const
virtual

Rain Accumulation (meters)

virtual bool DtChangeWeatherCommand::rainAccumulationSpecified ( ) const
virtual

Rain Accumulation (meters)

virtual void DtChangeWeatherCommand::clearRainAccumulation ( )
virtual

Rain Accumulation (meters)

virtual void DtChangeWeatherCommand::setThermoclineLayer1Depth ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer1Depth ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer1DepthSpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer1Depth ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setThermoclineLayer1Permeability ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer1Permeability ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer1PermeabilitySpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer1Permeability ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setThermoclineLayer2Depth ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer2Depth ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer2DepthSpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer2Depth ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setThermoclineLayer2Permeability ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer2Permeability ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer2PermeabilitySpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer2Permeability ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setThermoclineLayer3Depth ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer3Depth ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer3DepthSpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer3Depth ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setThermoclineLayer3Permeability ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer3Permeability ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer3PermeabilitySpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer3Permeability ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setThermoclineLayer4Depth ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer4Depth ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer4DepthSpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer4Depth ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setThermoclineLayer4Permeability ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer4Permeability ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer4PermeabilitySpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer4Permeability ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setThermoclineLayer5Depth ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer5Depth ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer5DepthSpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer5Depth ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setThermoclineLayer5Permeability ( double  depth)
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual double DtChangeWeatherCommand::thermoclineLayer5Permeability ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual bool DtChangeWeatherCommand::thermoclineLayer5PermeabilitySpecified ( ) const
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::clearThermoclineLayer5Permeability ( )
virtual

Thermocline depth (in meters) and permeability (0..1). A depth of zero means that layer is not used.

virtual void DtChangeWeatherCommand::setLightningPresent ( bool  isPresent)
virtual

Lightning Present.

virtual bool DtChangeWeatherCommand::lightningPresent ( ) const
virtual

Lightning Present.

virtual bool DtChangeWeatherCommand::lightningPresentSpecified ( ) const
virtual

Lightning Present.

virtual void DtChangeWeatherCommand::clearLightningPresent ( )
virtual

Lightning Present.

virtual void DtChangeWeatherCommand::setGeneratedByRemoteWeatherSetter ( bool  value)
virtual

Used internally by VRF. This value is set to true if this command was generated by a VRF Sim engine that is not simulating the weather, to communicate weather changes to another sim engine. It defaults to false, and should typically be left as the default.

virtual bool DtChangeWeatherCommand::generatedByRemoteWeatherSetter ( ) const
virtual

Used internally by VRF. This value is set to true if this command was generated by a VRF Sim engine that is not simulating the weather, to communicate weather changes to another sim engine. It defaults to false, and should typically be left as the default.

virtual DtString DtChangeWeatherCommand::stringRep ( ) const
overridevirtual

Text representation of this command.

Implements DtSimCommand.

static DtSimCommand* DtChangeWeatherCommand::creator ( )
static
virtual void DtChangeWeatherCommand::setUUID ( const DtUUID )
virtual

The name of the object to set the weather for. If blank will change global weather.

virtual const DtUUID& DtChangeWeatherCommand::uuid ( ) const
virtual
virtual void DtChangeWeatherCommand::setPriority ( int  p)
virtual

Sets the priority of the weather area. This is unused for global weather.

virtual int DtChangeWeatherCommand::priority ( ) const
virtual
virtual bool DtChangeWeatherCommand::prioritySpecified ( ) const
virtual
virtual void DtChangeWeatherCommand::clearPriority ( )
virtual
virtual void DtChangeWeatherCommand::clearWindLevels ( )
virtual

If altitude is same as a wind level will replace that wind level. altitude of 0 will set default wind speed and direction Call this to remove all wind levels in the specified weather area.

virtual bool DtChangeWeatherCommand::windLevelsSpecified ( ) const
virtual

If altitude is same as a wind level will replace that wind level. altitude of 0 will set default wind speed and direction Call this to remove all wind levels in the specified weather area.

virtual void DtChangeWeatherCommand::clearWindLevelsSpecified ( )
virtual

If altitude is same as a wind level will replace that wind level. altitude of 0 will set default wind speed and direction Call this to remove all wind levels in the specified weather area.

virtual void DtChangeWeatherCommand::setWindLevels ( const DtRwWindLevels )
virtual

Must be exact match.

virtual const DtRwWindLevels& DtChangeWeatherCommand::windLevels ( ) const
virtual

If altitude is same as a wind level will replace that wind level. altitude of 0 will set default wind speed and direction Call this to remove all wind levels in the specified weather area.

virtual DtRwWindLevels& DtChangeWeatherCommand::windLevels ( )
virtual

If altitude is same as a wind level will replace that wind level. altitude of 0 will set default wind speed and direction Call this to remove all wind levels in the specified weather area.

virtual bool DtChangeWeatherCommand::operator== ( const DtChangeWeatherCommand ) const
virtual
virtual bool DtChangeWeatherCommand::operator!= ( const DtChangeWeatherCommand rhs) const
inlinevirtual
virtual void DtChangeWeatherCommand::setAllValuesSpecified ( bool  )
virtual

Sets all values to be specified/not specified.

virtual bool DtChangeWeatherCommand::fromXml ( const DtString s)
overridevirtual

Override to set all values specified.

Reimplemented from DtReaderWriter.

virtual bool DtChangeWeatherCommand::fromXmlFile ( const DtFilename &  )
overridevirtual

Restores object from given xml file.

Reimplemented from DtReaderWriter.

virtual void DtChangeWeatherCommand::getSelf ( DtlObjPtr  args,
const DtReaderWriter::SearchPaths searchPaths,
const DtVariableBindingsList variableBindings 
)
overridevirtual

Override to load old wind speed, visibility and wind direction at altitude 0 values.

Reimplemented from DtReaderWriter.

Member Data Documentation

DtRwReal DtChangeWeatherCommand::myAmbientAirTemperature
protected
DtRwReal DtChangeWeatherCommand::myAmbientAirPressure
protected
DtRwReal DtChangeWeatherCommand::myAirTemperatureAltitude
protected
DtRwReal DtChangeWeatherCommand::myAirPressureAltitude
protected
DtRwBoolean DtChangeWeatherCommand::myAirTemperatureAltitudeIsSeaLevel
protected
DtRwBoolean DtChangeWeatherCommand::myAirPressureAltitudeIsSeaLevel
protected
DtRwReal DtChangeWeatherCommand::mySeaLevelWaterConcentration
protected
DtRwReal DtChangeWeatherCommand::myPrecipitationIntensity
protected
DtRwInt DtChangeWeatherCommand::myPrecipitationType
protected
DtRwInt DtChangeWeatherCommand::myAirTurbulence
protected
DtRwReal DtChangeWeatherCommand::myUnderwaterVisibility
protected
DtRwReal DtChangeWeatherCommand::mySurfaceTransparency
protected
DtRwReal DtChangeWeatherCommand::myWaterCurrentSpeed
protected
DtRwReal DtChangeWeatherCommand::myWaterCurrentDirection
protected
DtRwReal DtChangeWeatherCommand::myAmbientWaterTemperature
protected
DtRwReal DtChangeWeatherCommand::myTidalOffset
protected
DtRwInt DtChangeWeatherCommand::mySwellState
protected
DtRwReal DtChangeWeatherCommand::mySwellStateDirection
protected
DtRwInt DtChangeWeatherCommand::mySeaState
protected
DtRwReal DtChangeWeatherCommand::mySeaStateDirection
protected
DtRwBoolean DtChangeWeatherCommand::myWindDrivenSeaStateEnabled
protected
DtRwReal DtChangeWeatherCommand::myChoppiness
protected
DtRwReal DtChangeWeatherCommand::mySurgeDepth
protected
DtRwReal DtChangeWeatherCommand::myDepthOffset
protected
DtRwReal DtChangeWeatherCommand::myWindFetch
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer1Depth
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer1Permeability
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer2Depth
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer2Permeability
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer3Depth
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer3Permeability
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer4Depth
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer4Permeability
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer5Depth
protected
DtRwReal DtChangeWeatherCommand::myThermoclineLayer5Permeability
protected
DtRwInt DtChangeWeatherCommand::myPriority
protected
DtRwReal DtChangeWeatherCommand::myFogHeight
protected
DtRwVector DtChangeWeatherCommand::myFogColor
protected
DtRwReal DtChangeWeatherCommand::mySnowAccumulation
protected
DtRwReal DtChangeWeatherCommand::mySnowMinimumAltitude
protected
DtRwReal DtChangeWeatherCommand::mySnowRoadAccumulation
protected
DtRwInt DtChangeWeatherCommand::myBlowingParticulateMatter
protected
DtRwReal DtChangeWeatherCommand::myRainAccumulation
protected
DtRwBoolean DtChangeWeatherCommand::myGeneratedByRemoteWeatherSetter
protected
DtRwUUID DtChangeWeatherCommand::myUUID
protected
DtRwWindLevels DtChangeWeatherCommand::myWindLevels
protected
DtRwBoolean DtChangeWeatherCommand::myLightningPresent
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)