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 | Public Attributes
makVrf::DtLocationStateComponent Class Reference

The DtLocationStateComponent interface contains the interface that all DtLocationStateComponents can implement but don't need to. Those methods that are not implemented will throw an exception. For example the acceleration, velocity (movement) methods might not be implemented by environmental processes, but, they are here to allow the code to more generally use a location component.

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

Public Member Functions

 DtLocationStateComponent (DtStateData *sd)
 
- 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 ()
 

Static Public Member Functions

static
DtStateComponent::StateComponentType 
ComponentType ()
 
static const char * StringType ()
 

Public Attributes

boost::signals2::signal< void(const
DtFrameStateInterface *, const
DtUUID &oldUUID, const DtUUID
&newUUID)> 
signal_hostChanged
 
- Public Attributes inherited from makVrf::DtFrameStateInterface
boost::signals2::signal< void(DtFrameStateInterface *)> signal_stateComponentAboutToBeDeleted
 
boost::signals2::signal< void(const
DtFrameStateInterface *)> 
signal_componentModified
 

Additional Inherited Members

- Protected Member Functions inherited from makVrf::DtFrameStateInterface
virtual void makeWritable ()
 
virtual void makeReadOnly ()
 
- 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
 

Constructor & Destructor Documentation

makVrf::DtLocationStateComponent::DtLocationStateComponent ( DtStateData *  sd)

Constructs the location state component and associates it with the given state data.

Parameters
sdThe state data object this component belongs to.

Member Function Documentation

static DtStateComponent::StateComponentType makVrf::DtLocationStateComponent::ComponentType ( )
inlinestatic
Returns
The StateComponentType enum value identifying this as a LocationStateComponent.

References makVrf::DtStateComponent::LocationStateComponent.

static const char* makVrf::DtLocationStateComponent::StringType ( )
inlinestatic
Returns
The string type identifier "LocationStateComponent".

Member Data Documentation

boost::signals2::signal<void (const DtFrameStateInterface*, const DtUUID& oldUUID, const DtUUID& newUUID)> makVrf::DtLocationStateComponent::signal_hostChanged
mutable

Global identifier (UUID) of the host entity that owns this component.

Attachment mode of the object (e.g. attached-to-parent vs independent). Full kinematic state (position, velocity, acceleration) of the entity. Whether the entity's location changed during the last advance-frame. Geocentric position of the entity in world coordinates (metres, XYZ). Orientation of the entity expressed as Tait-Bryan (heading/pitch/roll) angles. Entity position in the Earth-centred world coordinate frame. Entity orientation relative to the local topographic (NED) frame. Entity orientation in the world coordinate frame as Tait-Bryan angles. Entity orientation in the world coordinate frame as a direction cosine matrix. Entity position in the local (database/terrain) coordinate frame. Entity orientation in the local coordinate frame as Tait-Bryan angles. Entity orientation in the local coordinate frame as a direction cosine matrix. Entity orientation relative to the local coordinate frame expressed with respect to the database axes. Roll angle of the entity (radians). Pitch angle of the entity (radians). Heading (yaw) angle of the entity (radians). Orientation of the parent entity in the world frame as a direction cosine matrix. Orientation of the parent entity in the world frame as Tait-Bryan angles. Position of this entity relative to its parent entity. Position of the parent entity in the world coordinate frame. Whether the local position has been computed and is valid. Whether the entity's position is frozen (prevented from updating). Sets the entity orientation in the local frame via a direction cosine matrix. Sets the entity orientation in the local frame via Tait-Bryan angles. Sets the entity orientation relative to the local frame expressed with respect to the database axes. Sets the position of the parent entity in the world coordinate frame. Sets the orientation of the parent entity in the world frame via Tait-Bryan angles. Sets the entity position in the local coordinate frame. Sets the entity position in the Earth-centred world coordinate frame. Sets the entity orientation in the world frame via Tait-Bryan angles. Sets the entity orientation in the world frame via a direction cosine matrix. Sets the full kinematic state (position, velocity, acceleration) of the entity. Signal emitted when, during advance frame, the host of this item has changed


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)