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 | Protected Attributes
makVrf::DtLandSurfaceStateComponent Class Reference

Abstract interface for the land surface state component, representing both the next and current frame views of environmental surface data. Accessor/mutator methods throw exceptions until overridden by a concrete frame class.

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

Public Member Functions

 DtLandSurfaceStateComponent (DtStateData *storage)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, snowAccumulation, SnowAccumulation)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, rainAccumulation, RainAccumulation)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, ambientAirPressure, AmbientAirPressure)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, ambientAirTemperature, AmbientAirTemperature)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, airPressureAltitude, AirPressureAltitude)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, airTemperatureAltitude, AirTemperatureAltitude)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, snowMinimumAltitude, SnowMinimumAltitude)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, snowRoadAccumulation, SnowRoadAccumulation)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, seaLevelWaterConcentration, SeaLevelWaterConcentration)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (bool, lightningPresent, LightningPresent)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, fogHeight, FogHeight)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtVector, fogColor, FogColor)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (int, priority, Priority)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (int, blowingParticulateMatter, BlowingParticulateMatter)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, precipitationIntensity, PrecipitationIntensity)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtVrfWeatherPrecipitationType, precipitationType, PrecipitationType)
 
void setIsRemoteComponent (bool b)
 
- Public Member Functions inherited from makVrf::DtFrameStateInterface
 DtFrameStateInterface (DtStateData *)
 
virtual ~DtFrameStateInterface ()
 
void setIsWritable (bool b)
 
bool isWritable () const
 
UInt64 stateId () const
 
UInt64 legionGlobalId () const
 
void setLegionGlobalId (UInt64 d)
 
virtual bool isModified () const
 
virtual void clearModified ()
 
virtual void markModified ()
 
virtual
DtStateComponent::StateComponentType 
type () const
 
virtual
DtStateComponent::StateComponentType 
componentType () const =0
 
virtual const char * stringType () 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 ()
 
void setMarkedForRemoval (bool b)
 
bool markedForRemoval () const
 
bool cleared () const
 
bool advancedFrame () const
 
virtual void frameAdvanced ()
 
virtual void convertToRemote ()
 
virtual void convertToLocal ()
 
virtual void aboutToBeDeleted ()
 

Protected Attributes

bool myIsRemoteComponent = false
 
- Protected Attributes inherited from makVrf::DtFrameStateInterface
bool myIsModified
 
UInt64 myId
 
UInt64 myStateId
 
UInt64 myLegionId
 
bool myIsWritable
 
bool myCleared
 
bool myAdvancedFrame
 
bool myMarkedForRemoval = false
 
DtStateData * myStateData
 

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 ()
 

Constructor & Destructor Documentation

makVrf::DtLandSurfaceStateComponent::DtLandSurfaceStateComponent ( DtStateData *  storage)
inline

Constructs the interface with the given state data storage.

Parameters
storagePointer to the owning state data storage.

Member Function Documentation

makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
snowAccumulation  ,
SnowAccumulation   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
rainAccumulation  ,
RainAccumulation   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
ambientAirPressure  ,
AmbientAirPressure   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
ambientAirTemperature  ,
AmbientAirTemperature   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
airPressureAltitude  ,
AirPressureAltitude   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
airTemperatureAltitude  ,
AirTemperatureAltitude   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
snowMinimumAltitude  ,
SnowMinimumAltitude   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
snowRoadAccumulation  ,
SnowRoadAccumulation   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
seaLevelWaterConcentration  ,
SeaLevelWaterConcentration   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( bool  ,
lightningPresent  ,
LightningPresent   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
fogHeight  ,
FogHeight   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( DtVector  ,
fogColor  ,
FogColor   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( int  ,
priority  ,
Priority   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( int  ,
blowingParticulateMatter  ,
BlowingParticulateMatter   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( double  ,
precipitationIntensity  ,
PrecipitationIntensity   
)
makVrf::DtLandSurfaceStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR ( DtVrfWeatherPrecipitationType  ,
precipitationType  ,
PrecipitationType   
)
void makVrf::DtLandSurfaceStateComponent::setIsRemoteComponent ( bool  b)
inline

Sets whether this component represents state from a remote (networked) entity.

Parameters
bTrue if the component is from a remote entity, false otherwise.

Member Data Documentation

bool makVrf::DtLandSurfaceStateComponent::myIsRemoteComponent = false
protected

True if this state component represents data from a remote (networked) entity.


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)