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::DtEntityLocationStateComponentData Struct Reference

Plain-old-data container for entity location state fields used in double-buffering.

Stores attachment, spatial-freeze, dead-reckoning thresholder, station name, and embark check flag. The struct is copyable and assignable so that advanceFrame() can cheaply snapshot state each tick.

Public Member Functions

 DtEntityLocationStateComponentData ()
 
 DtEntityLocationStateComponentData (const DtEntityLocationStateComponentData &orig)
 
DtEntityLocationStateComponentData & operator= (const DtEntityLocationStateComponentData &rhs)
 

Protected Attributes

DtUUID myHostGlobalId
 
bool mySpatiallyFrozen
 
DtThresholder myThresholder
 
DtStationName myStationName
 
bool myNeedsEmbarkCheck
 

Constructor & Destructor Documentation

makVrf::DtEntityLocationStateComponentData::DtEntityLocationStateComponentData ( )
inline

Constructs a default-initialized data block.

mySpatiallyFrozen is false, myHostGlobalId is the null UUID, myStationName is DtOnStation_XYZ, and myNeedsEmbarkCheck is false.

makVrf::DtEntityLocationStateComponentData::DtEntityLocationStateComponentData ( const DtEntityLocationStateComponentData &  orig)
inline

Copy constructor. Performs a member-wise deep copy of orig.

Parameters
origThe source data block to copy from.

Member Function Documentation

DtEntityLocationStateComponentData& makVrf::DtEntityLocationStateComponentData::operator= ( const DtEntityLocationStateComponentData &  rhs)
inline

Assignment operator. Performs a member-wise deep copy of rhs.

Parameters
rhsThe source data block to copy from.
Returns
A reference to this object after assignment.

References myHostGlobalId, myNeedsEmbarkCheck, mySpatiallyFrozen, myStationName, and myThresholder.

Member Data Documentation

DtUUID makVrf::DtEntityLocationStateComponentData::myHostGlobalId
protected

Accessor/mutator for the UUID of the host (parent) entity when embarked.

Accessor/mutator for the spatial-freeze flag (suppresses velocity/acceleration returns to zero). Read-only accessor and mutable accessor for the dead-reckoning thresholder settings. Accessor/mutator for the station name used when attached to a parent entity. Accessor/mutator for the flag indicating that an embarkation check is pending. UUID of the host (parent) entity; null when not embarked.

Referenced by operator=().

bool makVrf::DtEntityLocationStateComponentData::mySpatiallyFrozen
protected

When true, velocity and acceleration accessors return zero vectors.

Referenced by operator=().

DtThresholder makVrf::DtEntityLocationStateComponentData::myThresholder
protected

Dead-reckoning threshold settings (translation, rotation, aggregate dimension).

Referenced by operator=().

DtStationName makVrf::DtEntityLocationStateComponentData::myStationName
protected

Station name used to describe the attachment point on the parent entity.

Referenced by operator=().

bool makVrf::DtEntityLocationStateComponentData::myNeedsEmbarkCheck
protected

Pending flag set when embarkation state may have changed and requires reconciliation.

Referenced by operator=().


The documentation for this struct 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)