14 #include <vlutil/vlMachineTypes.h>
64 virtual const int humanStateRepositorySubType()
const;
70 virtual void setAssignedPosture(DtLifeformState newPosture);
71 virtual DtLifeformState assignedPosture()
const;
74 virtual void setHeadingToTurnTo(
double);
75 virtual double headingToTurnTo()
const;
78 virtual void setTurnToMode(
int);
79 virtual int turnToMode()
const;
82 virtual DtVector localEyepoint()
const;
86 virtual void setCurrentPosture (DtLifeformState newPosture);
89 virtual void setAssignedWeaponState(DtWeaponState newWeaponState);
90 virtual DtWeaponState assignedWeaponState()
const;
93 virtual DtWeaponState currentWeaponState()
const;
94 virtual void setCurrentWeaponState (DtWeaponState newWeaponState);
104 bool* dataAvailable = 0,
bool requireAllData =
false);
113 virtual void calculateBodyEyepointOffset(DtLifeformState posture,
114 DtVector& bodyEyepointOffset)
const;
118 virtual bool uprightPosture(DtLifeformState posture)
const;
122 virtual bool staticPosture(DtLifeformState posture)
const;
126 virtual bool movingPosture(DtLifeformState posture)
const;
149 virtual void initializePosture();
virtual void embarkedParentDeleted()
Called when the embarked parent is deleted.
Contains the DtVrfMovingObjectStateRepository class declaration.
virtual bool init()
Our 'virtual' constructor. Calls all the create<>() methods.
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:31
Description: This repository holds all information that is common to all the forms of humans within t...
Definition: humanStateRepository.h:33
DtRwIndividualLifeFormWeaponStateType myCurrentWeaponState
Definition: humanStateRepository.h:156
virtual void initializeFromParameters()
static DtVrfObjectStateRepository * creator(const DtString &name, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
DtVrfMovingObjectStateRepository & operator=(const DtVrfMovingObjectStateRepository &orig)
Assignment Operator.
Definition: simObjectStateRepository.h:59
Definition: readerWriterRegistry.h:39
virtual const int vrfMovingObjectStateRepositorySubType() const
Returns DtVrfMovingObjectStateRepositorySubTypeBase.
Description: This repository is an internal repository accessible only by local objects. It holds all information that is common to all the forms of all entity/aggregate/control objects within VR-Forces.
Definition: vrfObjectStateRepository.h:90
DtHumanLocalObjectFacade myHumanLocalObjectFacade
Definition: humanStateRepository.h:159
virtual DtString type() const
returns DtSimObjectStateRepositoryType
DtRwIndividualLifeFormWeaponStateType myAssignedWeaponState
Definition: humanStateRepository.h:155
static VRF4API_METHOD DtHumanStateRepository * isHumanStateRepository(DtSimObjectStateRepository *rep)
These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header fi...
Definition: humanStateRepository.h:169
DtRwIndividualLifeFormStateType myAssignedPosture
Definition: humanStateRepository.h:153
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual void clampToGround(const DtVector &location, const DtReal heading, bool *dataAvailable=0, bool requireAllData=false)
Place entity on ground at location and heading. Calls clampToGround with gravity of false...
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwIndividualLifeFormStateType myCurrentPosture
Definition: humanStateRepository.h:154
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtHumanParameters; used to hold all of the configurable parameters for the DtIndividualLifeFormStateR...
Definition: humanParameters.h:28
DtRwInt myTurnToMode
Definition: humanStateRepository.h:158
DtRwReal myHeadingToTurnTo
Definition: humanStateRepository.h:157
virtual void postGetSelf()
Hook function called immediately following getSelf().
const T_SRType * as() const
Convenience function to cast to particular state rep type.
Definition: simObjectStateRepository.h:101
virtual void preGetSelf()
Hook function called immediately prior to getSelf().
virtual void restoreFromLegacyRWData()
#define VRF4API_METHOD
Include this header file to allow for the definition/usage of the ability to mark something as deprec...
Definition: vrf4XAPI.h:22
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86