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::DtHumanStateComponentCurrentFrame Class Reference

Read-access implementation of DtHumanStateComponent for the current simulation frame. Backed by read-only Legion repositories; provides getters that return live committed state values.

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

Public Member Functions

 DtHumanStateComponentCurrentFrame (DtStateData *)
 
virtual ~DtHumanStateComponentCurrentFrame () override
 
virtual const DtString diguyAppearance () const override
 
virtual const DtString diguyType () const override
 
virtual const DtString diguyHeadAppearance () const override
 
virtual const DtString diguyItemAppearance () const override
 
virtual const DtPatchIdentifier diguyPrimaryUnitPatch () const override
 
virtual const DtPatchIdentifier diguySecondaryUnitPatch () const override
 
virtual const DtPatchIdentifier diguyRankPatch () const override
 
virtual const DtString diguyCharacterName () const override
 
virtual const DtString diguyAction () const override
 
virtual const double bodyWeight () const override
 
virtual const bool diguyUsingAnimationOffset () const override
 
virtual const DtVector diguyAnimationOffset () const override
 
virtual const float diguyTransitionSpeed () const override
 
bool readComponentValid () const
 
bool findReadComponent ()
 
- Public Member Functions inherited from makVrf::DtHumanStateComponent
 DtHumanStateComponent (DtStateData *sd)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtString, diguyAppearance, DiguyAppearance)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtString, diguyType, DiguyType)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtString, diguyHeadAppearance, DiguyHeadAppearance)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtString, diguyItemAppearance, DiguyItemAppearance)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtPatchIdentifier, diguyPrimaryUnitPatch, DiguyPrimaryUnitPatch)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtPatchIdentifier, diguySecondaryUnitPatch, DiguySecondaryUnitPatch)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtPatchIdentifier, diguyRankPatch, DiguyRankPatch)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtString, diguyCharacterName, DiguyCharacterName)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtString, diguyAction, DiguyAction)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (double, bodyWeight, BodyWeight)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (bool, diguyUsingAnimationOffset, DiguyUsingAnimationOffset)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (DtVector, diguyAnimationOffset, DiguyAnimationOffset)
 
 UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR (float, diguyTransitionSpeed, DiguyTransitionSpeed)
 
virtual void setDiguyType (const DtString &newType, const DtString &newAppearance)
 
- 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

VRF::ReadDIGuyAppearanceRepository myReadHumanComponent
 
LOM::ReadLifeformRepository myReadLifeformRepository
 
- 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::DtHumanStateComponentCurrentFrame::DtHumanStateComponentCurrentFrame ( DtStateData *  )

Constructs the current-frame state associated with the given state data.

Parameters
sdThe state data object this component belongs to.
virtual makVrf::DtHumanStateComponentCurrentFrame::~DtHumanStateComponentCurrentFrame ( )
overridevirtual

Destructor.

Member Function Documentation

virtual const DtString makVrf::DtHumanStateComponentCurrentFrame::diguyAppearance ( ) const
overridevirtual
Returns
The DI-Guy appearance string identifier.
virtual const DtString makVrf::DtHumanStateComponentCurrentFrame::diguyType ( ) const
overridevirtual
Returns
The DI-Guy character type string.
virtual const DtString makVrf::DtHumanStateComponentCurrentFrame::diguyHeadAppearance ( ) const
overridevirtual
Returns
The DI-Guy head/hat appearance override string.
virtual const DtString makVrf::DtHumanStateComponentCurrentFrame::diguyItemAppearance ( ) const
overridevirtual
Returns
The DI-Guy hand-item appearance string.
virtual const DtPatchIdentifier makVrf::DtHumanStateComponentCurrentFrame::diguyPrimaryUnitPatch ( ) const
overridevirtual
Returns
The primary unit patch identifier worn by the human figure.
virtual const DtPatchIdentifier makVrf::DtHumanStateComponentCurrentFrame::diguySecondaryUnitPatch ( ) const
overridevirtual
Returns
The secondary unit patch identifier worn by the human figure.
virtual const DtPatchIdentifier makVrf::DtHumanStateComponentCurrentFrame::diguyRankPatch ( ) const
overridevirtual
Returns
The rank patch identifier worn by the human figure.
virtual const DtString makVrf::DtHumanStateComponentCurrentFrame::diguyCharacterName ( ) const
overridevirtual
Returns
The individual character name assigned to this human figure.
virtual const DtString makVrf::DtHumanStateComponentCurrentFrame::diguyAction ( ) const
overridevirtual
Returns
The current DI-Guy animation action string.
virtual const double makVrf::DtHumanStateComponentCurrentFrame::bodyWeight ( ) const
overridevirtual
Returns
The body-weight scalar for the human figure (1.0 is nominal).
virtual const bool makVrf::DtHumanStateComponentCurrentFrame::diguyUsingAnimationOffset ( ) const
overridevirtual
Returns
True if an animation position offset is applied to the human figure.
virtual const DtVector makVrf::DtHumanStateComponentCurrentFrame::diguyAnimationOffset ( ) const
overridevirtual
Returns
The world-space animation position offset applied to the human figure.
virtual const float makVrf::DtHumanStateComponentCurrentFrame::diguyTransitionSpeed ( ) const
overridevirtual
Returns
The animation blend transition speed.
bool makVrf::DtHumanStateComponentCurrentFrame::readComponentValid ( ) const

Returns true if both the DI-Guy appearance and lifeform read repositories are valid.

bool makVrf::DtHumanStateComponentCurrentFrame::findReadComponent ( )

Locates and binds the read repositories from the current-frame Legion state.

Returns
True if both repositories were successfully found and bound.

Member Data Documentation

VRF::ReadDIGuyAppearanceRepository makVrf::DtHumanStateComponentCurrentFrame::myReadHumanComponent
protected

Read-only Legion repository for DI-Guy appearance data.

LOM::ReadLifeformRepository makVrf::DtHumanStateComponentCurrentFrame::myReadLifeformRepository
protected

Read-only Legion repository for lifeform (body weight) data.


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)