14 #include <vlutil/vlMachineTypes.h>
45 virtual bool init()
override;
54 virtual const int culturalFeatureStateRepositorySubType()
const;
63 virtual bool gravityAligned()
const;
64 virtual void setGravityAligned(
bool);
74 bool* dataAvailable = 0,
bool requireAllData =
false)
override;
77 virtual void tick()
override;
Contains the DtVrfMovingObjectStateRepository class declaration.
virtual bool init() override
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
The DtSimObjectReference is a shared pointer that can be used amongst many object for access to the u...
Definition: simObjectReference.h:26
static DtVrfObjectStateRepository * creator(const DtString &name, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
DtVrfMovingObjectStateRepository & operator=(const DtVrfMovingObjectStateRepository &orig)
Assignment Operator.
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:92
Description: This repository holds all information that is common to all the forms of cultural featur...
Definition: culturalFeatureStateRepository.h:22
virtual bool attachToParent(const DtUUID &parent) override
Looks up the parent state repository using the given echelon ID and puts it in a call to attachToPare...
#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...
virtual void tick() override
Tick function.
DtRwBoolean myGravityAligned
Definition: culturalFeatureStateRepository.h:80
virtual void initializeFromParameters() override
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
virtual DtString type() const override
returns DtSimObjectStateRepositoryType
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