![]() |
VR-Forces Developer's Guide
|
In order to be a well defined state component, you must:
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)

Public Member Functions | |
| 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 (const DtStateData *) | |
| virtual | ~DtFrameStateInterface () |
| void | setIsWritable (bool b) |
| bool | isWritable () const |
| UInt64 | stateId () const |
| UInt64 | legionGlobalId () const |
| void | setLegionGlobalId (UInt64 d) |
| bool | isModified () const |
| void | clearModified () |
| void | markModified () |
| virtual DtStateComponent::StateComponentType | type () const |
| virtual DtStateComponent::StateComponentType | componentType () 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 () |
| bool | cleared () const |
| bool | advancedFrame () const |
| virtual void | frameAdvanced () |
| virtual void | convertToRemote () |
| virtual void | convertToLocal () |
| virtual void | aboutToBeDeleted () |
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 () |
Protected Attributes inherited from makVrf::DtFrameStateInterface | |
| bool | myIsModified |
| UInt64 | myId |
| UInt64 | myStateId |
| UInt64 | myLegionId |
| bool | myIsWritable |
| bool | myCleared |
| bool | myAdvancedFrame |
|
inline |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtString | , |
| diguyAppearance | , | ||
| DiguyAppearance | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtString | , |
| diguyType | , | ||
| DiguyType | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtString | , |
| diguyHeadAppearance | , | ||
| DiguyHeadAppearance | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtString | , |
| diguyItemAppearance | , | ||
| DiguyItemAppearance | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtPatchIdentifier | , |
| diguyPrimaryUnitPatch | , | ||
| DiguyPrimaryUnitPatch | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtPatchIdentifier | , |
| diguySecondaryUnitPatch | , | ||
| DiguySecondaryUnitPatch | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtPatchIdentifier | , |
| diguyRankPatch | , | ||
| DiguyRankPatch | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtString | , |
| diguyCharacterName | , | ||
| DiguyCharacterName | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtString | , |
| diguyAction | , | ||
| DiguyAction | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | double | , |
| bodyWeight | , | ||
| BodyWeight | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | bool | , |
| diguyUsingAnimationOffset | , | ||
| DiguyUsingAnimationOffset | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | DtVector | , |
| diguyAnimationOffset | , | ||
| DiguyAnimationOffset | |||
| ) |
| makVrf::DtHumanStateComponent::UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR | ( | float | , |
| diguyTransitionSpeed | , | ||
| DiguyTransitionSpeed | |||
| ) |
|
inlinevirtual |
Reimplemented in makVrf::DtHumanStateComponentNextFrame.