VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtVrfObjectStateRepository Class Reference

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.

Related Examples
Inheritance diagram for DtVrfObjectStateRepository:
Inheritance graph
[legend]

Public Types

typedef std::map< int, DtStringExtendedLabels
 
typedef std::map< DtString,
DtString
ExtendedData
 
typedef std::map< DtString,
std::map< DtString,
DtRwJoystickControl > > 
JoystickControls
 
- Public Types inherited from DtSimObjectStateRepository
typedef DtSimObjectStateRepository DtSimKinematicState
 
typedef DtSimObjectStateRepository DtVrfSimKinematicState
 
- Public Types inherited from DtReaderWriter
typedef std::vector
< DtSymbolString
aliasContainer
 
typedef std::vector
< DtSymbolString >::iterator 
aliasIter
 
typedef std::vector
< DtSymbolString >
::const_iterator 
aliasConstIter
 
typedef std::vector< DtFilename > SearchPaths
 
typedef std::pair
< DtSymbolString, DtString
DtVariableNameType
 
typedef DtReaderWriterFactory *(* DtReaderWriterFactoryCreatorFcn )()
 

Public Member Functions

 DtVrfObjectStateRepository (DtLocalObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=nullptr)
 
virtual ~DtVrfObjectStateRepository () override
 
virtual DtString type () const override
 
virtual const int objectStateRepositorySubType () const override
 
virtual const int vrfObjectStateRepositorySubType () const
 
virtual bool init () override
 
virtual void initializeFromParameters ()
 
virtual void setJoystickMovementControlled (bool)
 
virtual bool joystickMovementControlled () const
 
virtual
DtVrfStateRepositoryUserExtension
userExtension () const
 
virtual void restoreEntity ()
 
virtual void resolveResourcesAfterLoad (const DtSimResourceManager &)
 
virtual void restoreResourcesFromParameters ()
 
virtual void upgradeFromImport ()
 
virtual bool isContactHostile (DtRwSensorContactInfo *) const
 
virtual bool isContactHostile (const DtSimObject *) const
 
virtual bool isContactHostile (const DtVector &location, int perceivedForce) const
 
virtual bool inSOR (const DtSimObject *entity) const
 
virtual bool canFireAt (const DtVector &location) const
 
virtual bool hasTasks () const
 
virtual void clearCurrentTaskMsg (const DtSymbolString &componentName)
 
virtual void clearCurrentTaskMsg (const DtSymbolString &componentName, int taskId)
 
virtual const DtTaskStatusListtaskStatusList () const
 
virtual DtTaskStatusListtaskStatusList ()
 
virtual std::string taskStatusListPrintString () const
 
virtual DtSuspendedTaskStatusListsuspendedTaskStatusList ()
 
virtual std::string suspendedTaskListPrintString () const
 
virtual DtTaskMessagetaskByType (const DtSimTaskMessageType &task) const
 
virtual DtTaskMessagecurrentTaskMsg (const DtSymbolString &componentName) const
 
virtual DtTaskMessagecurrentTaskMsg (const DtSymbolString &componentName, int taskId) const
 
virtual std::list
< DtTaskMessage * > 
allCurrentTaskMsg (const DtSymbolString &componentName) const
 
virtual void setReinitializing (bool)
 
bool reinitializing () const
 
virtual bool placePoints (const DtAttachedTerrain &attachedTerrain, std::vector< DtGroundInteractionPt * > groundInteractionPts, bool *terrainDataAvailable=nullptr) const
 
virtual void updateSupportPoints (const DtVector &newPosition, const DtReal newHeading)
 
virtual void tick ()
 
virtual void timedTick ()
 
virtual void setMinTickPeriod (double minTickPeriod)
 
virtual double minTickPeriod () const
 
virtual void setMinTickPeriodVariance (double minTickPeriodVariance)
 
virtual double minTickPeriodVariance () const
 
virtual void setNextTickTime (double nextTickTime)
 
virtual double nextTickTime () const
 
virtual double calculateNextTickTime () const
 
virtual bool createProcessStateRepositoryManager ()
 
virtual DtVrfWeaponPSRfirstWeaponPSR () const
 
virtual void processObjectGeometry (const DtList &vertices)
 
virtual void processObjectGeometry (const DtLocalVertexList &vertices)
 
virtual void processObjectGeometry ()
 
virtual DtGroundInteractionPtgroundCenter ()
 
virtual const
DtGroundInteractionPt
groundCenter () const
 
virtual void place (const DtVector &location, bool *dataAvailable=nullptr, bool requireAllData=false)
 
virtual void place (const DtReal heading, bool *dataAvailable=nullptr, bool requireAllData=false)
 
virtual void place (const DtVector &location, const DtReal heading, bool clampToGroundFlag=true, bool *dataAvailable=nullptr, bool requireAllData=false)
 
virtual void reclampToGround ()
 
virtual DtReal mass () const
 
virtual void setMass (const DtReal mass)
 
virtual DtTime lastTimeFiredUpon () const
 
virtual void setLastTimeFiredUpon (const DtTime time)
 
virtual bool systemEnabled (const DtString &systemName) const
 
virtual void setSystemEnabled (const DtString &systemName, bool enabled)
 
virtual const
DtRwPriorityTargetListMap
targetPriorityList () const
 
virtual DtRwPriorityTargetListMaptargetPriorityList ()
 
virtual void setTargetPriorityList (const DtRwPriorityTargetListMap &targetPriorityList)
 
virtual void appendToTargetPriorityList (const DtRwPriorityTargetListMap &targetPriorityList)
 
virtual int targetPriorityLevel (const DtUUID &obj) const
 
virtual const DtStringnonLethalDamageEffect () const
 
virtual void setNonLethalDamageEffect (const DtString &nonLethalDamageEffect)
 
virtual void getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override
 
virtual int nextTaskId ()
 
virtual int nextSuspendId ()
 
virtual DtTaskMessagependingSubtask (int subtaskId, DtString &controller) const
 
virtual bool taskedBySuperiorUponTaskComplete () const
 
virtual void setParentWasDestroyedWhenEmbarked (bool)
 
virtual bool parentWasDestroyedWhenEmbarked () const
 
virtual void detachFromParent () override
 
virtual bool attachToParent (const DtUUID &parent) override
 
virtual bool attachToParent (DtSimObjectReference parent) override
 
DtVector localBoundingVolumeCenterPosition () const
 
virtual void restoreStateProperties ()
 
virtual void initStatePropertiesNotToBeRestored ()
 
virtual void updateCachedStateProperties ()
 
virtual double sensorSignature (const DtSymbolString &sensorDomain) const
 
virtual std::list< DtSymbolStringsensorSignatureDomains () const
 
virtual DtString stringFromExtendedData (const DtString &) const
 
virtual const DtAttachedTerrainterrainAttachedTo () const
 
virtual VRF4API_METHOD void setConcealed (bool)
 
virtual VRF4API_METHOD void setPowerPlantOn (bool)
 
VRF4API_METHOD bool powerPlantOn () const
 
virtual VRF4API_METHOD void setFrozen (bool)
 
VRF4API_METHOD bool frozen () const
 
virtual VRF4API_METHOD void setInvisible (bool)
 
virtual VRF4API_METHOD bool invisible () const
 
virtual VRF4API_METHOD void setHasPlan (bool)
 
VRF4API_METHOD bool hasPlan () const
 
virtual VRF4API_METHOD void setExecutingPlan (bool)
 
VRF4API_METHOD bool executingPlan () const
 
virtual VRF4API_METHOD void setInvulnerable (bool)
 
virtual VRF4API_METHOD bool invulnerable () const
 
virtual VRF4API_METHOD void setUndetectable (bool)
 
virtual VRF4API_METHOD bool undetectable () const
 
virtual VRF4API_METHOD void setInvisibleSetByUser (bool)
 
virtual VRF4API_METHOD bool invisibleSetByUser () const
 
VRF4API_METHOD bool sensorsKilled () const
 
VRF4API_METHOD void setSensorsKilled (bool sensorsKilled)
 
VRF4API_METHOD void addSubordinate (const DtSimObject *subordinateEntity)
 
VRF4API_METHOD void removeSubordinate (const DtSimObject *subordinateEntity)
 
virtual VRF4API_METHOD
DtSimObjectReference 
leadEntity ()
 
virtual VRF4API_METHOD
DtSimObjectReference 
firstSubordinate ()
 
virtual VRF4API_METHOD
DtSimObjectReference 
lastSubordinate ()
 
virtual VRF4API_METHOD
DtSimObjectReference 
firstHealthySubordinate ()
 
virtual VRF4API_METHOD bool underFire () const
 
virtual VRF4API_METHOD void setUnderFire (bool underFire)
 
virtual VRF4API_METHOD void setIsTasked (bool)
 
VRF4API_METHOD bool isTasked () const
 
virtual VRF4API_METHOD const
DtString 
engagementRules () const
 
virtual VRF4API_METHOD void setEngagementRules (const DtString &engagementRules)
 
virtual VRF4API_METHOD void setupExtendedDataFromParameterData ()
 
virtual VRF4API_METHOD void appendExtendedData (const std::map< DtString, DtString > &)
 
VRF4API_METHOD bool fuelLevelsFrozen () const
 
VRF4API_METHOD bool munitionLevelsFrozen () const
 
VRF4API_METHOD bool firePowerDisabled () const
 
VRF4API_METHOD const
DtVrfObjectParameters
parameters () const
 
virtual VRF4API_METHOD void addRangeItem (const DtRangeItem &)
 
virtual VRF4API_METHOD void removeRangeItem (int index)
 
virtual VRF4API_METHOD void setRangeItems (const DtRangeItems &)
 
VRF4API_METHOD const DtRangeItemsrangeItems () const
 
VRF4API_METHOD DtRangeItemsrangeItems ()
 
virtual VRF4API_METHOD void clearRangeItems ()
 
VRF4API_METHOD const DtSimObjectparent () const
 
virtual void addJoystickControls (const DtRwJoystickControls &)
 
virtual const JoystickControlsjoystickControls () const
 
virtual const
DtSimResourceManager
resourceManager () const
 
virtual DtSimResourceManagerresourceManager ()
 
virtual void setNavigationEnabled (bool)
 
virtual bool navigationEnabled () const
 
virtual void setSOR (DtReal center, DtReal size)
 
virtual DtReal SORSize () const
 
virtual DtReal SORCenter () const
 
virtual const DtSimSectorSOR () const
 
virtual void setRequestTaskNeeded (bool value)
 
virtual bool requestTaskNeeded () const
 
virtual void setCurrentTaskMsg (const DtSymbolString &componentName, const DtTaskMessage &taskMsg)
 
virtual void setCurrentTaskMsg (const DtSymbolString &componentName, const DtTaskMessage &taskMsg, int taskId)
 
virtual void processSimObjectDeleted (const DtSimObject *pRemovedObject) override
 
virtual DtSimulationServicessimulationServices ()
 
virtual const
DtSimulationServices
simulationServices () const
 
virtual DtPhysicalWorldphysicalWorld ()
 
virtual const DtPhysicalWorldphysicalWorld () const
 
virtual const
DtVrfProcessStateRepositoryManager
systemProcessStateRepositoryManager () const
 
virtual
DtVrfProcessStateRepositoryManager
systemProcessStateRepositoryManager ()
 
virtual const DtUUIDoccupyingObjectId () const
 
virtual void setOccupyingObjectId (const DtUUID &objId)
 
virtual int spawningTaskId (int subtaskId) const
 
virtual void addPendingSubtaskId (const DtSymbolString &componentName, int subtaskId)
 
virtual void addPendingSubtaskId (const DtSymbolString &componentName, int taskId, int subtaskId)
 
virtual bool findPendingSubtaskId (const DtSymbolString &componentName, int subtaskId)
 
virtual bool isSubtasked (const DtSymbolString &componentName) const
 
virtual bool findPendingSubtaskId (const DtSymbolString &componentName, int taskId, int subtaskId)
 
virtual void removePendingSubtaskId (const DtSymbolString &componentName, int subtaskId)
 
virtual void removePendingSubtaskId (const DtSymbolString &componentName, int taskId, int subtaskId)
 
virtual void removeAllPendingSubtaskIds (const DtSymbolString &componentName)
 
virtual void removeAllPendingSubtaskIds (const DtSymbolString &componentName, int taskId)
 
virtual void removeInactiveSubtaskStatus (const DtSymbolString &componentName)
 
virtual void removeInactiveSubtaskStatus (const DtSymbolString &componentName, int taskId)
 
virtual void printPendingSubtaskIds (const DtSymbolString &componentName) const
 
virtual std::vector< intcurrentPendingSubstaskIds (const DtSymbolString &componentName) const
 
virtual std::vector< intcurrentPendingSubstaskIds (const DtSymbolString &componentName, int taskId) const
 
virtual DtSubtaskStatusEntrypendingSubtaskStatus (const DtSymbolString &componentName, int subtaskId)
 
virtual DtSubtaskStatusEntrypendingSubtaskStatus (const DtSymbolString &componentName, int taskId, int subtaskId)
 
void setCurrentHeading (const DtReal heading)
 
virtual const
DtRwNLengthUUIDVector
engagementZones () const
 
virtual void setEngagementZones (const DtRwNLengthUUIDVector &)
 
Internal State Properties

Internal state properties function similarly to state properties, except that they are only accessible to this entity. As a result, there is no need to store them in the state data. This improves overall performance of the advance frame step. It is advised that internal state properties be grouped with other properties that are part of the same functionality in a "context", which can be thought of as similar to a namespace. This allows two different areas of functionality to independently pick property names without fear of overwriting each other. It is also possible to add global properties outside of a context, but this is not recommended.

virtual const DtRwPropertiesinternalStateProperties (const DtString &context) const
 
virtual DtRwPropertiesinternalStateProperties (const DtString &context)
 
virtual const DtRwPropertiesinternalStateProperties () const
 
virtual DtRwPropertiesinternalStateProperties ()
 
virtual void setTasked (const DtSymbolString &componentName, bool tasked)
 
virtual void setTasked (const DtSymbolString &componentName, int taskID, bool tasked)
 
virtual bool tasked (const DtSymbolString &componentName) const
 
virtual DtSensorContactInfoListobjectContactList ()
 
virtual const
DtSensorContactInfoList
objectContactList () const
 
virtual DtWeaponInfoListweaponInfoList ()
 
virtual const DtWeaponInfoListweaponInfoList () const
 
virtual void setUserTarget (const DtUUID &target)
 
virtual DtUUID userTarget () const
 
virtual VRF4API_METHOD void setDestroyed (bool isDestroyed)
 
virtual VRF4API_METHOD void setDamageState (int)
 
virtual VRF4API_METHOD const int damageState () const
 
virtual VRF4API_METHOD int damageState ()
 
virtual VRF4API_METHOD bool isDestroyed () const
 
virtual VRF4API_METHOD const
DtAppearance 
appearance () const
 
virtual VRF4API_METHOD const
unsigned int 
appearanceBits () const
 
virtual VRF4API_METHOD unsigned int appearanceBits ()
 
virtual VRF4API_METHOD void setAppearance (int)
 
virtual VRF4API_METHOD void setAppearance (const DtAppearance &app)
 
virtual VRF4API_METHOD void setCapabilities (int cap)
 
virtual VRF4API_METHOD int capabilities () const
 
virtual VRF4API_METHOD void setOccupantsHidden (bool v)
 
virtual VRF4API_METHOD bool occupantsHidden () const
 
VRF4API_METHOD DtReal healthPct () const
 
VRF4API_METHOD void setHealthPct (DtReal pct)
 
VRF4API_METHOD bool firePowerKilled () const
 
VRF4API_METHOD void setFirePowerKilled (const bool firePowerKilled)
 
VRF4API_METHOD bool mobilityKilled () const
 
VRF4API_METHOD void setMobilityKilled (const bool mobilityKilled)
 
VRF4API_METHOD bool flaming () const
 
VRF4API_METHOD void setFlaming (const bool flaming)
 
VRF4API_METHOD bool smoking () const
 
VRF4API_METHOD void setSmoking (const bool smoking)
 
virtual VRF4API_METHOD void setIndependentlyTasked (bool value)
 
virtual VRF4API_METHOD bool independentlyTasked () const
 
virtual VRF4API_METHOD void setEchelonId (const DtEchelonId &echelonId)
 
virtual VRF4API_METHOD DtEchelonId echelonId ()
 
virtual VRF4API_METHOD const
DtEchelonId 
echelonId () const
 
virtual VRF4API_METHOD void setIsSubordinateOfForceLevel (bool yesNo)
 
virtual VRF4API_METHOD bool isSubordinateOfForceLevel () const
 
virtual VRF4API_METHOD void setExtendedData (const DtString &key, const DtString &value)
 
virtual VRF4API_METHOD void clearExtendedData ()
 
virtual VRF4API_METHOD void removeExtendedData (const DtString &key)
 
virtual VRF4API_METHOD const
DtString 
extendedData (const DtString &key) const
 
virtual VRF4API_METHOD const
DtString 
extendedData (const DtString &key)
 
VRF4API_METHOD const ExtendedData extendedDataMap () const
 
virtual VRF4API_METHOD void setExtendedDataMap (const ExtendedData &)
 
virtual VRF4API_METHOD void setExtendedDataMap (const std::map< std::string, std::string > &)
 
virtual VRF4API_METHOD void setExtendedLabel (int, const DtString &value)
 
virtual VRF4API_METHOD void clearExtendedLabels ()
 
virtual VRF4API_METHOD DtString extendedLabel (int index) const
 
virtual VRF4API_METHOD
ExtendedLabels 
extendedLabels () const
 
virtual VRF4API_METHOD void setExtendedLabels (const ExtendedLabels &)
 
virtual VRF4API_METHOD const
DtRwProperties
stateProperties () const
 
virtual VRF4API_METHOD
DtRwProperties
stateProperties ()
 
virtual VRF4API_METHOD void setStateProperties (const DtRwProperties &)
 
VRF4API_METHOD const
DtRwProperties
parameterProperties () const
 
virtual VRF4API_METHOD bool canHaveSubordinates () const
 
virtual VRF4API_METHOD
DtSubordinateManager
vrfSubordinates ()
 
virtual VRF4API_METHOD const
DtSubordinateManager
vrfSubordinates () const
 
VRF4API_METHOD const
makVrf::DtArticulatedPartManager
articulatedParts () const
 
VRF4API_METHOD
makVrf::DtArticulatedPartManager
articulatedParts ()
 
VRF4API_METHOD const
DtArticulatedPartCollection
artPartList () const
 
virtual VRF4API_METHOD void setActivity (const DtString &)
 
virtual VRF4API_METHOD DtString activity () const
 
VRF4API_METHOD void setBlockParachute (bool)
 
VRF4API_METHOD bool blockParachute () const
 
VRF4API_METHOD bool onTerrainSurface () const
 
VRF4API_METHOD DtDeadReckonTypes deadReckoningAlgorithm () const
 
VRF4API_METHOD void setDeadReckoningAlgorithm (DtDeadReckonTypes deadReckoningAlgorithm)
 
VRF4API_METHOD DtThresholder deadReckoningThresholder () const
 
VRF4API_METHOD void setDeadReckoningThresholder (const DtThresholder &thresholder)
 
- Public Member Functions inherited from DtSimObjectStateRepository
 DtSimObjectStateRepository (DtLocalObject *simObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 
virtual ~DtSimObjectStateRepository () override
 
virtual bool isEmbarkedOn (const DtUUID &parent) const
 
template<typename T_SRType >
const T_SRType * as () const
 
template<typename T_SRType >
T_SRType * as ()
 
virtual void cleanupLegacyRWData ()
 
virtual void postPutSelf () override
 
virtual void attachedParentUUIDChanged (const DtUUID &oldUUID, const DtUUID &newUUID)
 
virtual bool embarkOnParent (const DtUUID &parent)
 
virtual bool setHostGlobalId (const DtUUID &)
 
virtual double totalMass () const
 
DtSimObjectReference vrfObject () const
 
DtLocalObjectnextFrameVrfObject ()
 
virtual void prepareForHandoff ()
 
const Coordinate_SystemcoordinateSystem () const
 
virtual void toBeRemoved ()
 
VRF4API_METHOD void setOverlayParent (const DtString &)
 
VRF4API_METHOD const DtString overlayParent () const
 
VRF4API_METHOD bool isFrozen ()
 
VRF4API_METHOD bool isFrozen () const
 
VRF4API_METHOD const
DtSimKinematicState
kinematicState () const
 
VRF4API_METHOD const
DtVrfSimKinematicState
vrfKinematicState () const
 
VRF4API_METHOD
DtSimKinematicState
kinematicState ()
 
VRF4API_METHOD
DtVrfSimKinematicState
vrfKinematicState ()
 
VRF4API_METHOD operator const makVrf::DtRwSimKinematicState () const
 
VRF4API_METHOD operator const makVrf::DtRwVrfKinematicState () const
 
virtual VRF4API_METHOD void removeVertex (int iIndex)
 
virtual VRF4API_METHOD void addLocalVertex (const DtVector &vertex)
 
virtual VRF4API_METHOD void addLocalVertex (const DtVector &vertex, DtVector &newGeometricCenter)
 
virtual VRF4API_METHOD void setLocalVertices (const DtLocalVertexList &vertices, DtVector &newGeometricCenter)
 
virtual VRF4API_METHOD void setLocalVertices (const DtList &vertices, DtVector &newGeometricCenter)
 
virtual VRF4API_METHOD const
DtLocalVertexList
localVertices () const
 
virtual VRF4API_METHOD bool localPositionIsValid () const
 
virtual VRF4API_METHOD void addWorldVertex (const DtVector &vertex, DtVector &newGeometricCenter)
 
virtual VRF4API_METHOD void setWorldVertices (const DtVertexList &vertices, DtVector &newGeometricCenter)
 
virtual VRF4API_METHOD void setWorldVertices (const DtList &vertices, DtVector &newGeometricCenter)
 
VRF4API_METHOD const DtVertexListworldVertices () const
 
VRF4API_METHOD const DtVector & localPosition () const
 
VRF4API_METHOD const DtVector & localVelocity () const
 
VRF4API_METHOD const DtVector & localAcceleration () const
 
VRF4API_METHOD const DtVector & relativeVelocity () const
 
VRF4API_METHOD const DtVector & relativeAcceleration () const
 
VRF4API_METHOD const DtTaitBryan & localOrientation () const
 
VRF4API_METHOD const DtTaitBryan & localOrientationWrtDatabase () const
 
VRF4API_METHOD const DtDcm & localOrientationMatrix () const
 
VRF4API_METHOD const double localSpeed () const
 
VRF4API_METHOD const double worldSpeed () const
 
VRF4API_METHOD const DtVector & worldPosition () const
 
VRF4API_METHOD const DtDcm & worldOrientationMatrix () const
 
VRF4API_METHOD const DtVector & worldVelocity () const
 
VRF4API_METHOD const DtVector & worldAcceleration () const
 
VRF4API_METHOD const DtTaitBryan & worldOrientation () const
 
VRF4API_METHOD const DtVector & rotationalVelocity () const
 
VRF4API_METHOD const DtVector & parentPosition () const
 
VRF4API_METHOD const DtVector & parentVelocity () const
 
VRF4API_METHOD const DtVector & parentAcceleration () const
 
VRF4API_METHOD const DtTaitBryan & parentOrientation () const
 
VRF4API_METHOD const DtDcm & parentOrientationMatrix () const
 
VRF4API_METHOD const DtVector bodyVelocity () const
 
virtual VRF4API_METHOD void setLocalOrientationWrtDatabase (const DtTaitBryan &localOrientation)
 
VRF4API_METHOD DtReal forwardSpeed () const
 
VRF4API_METHOD void setLocalPosition (const DtVector &pos)
 
VRF4API_METHOD void setLocalVelocity (const DtVector &vel)
 
VRF4API_METHOD void setLocalSpeed (double)
 
VRF4API_METHOD void setLocalAcceleration (const DtVector &acc)
 
VRF4API_METHOD void setRelativeVelocity (const DtVector &vel)
 
VRF4API_METHOD void setRelativeAcceleration (const DtVector &acc)
 
VRF4API_METHOD void setLocalOrientation (const DtTaitBryan &angles)
 
VRF4API_METHOD void setWorldPosition (const DtVector &pos)
 
VRF4API_METHOD void setWorldVelocity (const DtVector &vel)
 
VRF4API_METHOD void setWorldAcceleration (const DtVector &acc)
 
VRF4API_METHOD void setWorldOrientation (const DtTaitBryan &angles)
 
VRF4API_METHOD void setWorldOrientationMatrix (const DtDcm &angles)
 
VRF4API_METHOD void setRotationalVelocity (const DtVector &rotationalVelocity)
 
VRF4API_METHOD void setLocalOrientationMatrix (const DtDcm &orient)
 
VRF4API_METHOD void setParentPosition (const DtVector &pos)
 
VRF4API_METHOD void setParentVelocity (const DtVector &pos)
 
VRF4API_METHOD void setParentAcceleration (const DtVector &pos)
 
VRF4API_METHOD void setParentOrientation (const DtTaitBryan &pos)
 
VRF4API_METHOD void setBoundingVolume (const Dt3dBoundingVolume &)
 
VRF4API_METHOD Dt3dBoundingVolume boundingVolume () const
 
VRF4API_METHOD void setBoundingGeometryType (DtSimBoundingGeometry::DtSimBoundingGeometryType type)
 
VRF4API_METHOD void setHalfLengthWidthHeight (double l, double w, double h)
 
virtual VRF4API_METHOD double distanceToLocalVector (const DtVector &localVector) const
 
VRF4API_METHOD void setObjectLabel (const DtString &)
 
VRF4API_METHOD const DtString objectLabel () const
 
VRF4API_METHOD DtEntityType objectType () const
 
VRF4API_METHOD const
DtVrfObjectParameters
parameterEntry () const
 
VRF4API_METHOD DtReal currentHeading () const
 
VRF4API_METHOD DtReal heading () const
 
VRF4API_METHOD DtReal currentPitch () const
 
VRF4API_METHOD DtReal pitch () const
 
VRF4API_METHOD DtReal currentRoll () const
 
VRF4API_METHOD DtReal roll () const
 
virtual VRF4API_METHOD void setRelativeVertices (const DtLocalVertexList &vertices)
 
virtual VRF4API_METHOD const
DtLocalVertexList
relativeVertices () const
 
VRF4API_METHOD DtReal currentSpeed () const
 
VRF4API_METHOD bool isClosedFigure () const
 
VRF4API_METHOD bool isEllipsoid () const
 
VRF4API_METHOD bool isProjection () const
 
virtual VRF4API_METHOD const DtUUID attachedToRepository () const
 
virtual VRF4API_METHOD DtUUID attachedToRepository ()
 
VRF4API_METHOD bool isSpatiallyFrozen () const
 
virtual VRF4API_METHOD bool leftOf (const DtVector &localVector) const
 
virtual VRF4API_METHOD bool inside (const DtVector &point) const
 
virtual VRF4API_METHOD void setIsVrfSimulatedObject (bool b)
 
VRF4API_METHOD bool isVrfSimulatedObject () const
 
virtual VRF4API_METHOD DtForceType forceType ()
 
virtual VRF4API_METHOD const
DtForceType 
forceType () const
 
- Public Member Functions inherited from DtReaderWriter
 DtReaderWriter ()
 
 DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 
 DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false)
 
 DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL)
 
const DtReaderWriteroperator= (const DtReaderWriter &orig)
 
bool operator== (const DtReaderWriter &) const
 
bool operator!= (const DtReaderWriter &rhs) const
 
virtual ~DtReaderWriter ()
 
virtual void putSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
 
virtual void writeSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
 
virtual DtSymbolString name () const
 
virtual void addAlias (const DtSymbolString &alias)
 
virtual void addAlias (const DtString &alias)
 
virtual bool hasAlias (const DtSymbolString &alias)
 
virtual const aliasContaineraliases () const
 
virtual void setReadonly (bool flag)
 
bool isReadonly () const
 
virtual void reset ()
 
virtual int alignment () const
 
virtual bool variableIsBound () const
 
virtual void unbindVariable ()
 
virtual void setName (const DtString &)
 
virtual const charreaderWriterType () const
 
virtual const charxmlType () const
 
virtual DtString prettyPrint () const
 
std::string debugText () const
 
virtual void bindVariables (DtVariableBindingsList variableBindings)
 
virtual std::list
< DtVariableNameType
unboundVariables () const
 
bool invalid () const
 
virtual bool hasChild (const DtReaderWriter *p) const
 
virtual bool hasVariableReference () const
 
virtual void bindLocalVariables (const DtVariableBindingsList &variableBindings)
 
virtual void recordUpdateTime () const
 
virtual bool changedSinceLastChecked ()
 
virtual bool peekChangedSinceLastChecked () const
 
virtual void putData (std::string &fp, int indentLevel=0)
 
virtual DtlObjPtr getData (DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
 
virtual void setValueSpecified (bool specified, bool recurse=false)
 
virtual bool valueSpecified () const
 
virtual bool isVariableReference () const
 
virtual void setIsVariableReference (bool value)
 
virtual void clearAllVariableReferenceFlags ()
 
virtual DtSymbolString variableName () const
 
virtual void setVariableName (const DtSymbolString variableName)
 
virtual const DtReaderWriterdefaultRWValue () const
 
virtual DtReaderWriterdefaultRWValue ()
 
virtual void setDefaultRWValue (DtReaderWriter *)
 
virtual bool checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
 
const DtReaderWriterRegistryregistry () const
 
DtReaderWriterRegistryregistry ()
 
virtual DtPropertyInterfaceproperty ()
 
virtual const DtPropertyInterfaceproperty () const
 
virtual DtString toXml () const
 
virtual DtRwVariableBindingsgenerateVariableBindings () const
 
virtual bool toXml (const DtFilename &) const
 
virtual bool fromXml (const DtString &)
 
virtual bool fromXmlFile (const DtFilename &)
 
virtual void putSelf (DtEnvironmentSP, DtEnvValueSP parent) const
 
virtual void putData (DtEnvironmentSP, DtEnvValueSP value) const
 
virtual void putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const
 
virtual void getSelf (const DtEnvironmentSP, const DtEnvValueSP root, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList())
 
virtual void getData (const DtEnvironmentSP, const DtEnvValueSP, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList())
 
virtual void unrecognizedItem (const DtEnvironmentSP env, const DtEnvValueSP root, const SearchPaths &searchPaths, const DtVariableBindingsList &varBindings)
 
virtual void getVariableReference (DtEnvironmentSP, DtEnvValueSP value)
 

Static Public Member Functions

static DtVrfObjectStateRepositorycreateRepository (const DtString &name, const DtString &type, DtLocalObject *simObject, DtReaderWriterRegistry *parentRegistry=nullptr)
 
static void addSimObjectStateRepositoryCreatorFcn (const DtString &type, DtSimObjectStateRepositoryCreatorFcn fcn)
 
static DtVrfObjectStateRepositorycreator (const DtString &name, DtLocalObject *simObject, DtReaderWriterRegistry *parentRegistry)
 
static
DtSimObjectStateRepositoryFactory
factory ()
 
static void setFactory (DtSimObjectStateRepositoryFactory *factory)
 
- Static Public Member Functions inherited from DtReaderWriter
static void putIndent (std::string &fp, int indentLevel)
 
static const
DtVariableBindingsList
nullVariableReference ()
 
static void setPostGetSelfCallback (DtGetSelfCallbackFcn fcn, void *usrData)
 
static void setPrePutSelfCallback (DtPutSelfCallbackFcn fcn, void *usrData)
 
static void setPutIndent (bool)
 
static bool putIndent ()
 
static const chartheXmlType ()
 
static const DtFilename & appPath ()
 
static void setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn)
 
static void createReaderWriterFactory ()
 
static void cleanupFactory ()
 
static DtReaderWriterFactoryfactory ()
 
static void setOutputStream (DtOutputStream *stream)
 
static DtOutputStream & outputStream ()
 
static DtReaderWritercreateFromXmlFile (const DtFilename &, bool createAsProperty=false)
 
static DtReaderWritercreateFromXml (const DtString &, bool createAsProperty=false)
 
static DtReaderWritercreateFromEnvironment (DtEnvironmentSP, bool createAsProperty=false)
 
static DtString getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root)
 

Public Attributes

boost::signals2::signal< void(DtVrfObjectStateRepository *)> signal_postInitFromParams
 
boost::signals2::signal< void()> signal_statePropertiesRestored
 

Protected Member Functions

 DtVrfObjectStateRepository ()
 
virtual void updatePotentialUUIDFromImport (DtReaderWriter *)
 
virtual void initializeNextTaskId ()
 
virtual void setOrientationRelativeToParent ()
 
virtual void preGetSelf () override
 
virtual void postGetSelf () override
 
virtual void prePutSelf () override
 
virtual void createLegacyRWData () override
 
virtual void restoreFromLegacyRWData () override
 
virtual void setToLegacyRWData () override
 
virtual void embarkedParentDeleted ()
 
virtual bool createResourceDatabaseLogger ()
 
- Protected Member Functions inherited from DtSimObjectStateRepository
virtual void processCompleteAttachment (const DtSimObject *)
 
- Protected Member Functions inherited from DtReaderWriter
virtual void bindToRwAsVariable (const DtReaderWriter *rw)
 

Protected Attributes

DtVrfStateRepositoryUserExtensionmyStateRepositoryUserExtension
 
DtRwNLengthUUIDVector myEngagementZones
 
DtVrfProcessStateRepositoryManagermySystemProcessSRManager
 
DtSimulationServicesmySimulationServices
 
DtGroundInteractionPt myGroundCenter
 
DtTime myLastTimeFiredUpon
 
DtRwInt mySuppressionLevel
 
DtRwString myNonLethalDamageEffect
 
DtReal myMass
 
DtUUID myOccupyingObjectId
 
DtSimResourceManager myResourceManager
 
DtSimSector mySectorOfResponsibility
 
DtRwBoolean myRequestTaskNeeded
 
DtTaskStatusList myTaskStatusList
 
DtSuspendedTaskStatusList mySuspendedTaskStatusList
 
DtRwInt myNextTaskId
 
DtRwInt myNextSuspendId
 
DtRwBoolean myParentWasDestroyedWhenEmbarked
 
DtRwBoolean myNavigationEnabled
 
DtRwPriorityTargetListMap myTargetPriorityList
 
DtRwStringList mySystemsDisabledList
 
InternalUserDataMap myInternalUserDataMap
 
DtRwUUID myUserTarget
 
DtRwProperties myInternalStateProperties
 
double myMinTickPeriod
 
double myMinTickPeriodVariance
 
double myNextTickTime
 
double myLastTickSimTime
 
DtSensorContactInfoList myObjectContactList
 
DtWeaponInfoListmyWeaponInfoList
 
std::vector< DtStringmyStatePropertiesNotToBeRestored
 
JoystickControls myJoystickControls
 
bool myJoystickMovementControlled
 
bool myPaused
 
DtSimResourceManagermyResourcesToUpgrade = nullptr
 
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
 
DtResourceDatabaseLoggermyResourceDbLogger
 
bool myReinitializing = false
 
- Protected Attributes inherited from DtSimObjectStateRepository
DtLegacySimObjectStateRepositoryRWDatamyLegacyRWData
 
DtLocalObjectmyLocalObject
 
DtMovementLocalObjectFacade myMovementLocalObjectFacade
 
boost::signals2::scoped_connection myUUIDChangedConnection
 
boost::signals2::scoped_connection myLocalObjectAddedConnection
 
boost::signals2::scoped_connection myLocalObjectDeletedConnection
 
- Protected Attributes inherited from DtReaderWriter
const DtSymbolString myName
 
DtReaderWriterRegistry myRegistry
 
DtReaderWriterRegistrymyParentRegistry
 
bool myValueSpecified
 
bool myReadOnlyFlag
 
bool myIsVariableReference
 
DtSymbolString myVariableName
 
bool myVariableIsBound
 
DtReaderWritermyDefaultValue
 
aliasContainer myAliases
 
bool myInvalid
 
bool myChangedFlag
 

Static Protected Attributes

static
DtSimObjectStateRepositoryFactory
theFactory
 
- Static Protected Attributes inherited from DtReaderWriter
static DtString theUnspecifiedValue
 
static DtGetSelfCallbackInfo thePostGetSelfCallback
 
static DtPutSelfCallbackInfo thePrePutSelfCallback
 
static const DtVariableBindingsList theEmptyVariableBindingsList
 
static bool theCreatorFcnSet
 
static DtReaderWriterFactorytheFactory
 
static
DtReaderWriterFactoryCreatorFcn 
theFactoryCreatorFcn
 
static bool thePutIndent
 
static DtOutputStream * theOutputStream
 

Private Member Functions

 DtVrfObjectStateRepository (const DtVrfObjectStateRepository &orig)
 
const DtVrfObjectStateRepositoryoperator= (const DtVrfObjectStateRepository &orig)
 
enum  suppressionLevels { DtNoSuppression = 0, DtSuppressed1 = 1, DtSuppressed2 = 2, DtSuppressed3 = 3 }
 
virtual suppressionLevels suppressionLevel () const
 
virtual void setSuppressionLevel (const suppressionLevels l)
 
virtual bool isSuppressed () const
 
typedef std::map< DtString,
void * > 
InternalUserDataMap
 
virtual void setInternalUserData (const DtString &s, void *)
 
virtual void * getInternalUserData (const DtString &) const
 
virtual void removeInternalUserData (const DtString &)
 
virtual void clearInternalUserData ()
 
virtual const InternalUserDataMapinternalUserDataMap () const
 
virtual void processTaskComplete (const DtVrfObjectMessage *msg)
 
static void taskCompleteCallback (const DtVrfObjectMessage *msg, void *usr)
 

Member Typedef Documentation

Controls by function group.

Internal user data is data that is not saved to the scenario and will last only as long as this internal state lasts. It is only accessible via the local object.

Member Enumeration Documentation

The current suppression level. An enumeration with 4 values. Determined from suppression value in the suppression actuator component.

Enumerator
DtNoSuppression 
DtSuppressed1 
DtSuppressed2 
DtSuppressed3 

Constructor & Destructor Documentation

DtVrfObjectStateRepository::DtVrfObjectStateRepository ( )
protected

Default Constructor. Do not use.

DtVrfObjectStateRepository::DtVrfObjectStateRepository ( DtLocalObject vrfObject,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = nullptr 
)

Constructor.

virtual DtVrfObjectStateRepository::~DtVrfObjectStateRepository ( )
overridevirtual

Destructor.

DtVrfObjectStateRepository::DtVrfObjectStateRepository ( const DtVrfObjectStateRepository orig)
private

Copy Constructor.

Member Function Documentation

const DtVrfObjectStateRepository& DtVrfObjectStateRepository::operator= ( const DtVrfObjectStateRepository orig)
private

Assignment Operator.

virtual DtString DtVrfObjectStateRepository::type ( ) const
overridevirtual
virtual const int DtVrfObjectStateRepository::objectStateRepositorySubType ( ) const
overridevirtual

Returns DtSimObjectStateRepositorySubTypeVrfObject.

Reimplemented from DtSimObjectStateRepository.

Reimplemented in DtAerodromeObjectStateRepository.

virtual const int DtVrfObjectStateRepository::vrfObjectStateRepositorySubType ( ) const
virtual

Returns DtVrfObjectStateRepositorySubTypeBase.

Reimplemented in DtVrfOverlayObjectStateRepository, and DtVrfMovingObjectStateRepository.

virtual bool DtVrfObjectStateRepository::init ( )
overridevirtual
virtual void DtVrfObjectStateRepository::initializeFromParameters ( )
virtual
virtual void DtVrfObjectStateRepository::setJoystickMovementControlled ( bool  )
virtual

If true movement is controlled by joystick so will not be able to be taskable as a subordinate.

virtual bool DtVrfObjectStateRepository::joystickMovementControlled ( ) const
virtual
virtual DtVrfStateRepositoryUserExtension* DtVrfObjectStateRepository::userExtension ( ) const
virtual

User extension to state repository class. Users can override the creation of this object to extend the state repository class at a base class level. Specify the kind of state repository user extension to create in the DtVrfObjectParameters object.

virtual void DtVrfObjectStateRepository::restoreEntity ( )
virtual

Called on a setRestore command, sets destroyed to false and sets resources to initial (parameter file) levels.

Reimplemented in DtFixedWingEntityStateRepository, and DtRotaryWingEntityStateRepository.

virtual void DtVrfObjectStateRepository::resolveResourcesAfterLoad ( const DtSimResourceManager )
virtual

Compatability call for upgrading older scenarios to 5.2 and beyond to try and set the current resource amounts to what was in the scenario, if there is a match.

virtual void DtVrfObjectStateRepository::addJoystickControls ( const DtRwJoystickControls )
virtual

Available joystick controls.

virtual const JoystickControls& DtVrfObjectStateRepository::joystickControls ( ) const
virtual

Available joystick controls.

virtual const DtSimResourceManager& DtVrfObjectStateRepository::resourceManager ( ) const
inlinevirtual
Returns
A pointer to the DtSimResourceManager for this object. The resource manager contains all the resources for this object
virtual DtSimResourceManager& DtVrfObjectStateRepository::resourceManager ( )
inlinevirtual
Returns
A pointer to the DtSimResourceManager for this object. The resource manager contains all the resources for this object
virtual void DtVrfObjectStateRepository::setNavigationEnabled ( bool  )
virtual

Accessors for whether or not this object should use Gameware navigation to move when in a navigation area. Default is true. This only affects human movement (i.e. the human movement actuator).

virtual bool DtVrfObjectStateRepository::navigationEnabled ( ) const
virtual

Accessors for whether or not this object should use Gameware navigation to move when in a navigation area. Default is true. This only affects human movement (i.e. the human movement actuator).

virtual void DtVrfObjectStateRepository::restoreResourcesFromParameters ( )
virtual
virtual void DtVrfObjectStateRepository::setSOR ( DtReal  center,
DtReal  size 
)
virtual

Sector of responsibility. Defined as a size in radians and a center angle in radians (with respect to the entity itself).

virtual DtReal DtVrfObjectStateRepository::SORSize ( ) const
virtual

Sector of responsibility. Defined as a size in radians and a center angle in radians (with respect to the entity itself).

virtual DtReal DtVrfObjectStateRepository::SORCenter ( ) const
virtual

Sector of responsibility. Defined as a size in radians and a center angle in radians (with respect to the entity itself).

virtual const DtSimSector& DtVrfObjectStateRepository::SOR ( ) const
virtual

Sector of responsibility. Defined as a size in radians and a center angle in radians (with respect to the entity itself).

virtual void DtVrfObjectStateRepository::upgradeFromImport ( )
virtual

Called after the object has been imported from the scenario, but before any UUID resolution. Can be used to upgrade UUIDs that are non standard.

virtual bool DtVrfObjectStateRepository::isContactHostile ( DtRwSensorContactInfo ) const
virtual

Given the potential contacts, queries the engagement zone manager to see if that particular contact is hostile. This will pass a location into the engagement zone manager and the perceived force.

virtual bool DtVrfObjectStateRepository::isContactHostile ( const DtSimObject ) const
virtual

This call will presume the object is of force type other and is only used for the location.

virtual bool DtVrfObjectStateRepository::isContactHostile ( const DtVector &  location,
int  perceivedForce 
) const
virtual

Given the location and the perceived force, iterate over all the engagement zones this object is monitoring in order to see if any one of them says this object is hostile. Location is in local coordinates.

virtual bool DtVrfObjectStateRepository::inSOR ( const DtSimObject entity) const
virtual
Returns
True of the specified entity is currently within the defined sector of responsibility for of this object.
virtual bool DtVrfObjectStateRepository::canFireAt ( const DtVector &  location) const
virtual

Returns true if this entity can fire upon the supplied location given the rules of engagement.

virtual void DtVrfObjectStateRepository::setRequestTaskNeeded ( bool  value)
virtual

Set/get whether or not this needs to send a request task needed message.

virtual bool DtVrfObjectStateRepository::requestTaskNeeded ( ) const
virtual

Set/get whether or not this needs to send a request task needed message.

virtual bool DtVrfObjectStateRepository::hasTasks ( ) const
virtual

Returns true if entity is currently executing a task (at least one component must be tasked), false otherwise.

virtual void DtVrfObjectStateRepository::clearCurrentTaskMsg ( const DtSymbolString componentName)
virtual

Clear all the tasks with the specified component name.

virtual void DtVrfObjectStateRepository::clearCurrentTaskMsg ( const DtSymbolString componentName,
int  taskId 
)
virtual

Clear the task with specified taskId and the specified component name.

virtual void DtVrfObjectStateRepository::setCurrentTaskMsg ( const DtSymbolString componentName,
const DtTaskMessage taskMsg 
)
virtual

Set the current task message.

virtual void DtVrfObjectStateRepository::setCurrentTaskMsg ( const DtSymbolString componentName,
const DtTaskMessage taskMsg,
int  taskId 
)
virtual

Set the current task message.

virtual const DtTaskStatusList* DtVrfObjectStateRepository::taskStatusList ( ) const
virtual
Returns
The list of current tasks with their status.
virtual DtTaskStatusList* DtVrfObjectStateRepository::taskStatusList ( )
virtual
virtual std::string DtVrfObjectStateRepository::taskStatusListPrintString ( ) const
virtual
Returns
A string representation of the task status list, for printing.
virtual DtSuspendedTaskStatusList* DtVrfObjectStateRepository::suspendedTaskStatusList ( )
virtual
virtual std::string DtVrfObjectStateRepository::suspendedTaskListPrintString ( ) const
virtual
Returns
A string representation of the suspended list, for printing.
virtual DtTaskMessage* DtVrfObjectStateRepository::taskByType ( const DtSimTaskMessageType task) const
virtual

Get the first task that is of the particular task type, if being executed.

virtual DtTaskMessage* DtVrfObjectStateRepository::currentTaskMsg ( const DtSymbolString componentName) const
virtual

Get the current task message. If multiple task messages exist for a single component name, only the first is returned.

virtual DtTaskMessage* DtVrfObjectStateRepository::currentTaskMsg ( const DtSymbolString componentName,
int  taskId 
) const
virtual

Get the current task message for the specified component and task ID.

virtual std::list<DtTaskMessage*> DtVrfObjectStateRepository::allCurrentTaskMsg ( const DtSymbolString componentName) const
virtual
Returns
A list of all current task messages for a given component name.
virtual void DtVrfObjectStateRepository::setReinitializing ( bool  )
virtual
bool DtVrfObjectStateRepository::reinitializing ( ) const
inline
virtual bool DtVrfObjectStateRepository::placePoints ( const DtAttachedTerrain attachedTerrain,
std::vector< DtGroundInteractionPt * >  groundInteractionPts,
bool terrainDataAvailable = nullptr 
) const
virtual

Positions list of ground interaction points on the terrain surface closest to the specified location. Parent position and orientation of each ground interaction point must be set before calling this function. Returns false if there are no points to place. If there is no ground intersection, sets ground interaction point to its current position without ground, but at altitude zero. If the terrain is still being paged in at the time of this call for any of the requested points, terrainDataAvailable will be set to false and the points will artificially be placed at the object's current altitude. If it is not specified, this will be a blocking call (which should usually not be done from a tick function).

Returns
False if there are no points to place.
virtual void DtVrfObjectStateRepository::updateSupportPoints ( const DtVector &  newPosition,
const DtReal  newHeading 
)
virtual

reading in a scenario, want to make sure the support points get set up properly. Base class is empty. If gravity aligned is true, does not clamp to terrain

Reimplemented in DtVrfMovingObjectStateRepository, and DtVrfAggregateStateRepository.

virtual void DtVrfObjectStateRepository::processSimObjectDeleted ( const DtSimObject pRemovedObject)
overridevirtual

These callbacks are used to set myAttachedToStateRepository when this ent gets attached/detached to/from its parent.

Reimplemented from DtSimObjectStateRepository.

static DtVrfObjectStateRepository* DtVrfObjectStateRepository::createRepository ( const DtString name,
const DtString type,
DtLocalObject simObject,
DtReaderWriterRegistry parentRegistry = nullptr 
)
static

Creates a new state repository object, using the factory.

static void DtVrfObjectStateRepository::addSimObjectStateRepositoryCreatorFcn ( const DtString type,
DtSimObjectStateRepositoryCreatorFcn  fcn 
)
static
static DtSimObjectStateRepositoryFactory* DtVrfObjectStateRepository::factory ( )
static

a DtSimObjectStateRepositoryFactory is allocated by the DtSimCreator, and this pointer is set. The DtSimCreator deletes this pointer when it is deleted. This is done this way because we don't allow static initialization

static void DtVrfObjectStateRepository::setFactory ( DtSimObjectStateRepositoryFactory factory)
static

a DtSimObjectStateRepositoryFactory is allocated by the DtSimCreator, and this pointer is set. The DtSimCreator deletes this pointer when it is deleted. This is done this way because we don't allow static initialization

virtual DtSimulationServices* DtVrfObjectStateRepository::simulationServices ( )
virtual
Returns
A pointer to the single DtSimulationServices class instance for this CGF.
virtual const DtSimulationServices* DtVrfObjectStateRepository::simulationServices ( ) const
virtual
Returns
A pointer to the single DtSimulationServices class instance for this CGF.
virtual DtPhysicalWorld* DtVrfObjectStateRepository::physicalWorld ( )
virtual
Returns
A pointer to the single DtPhysicalWorld class instance for this CGF.
virtual const DtPhysicalWorld* DtVrfObjectStateRepository::physicalWorld ( ) const
virtual
Returns
A pointer to the single DtPhysicalWorld class instance for this CGF.
virtual void DtVrfObjectStateRepository::tick ( )
virtual

This method is called each simulation frame, and may include any processing that needs to be done on this object state each tick.

Reimplemented in DtMinefieldStateRepository, DtVrfAggregateStateRepository, DtCulturalFeatureStateRepository, DtMissileStateRepository, and DtVrfMovingObjectStateRepository.

virtual void DtVrfObjectStateRepository::timedTick ( )
virtual

This version of tick checks to see if the time to tick has arrived (myNextTickTime <= exerciseClock()->approximateElapsedRealTime()). If it has, it will then call tick(), and recalculate the next tick time.

virtual void DtVrfObjectStateRepository::setMinTickPeriod ( double  minTickPeriod)
virtual

specifies a minimum tick period (which can also be thought of as

  1. / maximum tick rate). This is specified in seconds.
virtual double DtVrfObjectStateRepository::minTickPeriod ( ) const
virtual

access the minimum tick period

virtual void DtVrfObjectStateRepository::setMinTickPeriodVariance ( double  minTickPeriodVariance)
virtual

set the variance in the minimum tick time

virtual double DtVrfObjectStateRepository::minTickPeriodVariance ( ) const
virtual

access the variance in the minimum tick period

virtual void DtVrfObjectStateRepository::setNextTickTime ( double  nextTickTime)
virtual

The next tick time is normally calculated internally. setNextTickTime can be used to force a tick (set nextTickTime to exerciseClock()-> approximateElapsedRealTime())

virtual double DtVrfObjectStateRepository::nextTickTime ( ) const
virtual

access the next tick time

virtual double DtVrfObjectStateRepository::calculateNextTickTime ( ) const
virtual

The next tick time is equal to mySimManager->exerciseClock()-> approximateElapsedRealTime() + myMinTickPeriod + a random # between -myMinTickPeriodVariance/2. and +myMinTickPeriodVariance/2. If the exercise clock is paused, the variance is always set to zero to insure that the extra calls to DtFRand() don't prevent repeatability.

virtual bool DtVrfObjectStateRepository::createProcessStateRepositoryManager ( )
virtual
virtual const DtVrfProcessStateRepositoryManager* DtVrfObjectStateRepository::systemProcessStateRepositoryManager ( ) const
virtual
Returns
Pointer to the object level process state repository manager. Top level component systems register their PSRs with this manager, and components should register their PSRs with their parent system. This is returned by DtSimComponent::psrManager().
virtual DtVrfProcessStateRepositoryManager* DtVrfObjectStateRepository::systemProcessStateRepositoryManager ( )
virtual
Returns
Pointer to the object level process state repository manager. Top level component systems register their PSRs with this manager, and components should register their PSRs with their parent system. This is returned by DtSimComponent::psrManager().
virtual DtVrfWeaponPSR* DtVrfObjectStateRepository::firstWeaponPSR ( ) const
virtual

This is provided for backward compatibility with setTarget capabilities. Since these do not specify which of (potentially) multiple weapons to use, this call will retrieve the first.

virtual void DtVrfObjectStateRepository::processObjectGeometry ( const DtList &  vertices)
virtual

Processes a list of DtVectors, such as might come in a create or modify message. Sets the object geometry, determines the bounding area or volume, and sets local and world position at the geometric center of the geometry.

virtual void DtVrfObjectStateRepository::processObjectGeometry ( const DtLocalVertexList vertices)
virtual
virtual void DtVrfObjectStateRepository::processObjectGeometry ( )
virtual

This form allows processObjectGeometry()'s bounding volume calculations to be done on it's current geometry (by making a copy first). This is needed when reading from an .oob file, because the object geometry's vertex lists have not been populated with the normal setLocalVertices() (or successive addLocalVertex() calls), but rather by reading them from the file.

virtual DtGroundInteractionPt* DtVrfObjectStateRepository::groundCenter ( )
virtual
virtual const DtGroundInteractionPt* DtVrfObjectStateRepository::groundCenter ( ) const
virtual
virtual void DtVrfObjectStateRepository::place ( const DtVector &  location,
bool dataAvailable = nullptr,
bool  requireAllData = false 
)
virtual

Place entity at 'location', on the ground, keeping its current heading. Since no terrain intersections are made at this level, dataAvailable is always set to true.

Parameters
Output
dataAvailableprevents the call from blocking due to terrain paging and will get a true value if the terrain intersections are successful. See DtVrfMovingObjectStateRepository::clampToGround for more information. Since no terrain intersections are made at this level, this flag is always set to true and is only used by DtVrfMovingObjectStateRepository and its subclasses.
requireAllDataprevents the call from changing the object if any terrain data is unavailable. Since no terrain intersections are made at this level, this flag is only used by DtVrfMovingObjectStateRepository and its subclasses.

Reimplemented in DtVrfMovingObjectStateRepository.

virtual void DtVrfObjectStateRepository::place ( const DtReal  heading,
bool dataAvailable = nullptr,
bool  requireAllData = false 
)
virtual

Give entity the specified 'heading', but stay at its current location. Since no terrain intersections are made at this level, dataAvailable is always set to true.

Parameters
Output
dataAvailableprevents the call from blocking due to terrain paging and will get a true value if the terrain intersections are successful. See DtVrfMovingObjectStateRepository::clampToGround for more information. Since no terrain intersections are made at this level, this flag is always set to true and is only used by DtVrfMovingObjectStateRepository and its subclasses.
requireAllDataprevents the call from changing the object if any terrain data is unavailable. Since no terrain intersections are made at this level, this flag is only used by DtVrfMovingObjectStateRepository and its subclasses.

Reimplemented in DtVrfMovingObjectStateRepository.

virtual void DtVrfObjectStateRepository::place ( const DtVector &  location,
const DtReal  heading,
bool  clampToGroundFlag = true,
bool dataAvailable = nullptr,
bool  requireAllData = false 
)
virtual

Place entity at specified 'location' and 'heading' on the ground.

Parameters
Output
dataAvailableprevents the call from blocking due to terrain paging and will get a true value if the terrain intersections are successful. See DtVrfMovingObjectStateRepository::clampToGround for more information. Since no terrain intersections are made at this level, this flag is always set to true and is only used by DtVrfMovingObjectStateRepository and its subclasses.
requireAllDataprevents the call from changing the object if any terrain data is unavailable. Since no terrain intersections are made at this level, this flag is only used by DtVrfMovingObjectStateRepository and its subclasses.

Reimplemented in DtVrfMovingObjectStateRepository, DtFixedWingEntityStateRepository, DtRotaryWingEntityStateRepository, and DtSubsurfaceEntityStateRepository.

virtual void DtVrfObjectStateRepository::reclampToGround ( )
virtual

Will cause the object to be replaced at it's current position and clamped to the terrain.

Reimplemented in DtVrfMovingObjectStateRepository.

virtual DtReal DtVrfObjectStateRepository::mass ( ) const
virtual
virtual void DtVrfObjectStateRepository::setMass ( const DtReal  mass)
virtual
virtual DtTime DtVrfObjectStateRepository::lastTimeFiredUpon ( ) const
virtual
virtual void DtVrfObjectStateRepository::setLastTimeFiredUpon ( const DtTime  time)
virtual
virtual bool DtVrfObjectStateRepository::systemEnabled ( const DtString systemName) const
virtual
virtual void DtVrfObjectStateRepository::setSystemEnabled ( const DtString systemName,
bool  enabled 
)
virtual
virtual const DtRwPriorityTargetListMap& DtVrfObjectStateRepository::targetPriorityList ( ) const
virtual

Get/set/append to target priority list.

virtual DtRwPriorityTargetListMap& DtVrfObjectStateRepository::targetPriorityList ( )
virtual
virtual void DtVrfObjectStateRepository::setTargetPriorityList ( const DtRwPriorityTargetListMap targetPriorityList)
virtual
virtual void DtVrfObjectStateRepository::appendToTargetPriorityList ( const DtRwPriorityTargetListMap targetPriorityList)
virtual
virtual int DtVrfObjectStateRepository::targetPriorityLevel ( const DtUUID obj) const
virtual

Returns a positive value of priority if object is in the target priority list Returns DtPriorityLevelInvalid otherwise.

virtual suppressionLevels DtVrfObjectStateRepository::suppressionLevel ( ) const
virtual

The current suppression level. An enumeration with 4 values. Determined from suppression value in the suppression actuator component.

virtual void DtVrfObjectStateRepository::setSuppressionLevel ( const suppressionLevels  l)
virtual

The current suppression level. An enumeration with 4 values. Determined from suppression value in the suppression actuator component.

virtual bool DtVrfObjectStateRepository::isSuppressed ( ) const
virtual

The current suppression level. An enumeration with 4 values. Determined from suppression value in the suppression actuator component.

virtual const DtString& DtVrfObjectStateRepository::nonLethalDamageEffect ( ) const
virtual

The current non lethal damage type.

virtual void DtVrfObjectStateRepository::setNonLethalDamageEffect ( const DtString nonLethalDamageEffect)
virtual
virtual const DtUUID& DtVrfObjectStateRepository::occupyingObjectId ( ) const
virtual

We hold the id of the object we are occupying. Set in this base class since we could place a minefield inside of a strong point.

virtual void DtVrfObjectStateRepository::setOccupyingObjectId ( const DtUUID objId)
virtual

We hold the id of the object we are occupying. Set in this base class since we could place a minefield inside of a strong point.

virtual void DtVrfObjectStateRepository::getSelf ( DtlObjPtr  args,
const DtReaderWriter::SearchPaths searchPaths,
const DtVariableBindingsList variableBindings 
)
overridevirtual

Override getSelf to handle mapping of old pre-2.0 oob files. Maps the old variables for local and world position/orientation to the new object geometry and kinematic state members. Maps old boolean destroyed flag to new appearance bits.

Reimplemented from DtReaderWriter.

Reimplemented in DtFixedWingEntityStateRepository, DtMissileStateRepository, DtRotaryWingEntityStateRepository, DtVrfOverlayObjectStateRepository, and DtVrfAggregateStateRepository.

virtual int DtVrfObjectStateRepository::nextTaskId ( )
virtual

Returns next unique task id for this entity.

virtual int DtVrfObjectStateRepository::nextSuspendId ( )
virtual
Returns
The next unique suspend ID for this entity.
virtual int DtVrfObjectStateRepository::spawningTaskId ( int  subtaskId) const
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual void DtVrfObjectStateRepository::addPendingSubtaskId ( const DtSymbolString componentName,
int  subtaskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual void DtVrfObjectStateRepository::addPendingSubtaskId ( const DtSymbolString componentName,
int  taskId,
int  subtaskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual bool DtVrfObjectStateRepository::findPendingSubtaskId ( const DtSymbolString componentName,
int  subtaskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual bool DtVrfObjectStateRepository::isSubtasked ( const DtSymbolString componentName) const
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual bool DtVrfObjectStateRepository::findPendingSubtaskId ( const DtSymbolString componentName,
int  taskId,
int  subtaskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual void DtVrfObjectStateRepository::removePendingSubtaskId ( const DtSymbolString componentName,
int  subtaskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual void DtVrfObjectStateRepository::removePendingSubtaskId ( const DtSymbolString componentName,
int  taskId,
int  subtaskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual void DtVrfObjectStateRepository::removeAllPendingSubtaskIds ( const DtSymbolString componentName)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual void DtVrfObjectStateRepository::removeAllPendingSubtaskIds ( const DtSymbolString componentName,
int  taskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual void DtVrfObjectStateRepository::removeInactiveSubtaskStatus ( const DtSymbolString componentName)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual void DtVrfObjectStateRepository::removeInactiveSubtaskStatus ( const DtSymbolString componentName,
int  taskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual void DtVrfObjectStateRepository::printPendingSubtaskIds ( const DtSymbolString componentName) const
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual std::vector<int> DtVrfObjectStateRepository::currentPendingSubstaskIds ( const DtSymbolString componentName) const
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual std::vector<int> DtVrfObjectStateRepository::currentPendingSubstaskIds ( const DtSymbolString componentName,
int  taskId 
) const
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual DtSubtaskStatusEntry* DtVrfObjectStateRepository::pendingSubtaskStatus ( const DtSymbolString componentName,
int  subtaskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual DtSubtaskStatusEntry* DtVrfObjectStateRepository::pendingSubtaskStatus ( const DtSymbolString componentName,
int  taskId,
int  subtaskId 
)
virtual

Functions for manipulating the set of pending subtask Ids for all components in the entity. Users should not call these functions directly. Access them through the DtTaskControllerComponent instead. They are here for the purposes of saving/restoring the information to the order of battle file only.

Given a subtask id search all current subtasks to see who the parent of this task is. Returns -1 if parent cannot be found

virtual DtTaskMessage* DtVrfObjectStateRepository::pendingSubtask ( int  subtaskId,
DtString controller 
) const
virtual

Returns the current subtask with the specified id. Also returns the controller that is responsible. If NULL, no task was found.

virtual bool DtVrfObjectStateRepository::taskedBySuperiorUponTaskComplete ( ) const
virtual

Returns true if entity should automatically resume being tasked by superior upon completion of its current top-level task, false otherwise. By default, this returns true.

virtual void DtVrfObjectStateRepository::setParentWasDestroyedWhenEmbarked ( bool  )
virtual
virtual bool DtVrfObjectStateRepository::parentWasDestroyedWhenEmbarked ( ) const
virtual
virtual void DtVrfObjectStateRepository::detachFromParent ( )
overridevirtual

Reimplemented from DtSimObjectStateRepository.

Reimplemented in DtVrfOverlayObjectStateRepository.

virtual bool DtVrfObjectStateRepository::attachToParent ( const DtUUID parent)
overridevirtual

Looks up the parent state repository using the given echelon ID and puts it in a call to attachToParent.

Reimplemented from DtSimObjectStateRepository.

virtual bool DtVrfObjectStateRepository::attachToParent ( DtSimObjectReference  parent)
overridevirtual

Adds this state repository to the given parent's list of attached state repositories and updates myAttachedToRepository and myRootSimStateRepository. The parent coordinate system is zeroed out, making this object relative to the parent instead of relative to the world.

Reimplemented from DtSimObjectStateRepository.

Reimplemented in DtFixedWingEntityStateRepository, DtVrfOverlayObjectStateRepository, and DtCulturalFeatureStateRepository.

DtVector DtVrfObjectStateRepository::localBoundingVolumeCenterPosition ( ) const

Gets the local coordinates of the bounding volume center. Rotates the bounding volume offset from origin according to the entity's orientation, and adds the local position.

void DtVrfObjectStateRepository::setCurrentHeading ( const DtReal  heading)

Heading in radians. Calls down to DtVrfKinematicState for heading.

virtual const DtRwNLengthUUIDVector& DtVrfObjectStateRepository::engagementZones ( ) const
virtual

Accessor/mutator for engagement zones.

virtual void DtVrfObjectStateRepository::setEngagementZones ( const DtRwNLengthUUIDVector )
virtual

Accessor/mutator for engagement zones.

virtual void DtVrfObjectStateRepository::restoreStateProperties ( )
virtual

Restores state properties to their default settings.

virtual void DtVrfObjectStateRepository::initStatePropertiesNotToBeRestored ( )
virtual

Initializes the list of state properties which should not be restored.

Reimplemented in DtVrfAggregateStateRepository.

virtual void DtVrfObjectStateRepository::updateCachedStateProperties ( )
virtual

Call to update any cached values that are representative of state properties. This is done for efficiency rather than having to look up state property values by name each time.

virtual const DtRwProperties& DtVrfObjectStateRepository::internalStateProperties ( const DtString context) const
virtual
virtual DtRwProperties& DtVrfObjectStateRepository::internalStateProperties ( const DtString context)
virtual
virtual const DtRwProperties& DtVrfObjectStateRepository::internalStateProperties ( ) const
virtual
virtual DtRwProperties& DtVrfObjectStateRepository::internalStateProperties ( )
virtual
virtual void DtVrfObjectStateRepository::setTasked ( const DtSymbolString componentName,
bool  tasked 
)
virtual

Set/get whether or not a given entity component currently executing a task.

virtual void DtVrfObjectStateRepository::setTasked ( const DtSymbolString componentName,
int  taskID,
bool  tasked 
)
virtual

Set/get whether or not a given entity component currently executing a task.

virtual bool DtVrfObjectStateRepository::tasked ( const DtSymbolString componentName) const
virtual

Set/get whether or not a given entity component currently executing a task.

virtual void DtVrfObjectStateRepository::updatePotentialUUIDFromImport ( DtReaderWriter )
protectedvirtual

Recursively go through the registry and anything that is of type DtRwString check to see if it is a potential UUID that needs to change or anything that has a name that is a potential UUID.

virtual void DtVrfObjectStateRepository::initializeNextTaskId ( )
protectedvirtual

Initializes myNextTaskId to the next highest integer than the highest subtask Id currently maintained in myTaskStatusList.

virtual void DtVrfObjectStateRepository::setOrientationRelativeToParent ( )
protectedvirtual

If attached to a parent, and a terrain database is present, set orientation relative to parent.

virtual void DtVrfObjectStateRepository::preGetSelf ( )
overrideprotectedvirtual

Hook function called immediately prior to getSelf().

Reimplemented from DtSimObjectStateRepository.

Reimplemented in DtVrfMovingObjectStateRepository, and DtVrfAggregateStateRepository.

virtual void DtVrfObjectStateRepository::postGetSelf ( )
overrideprotectedvirtual

Hook function called immediately following getSelf().

Reimplemented from DtSimObjectStateRepository.

Reimplemented in DtVrfAggregateStateRepository.

virtual void DtVrfObjectStateRepository::prePutSelf ( )
overrideprotectedvirtual

Hook function called immediately prior to putSelf().

Reimplemented from DtSimObjectStateRepository.

Reimplemented in DtVrfMovingObjectStateRepository.

virtual double DtVrfObjectStateRepository::sensorSignature ( const DtSymbolString sensorDomain) const
virtual

Returns the current absolute signature for this object in the specified sensor domain. If the domain is not found, 0 is returned. Uses the myMutableSensorSignatureCache to only calculate the signature once per tick.

Reimplemented in DtVrfOverlayObjectStateRepository.

virtual std::list<DtSymbolString> DtVrfObjectStateRepository::sensorSignatureDomains ( ) const
virtual
Returns
A list of all the sensor domains that this entity is configured with. These are all the domains that may return non-zero values from sensorSignature().
virtual DtSensorContactInfoList& DtVrfObjectStateRepository::objectContactList ( )
virtual

Situational awareness of this object. If this object is aware of other objects in the scenario, this list will contain the known objects, and the properties of the objects which are known. The object must have a controller which fills in this list in order for there to be data in the object contact list.

virtual const DtSensorContactInfoList& DtVrfObjectStateRepository::objectContactList ( ) const
virtual

Situational awareness of this object. If this object is aware of other objects in the scenario, this list will contain the known objects, and the properties of the objects which are known. The object must have a controller which fills in this list in order for there to be data in the object contact list.

virtual DtWeaponInfoList* DtVrfObjectStateRepository::weaponInfoList ( )
virtual

Information on all weapons that are present on this object.

virtual const DtWeaponInfoList* DtVrfObjectStateRepository::weaponInfoList ( ) const
virtual

Information on all weapons that are present on this object.

virtual void DtVrfObjectStateRepository::setUserTarget ( const DtUUID target)
virtual

A target object ID that has been specified for this entity. Commonly set by the DtSetTargetRequest. May be used by various systems and controllers.

virtual DtUUID DtVrfObjectStateRepository::userTarget ( ) const
virtual

A target object ID that has been specified for this entity. Commonly set by the DtSetTargetRequest. May be used by various systems and controllers.

virtual DtString DtVrfObjectStateRepository::stringFromExtendedData ( const DtString ) const
virtual

Takes the extended data string, and, if xml, will pretty print and remove the quotes from the created reader/writer else just return the string.

virtual const DtAttachedTerrain* DtVrfObjectStateRepository::terrainAttachedTo ( ) const
virtual
virtual void DtVrfObjectStateRepository::setInternalUserData ( const DtString s,
void *   
)
virtual

Internal user data is data that is not saved to the scenario and will last only as long as this internal state lasts. It is only accessible via the local object.

virtual void* DtVrfObjectStateRepository::getInternalUserData ( const DtString ) const
virtual

Internal user data is data that is not saved to the scenario and will last only as long as this internal state lasts. It is only accessible via the local object.

virtual void DtVrfObjectStateRepository::removeInternalUserData ( const DtString )
virtual

Internal user data is data that is not saved to the scenario and will last only as long as this internal state lasts. It is only accessible via the local object.

virtual void DtVrfObjectStateRepository::clearInternalUserData ( )
virtual

Internal user data is data that is not saved to the scenario and will last only as long as this internal state lasts. It is only accessible via the local object.

virtual const InternalUserDataMap& DtVrfObjectStateRepository::internalUserDataMap ( ) const
inlinevirtual

Internal user data is data that is not saved to the scenario and will last only as long as this internal state lasts. It is only accessible via the local object.

virtual void DtVrfObjectStateRepository::createLegacyRWData ( )
overrideprotectedvirtual
virtual void DtVrfObjectStateRepository::restoreFromLegacyRWData ( )
overrideprotectedvirtual
virtual void DtVrfObjectStateRepository::setToLegacyRWData ( )
overrideprotectedvirtual
virtual void DtVrfObjectStateRepository::embarkedParentDeleted ( )
protectedvirtual

Called when the embarked parent is deleted.

Reimplemented in DtHumanStateRepository.

virtual bool DtVrfObjectStateRepository::createResourceDatabaseLogger ( )
protectedvirtual

Creates and sets myResourceDbLogger.

static void DtVrfObjectStateRepository::taskCompleteCallback ( const DtVrfObjectMessage msg,
void *  usr 
)
static

Handles state changes for the subtask status list.

virtual void DtVrfObjectStateRepository::processTaskComplete ( const DtVrfObjectMessage msg)
virtual

Handles state changes for the subtask status list.

static DtVrfObjectStateRepository* DtVrfObjectStateRepository::creator ( const DtString name,
DtLocalObject simObject,
DtReaderWriterRegistry parentRegistry 
)
static
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setDestroyed ( bool  isDestroyed)
virtual

These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header file.

Destroyed status of entity (whether or not appearance()->damageState() is set to DtDamageDestroyed).

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setDamageState ( int  )
virtual

These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header file.

Destroyed status of entity (whether or not appearance()->damageState() is set to DtDamageDestroyed).

virtual VRF4API_METHOD const int DtVrfObjectStateRepository::damageState ( ) const
virtual

These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header file.

Destroyed status of entity (whether or not appearance()->damageState() is set to DtDamageDestroyed).

virtual VRF4API_METHOD int DtVrfObjectStateRepository::damageState ( )
virtual

These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header file.

Destroyed status of entity (whether or not appearance()->damageState() is set to DtDamageDestroyed).

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::isDestroyed ( ) const
virtual

These are backwards compatible methods that can be used if you define ALLOW_VRF4API in your header file.

Destroyed status of entity (whether or not appearance()->damageState() is set to DtDamageDestroyed).

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setConcealed ( bool  )
virtual

Sets weather or not this object is concealed. Call with care as not all objects support this and setting concealed could have effects of actually setting other appearance bits.

virtual VRF4API_METHOD const DtAppearance DtVrfObjectStateRepository::appearance ( ) const
virtual

Encapsulates all the appearance related data and methods currently in the entity state repository. The appearance bits are described in the DIS specification.

virtual VRF4API_METHOD const unsigned int DtVrfObjectStateRepository::appearanceBits ( ) const
virtual

Encapsulates all the appearance related data and methods currently in the entity state repository. The appearance bits are described in the DIS specification.

virtual VRF4API_METHOD unsigned int DtVrfObjectStateRepository::appearanceBits ( )
virtual

Encapsulates all the appearance related data and methods currently in the entity state repository. The appearance bits are described in the DIS specification.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setAppearance ( int  )
virtual

Encapsulates all the appearance related data and methods currently in the entity state repository. The appearance bits are described in the DIS specification.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setAppearance ( const DtAppearance &  app)
virtual

Encapsulates all the appearance related data and methods currently in the entity state repository. The appearance bits are described in the DIS specification.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setCapabilities ( int  cap)
virtual

Gets/sets capabilities of entity This is treated as the DIS capabilities bit field, and does not necessarily change any behaviors of the object.

virtual VRF4API_METHOD int DtVrfObjectStateRepository::capabilities ( ) const
virtual

Gets/sets capabilities of entity This is treated as the DIS capabilities bit field, and does not necessarily change any behaviors of the object.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setPowerPlantOn ( bool  )
virtual
VRF4API_METHOD bool DtVrfObjectStateRepository::powerPlantOn ( ) const
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setFrozen ( bool  )
virtual
VRF4API_METHOD bool DtVrfObjectStateRepository::frozen ( ) const
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setInvisible ( bool  )
virtual

Whether or not this item is invisible to sensors, line of sight, etc. This will set a flag in the extended data.

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::invisible ( ) const
virtual
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setHasPlan ( bool  )
virtual

Whether or not this object has a plan.

VRF4API_METHOD bool DtVrfObjectStateRepository::hasPlan ( ) const
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setExecutingPlan ( bool  )
virtual

Whether or not this object is executing a plan.

VRF4API_METHOD bool DtVrfObjectStateRepository::executingPlan ( ) const
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setOccupantsHidden ( bool  v)
virtual

Whether or not the occupants of an entity are visually hidden. This applies to the non-published occupants inserted into vehicles by the visual system, not to entities that have been embarked onto a vehicle.

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::occupantsHidden ( ) const
virtual

Whether or not the occupants of an entity are visually hidden. This applies to the non-published occupants inserted into vehicles by the visual system, not to entities that have been embarked onto a vehicle.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setInvulnerable ( bool  )
virtual

Whether or not this item is invulnerable.

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::invulnerable ( ) const
virtual
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setUndetectable ( bool  )
virtual

Whether or not this item is undetectable.

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::undetectable ( ) const
virtual
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setInvisibleSetByUser ( bool  )
virtual

Whether or not this item was set invisible by a set command. This can become important when an object is embarked and its invisibility state is changed.

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::invisibleSetByUser ( ) const
virtual
VRF4API_METHOD DtReal DtVrfObjectStateRepository::healthPct ( ) const
Deprecated:
To be removed after VR-Forces version 3.11 The health (appearance->damageState()), as a function of a percentage (0 - 100), where 0 < .30 DtDamageDestroyed .30 < .80 DtDamageModerate .80 < .90 DtDamageSlight

.9 DtDamageNone

VRF4API_METHOD void DtVrfObjectStateRepository::setHealthPct ( DtReal  pct)
Deprecated:
To be removed after VR-Forces version 3.11 The health (appearance->damageState()), as a function of a percentage (0 - 100), where 0 < .30 DtDamageDestroyed .30 < .80 DtDamageModerate .80 < .90 DtDamageSlight

.9 DtDamageNone

VRF4API_METHOD bool DtVrfObjectStateRepository::firePowerKilled ( ) const

Convenience methods for setting setting entity's appearance bits in DtAppearance.

VRF4API_METHOD void DtVrfObjectStateRepository::setFirePowerKilled ( const bool  firePowerKilled)

Convenience methods for setting setting entity's appearance bits in DtAppearance.

VRF4API_METHOD bool DtVrfObjectStateRepository::mobilityKilled ( ) const

Convenience methods for setting setting entity's appearance bits in DtAppearance.

VRF4API_METHOD void DtVrfObjectStateRepository::setMobilityKilled ( const bool  mobilityKilled)

Convenience methods for setting setting entity's appearance bits in DtAppearance.

VRF4API_METHOD bool DtVrfObjectStateRepository::flaming ( ) const

Convenience methods for setting setting entity's appearance bits in DtAppearance.

VRF4API_METHOD void DtVrfObjectStateRepository::setFlaming ( const bool  flaming)

Convenience methods for setting setting entity's appearance bits in DtAppearance.

VRF4API_METHOD bool DtVrfObjectStateRepository::smoking ( ) const

Convenience methods for setting setting entity's appearance bits in DtAppearance.

VRF4API_METHOD void DtVrfObjectStateRepository::setSmoking ( const bool  smoking)

Convenience methods for setting setting entity's appearance bits in DtAppearance.

VRF4API_METHOD bool DtVrfObjectStateRepository::sensorsKilled ( ) const

Indicates that the entity's sensors have been killed.

VRF4API_METHOD void DtVrfObjectStateRepository::setSensorsKilled ( bool  sensorsKilled)
VRF4API_METHOD void DtVrfObjectStateRepository::addSubordinate ( const DtSimObject subordinateEntity)

Adds an entity as a subordinate. Subordinate entity's superior is set to be this entity. By default, the echelon organization is updated. Set the updateEchelonOrg flag to false when you do not want the echelon organization altered as a result of the operation (such as when restoring from file).

VRF4API_METHOD void DtVrfObjectStateRepository::removeSubordinate ( const DtSimObject subordinateEntity)

Removes entity from our list of subordinates.

virtual VRF4API_METHOD DtSimObjectReference DtVrfObjectStateRepository::leadEntity ( )
virtual
Returns
subordinate object with lowest designator, if one exists
virtual VRF4API_METHOD DtSimObjectReference DtVrfObjectStateRepository::firstSubordinate ( )
virtual
Returns
subordinate object with lowest designator, if one exists
virtual VRF4API_METHOD DtSimObjectReference DtVrfObjectStateRepository::lastSubordinate ( )
virtual
Returns
subordinate object with highest designator, if one exists
virtual VRF4API_METHOD DtSimObjectReference DtVrfObjectStateRepository::firstHealthySubordinate ( )
virtual
Returns
first healthy subordinate if it exists, NULL if not.
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setIndependentlyTasked ( bool  value)
virtual

Set/get whether or not this entity is currently independently tasked (separately from its unit).

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::independentlyTasked ( ) const
virtual

Set/get whether or not this entity is currently independently tasked (separately from its unit).

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setEchelonId ( const DtEchelonId echelonId)
virtual

The echelon ID of this object, if it is an organized object. This describes this objects location in the organization hierarchy.

virtual VRF4API_METHOD DtEchelonId DtVrfObjectStateRepository::echelonId ( )
virtual

The echelon ID of this object, if it is an organized object. This describes this objects location in the organization hierarchy.

virtual VRF4API_METHOD const DtEchelonId DtVrfObjectStateRepository::echelonId ( ) const
virtual

The echelon ID of this object, if it is an organized object. This describes this objects location in the organization hierarchy.

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::underFire ( ) const
virtual
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setUnderFire ( bool  underFire)
virtual
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setIsTasked ( bool  )
virtual
VRF4API_METHOD bool DtVrfObjectStateRepository::isTasked ( ) const
virtual VRF4API_METHOD const DtString DtVrfObjectStateRepository::engagementRules ( ) const
virtual
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setEngagementRules ( const DtString engagementRules)
virtual
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setIsSubordinateOfForceLevel ( bool  yesNo)
virtual

Indicates if this object's direct superior is a Force level object.

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::isSubordinateOfForceLevel ( ) const
virtual

Indicates if this object's direct superior is a Force level object.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setupExtendedDataFromParameterData ( )
virtual

If publishing parameter data also include that in the extended data map by name.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::appendExtendedData ( const std::map< DtString, DtString > &  )
virtual

Append extended data to extended data map.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setExtendedData ( const DtString key,
const DtString value 
)
virtual

Extended data is a simply key/value pair of dictionary data. If there are quotes in the data, when written, they will be replaced by a marker such that they can be written/read by reader/writer.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::clearExtendedData ( )
virtual

Extended data is a simply key/value pair of dictionary data. If there are quotes in the data, when written, they will be replaced by a marker such that they can be written/read by reader/writer.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::removeExtendedData ( const DtString key)
virtual

Extended data is a simply key/value pair of dictionary data. If there are quotes in the data, when written, they will be replaced by a marker such that they can be written/read by reader/writer.

virtual VRF4API_METHOD const DtString DtVrfObjectStateRepository::extendedData ( const DtString key) const
virtual

Extended data is a simply key/value pair of dictionary data. If there are quotes in the data, when written, they will be replaced by a marker such that they can be written/read by reader/writer.

virtual VRF4API_METHOD const DtString DtVrfObjectStateRepository::extendedData ( const DtString key)
virtual

Extended data is a simply key/value pair of dictionary data. If there are quotes in the data, when written, they will be replaced by a marker such that they can be written/read by reader/writer.

VRF4API_METHOD const ExtendedData DtVrfObjectStateRepository::extendedDataMap ( ) const

Extended data is a simply key/value pair of dictionary data. If there are quotes in the data, when written, they will be replaced by a marker such that they can be written/read by reader/writer.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setExtendedDataMap ( const ExtendedData )
virtual

Extended data is a simply key/value pair of dictionary data. If there are quotes in the data, when written, they will be replaced by a marker such that they can be written/read by reader/writer.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setExtendedDataMap ( const std::map< std::string, std::string > &  )
virtual

Extended data is a simply key/value pair of dictionary data. If there are quotes in the data, when written, they will be replaced by a marker such that they can be written/read by reader/writer.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setExtendedLabel ( int  ,
const DtString value 
)
virtual

Sets the extended labels for a particular entity. Extended labels are an index/string pair. Index must be > 0. Any item at index 0 is ignored.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::clearExtendedLabels ( )
virtual

Sets the extended labels for a particular entity. Extended labels are an index/string pair. Index must be > 0. Any item at index 0 is ignored.

virtual VRF4API_METHOD DtString DtVrfObjectStateRepository::extendedLabel ( int  index) const
virtual

Sets the extended labels for a particular entity. Extended labels are an index/string pair. Index must be > 0. Any item at index 0 is ignored.

virtual VRF4API_METHOD ExtendedLabels DtVrfObjectStateRepository::extendedLabels ( ) const
virtual

Sets the extended labels for a particular entity. Extended labels are an index/string pair. Index must be > 0. Any item at index 0 is ignored.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setExtendedLabels ( const ExtendedLabels )
virtual

Sets the extended labels for a particular entity. Extended labels are an index/string pair. Index must be > 0. Any item at index 0 is ignored.

VRF4API_METHOD bool DtVrfObjectStateRepository::fuelLevelsFrozen ( ) const
VRF4API_METHOD bool DtVrfObjectStateRepository::munitionLevelsFrozen ( ) const
VRF4API_METHOD bool DtVrfObjectStateRepository::firePowerDisabled ( ) const
VRF4API_METHOD const DtVrfObjectParameters* DtVrfObjectStateRepository::parameters ( ) const
virtual VRF4API_METHOD const DtRwProperties& DtVrfObjectStateRepository::stateProperties ( ) const
virtual

Accesses to the properties.

virtual VRF4API_METHOD DtRwProperties& DtVrfObjectStateRepository::stateProperties ( )
virtual

Returns next frame state properties. Will eventually go away but around for now to prevent really hacking of code.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::setStateProperties ( const DtRwProperties )
virtual

Accesses to the properties.

VRF4API_METHOD const DtRwProperties& DtVrfObjectStateRepository::parameterProperties ( ) const

Access to static (parameter) properties.

virtual VRF4API_METHOD bool DtVrfObjectStateRepository::canHaveSubordinates ( ) const
virtual

This must be called before call to subordinates to see if this object can have subordinates. If you call vrfSubordiantes and this object cannot have subordinates an exception will be thrown.

virtual VRF4API_METHOD DtSubordinateManager* DtVrfObjectStateRepository::vrfSubordinates ( )
virtual

Access to static (parameter) properties.

virtual VRF4API_METHOD const DtSubordinateManager* DtVrfObjectStateRepository::vrfSubordinates ( ) const
virtual

Access to static (parameter) properties.

VRF4API_METHOD const makVrf::DtArticulatedPartManager& DtVrfObjectStateRepository::articulatedParts ( ) const

Access to static (parameter) properties.

VRF4API_METHOD makVrf::DtArticulatedPartManager& DtVrfObjectStateRepository::articulatedParts ( )

Access to static (parameter) properties.

VRF4API_METHOD const DtArticulatedPartCollection& DtVrfObjectStateRepository::artPartList ( ) const

Access to static (parameter) properties.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::addRangeItem ( const DtRangeItem )
virtual

Adds, removes and returns items in the range item list.

virtual VRF4API_METHOD void DtVrfObjectStateRepository::removeRangeItem ( int  index)
virtual
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setRangeItems ( const DtRangeItems )
virtual
VRF4API_METHOD const DtRangeItems& DtVrfObjectStateRepository::rangeItems ( ) const
VRF4API_METHOD DtRangeItems& DtVrfObjectStateRepository::rangeItems ( )
virtual VRF4API_METHOD void DtVrfObjectStateRepository::clearRangeItems ( )
virtual
VRF4API_METHOD const DtSimObject* DtVrfObjectStateRepository::parent ( ) const
virtual VRF4API_METHOD void DtVrfObjectStateRepository::setActivity ( const DtString )
virtual

Get/Set the activity of the unit. Set in the extended data and in state properties (if exists)

virtual VRF4API_METHOD DtString DtVrfObjectStateRepository::activity ( ) const
virtual

Get/Set the activity of the unit. Set in the extended data and in state properties (if exists)

VRF4API_METHOD void DtVrfObjectStateRepository::setBlockParachute ( bool  )

Block parachute flag. Can be used to prevent parachute animations.

VRF4API_METHOD bool DtVrfObjectStateRepository::blockParachute ( ) const

Get/Set the activity of the unit. Set in the extended data and in state properties (if exists)

VRF4API_METHOD bool DtVrfObjectStateRepository::onTerrainSurface ( ) const

Get/Set the activity of the unit. Set in the extended data and in state properties (if exists)

VRF4API_METHOD DtDeadReckonTypes DtVrfObjectStateRepository::deadReckoningAlgorithm ( ) const

Get/Set the activity of the unit. Set in the extended data and in state properties (if exists)

VRF4API_METHOD void DtVrfObjectStateRepository::setDeadReckoningAlgorithm ( DtDeadReckonTypes  deadReckoningAlgorithm)

Get/Set the activity of the unit. Set in the extended data and in state properties (if exists)

VRF4API_METHOD DtThresholder DtVrfObjectStateRepository::deadReckoningThresholder ( ) const

Dead-reckoning threshold parameters.

VRF4API_METHOD void DtVrfObjectStateRepository::setDeadReckoningThresholder ( const DtThresholder &  thresholder)

Get/Set the activity of the unit. Set in the extended data and in state properties (if exists)

Member Data Documentation

boost::signals2::signal<void (DtVrfObjectStateRepository*)> DtVrfObjectStateRepository::signal_postInitFromParams

Signal sent right after initializeFromParameters is called.

boost::signals2::signal<void ()> DtVrfObjectStateRepository::signal_statePropertiesRestored

Signal sent when state properties are restored.

DtVrfStateRepositoryUserExtension* DtVrfObjectStateRepository::myStateRepositoryUserExtension
protected

Data that is "private" to this object in that it should be the only one that is referencing this data, and only in a thread safe way. Thread safety for this data if referenced in multiple threads is not guaranteed.

DtRwNLengthUUIDVector DtVrfObjectStateRepository::myEngagementZones
protected
DtVrfProcessStateRepositoryManager* DtVrfObjectStateRepository::mySystemProcessSRManager
protected
DtSimulationServices* DtVrfObjectStateRepository::mySimulationServices
protected
DtGroundInteractionPt DtVrfObjectStateRepository::myGroundCenter
protected
DtTime DtVrfObjectStateRepository::myLastTimeFiredUpon
protected

Under fire parameters.

DtRwInt DtVrfObjectStateRepository::mySuppressionLevel
protected

The current enumerated level of suppression, derived from the value.

DtRwString DtVrfObjectStateRepository::myNonLethalDamageEffect
protected

The current non lethal damage type (sick, faint, etc.). Default value is empty string.

DtReal DtVrfObjectStateRepository::myMass
protected
DtUUID DtVrfObjectStateRepository::myOccupyingObjectId
protected
DtSimResourceManager DtVrfObjectStateRepository::myResourceManager
protected

This resource manager is used for all the top-level resource only. Component Systems now contain resources, so most components will interact with these resource managers instead.

DtSimSector DtVrfObjectStateRepository::mySectorOfResponsibility
protected

These really apply to a single weapon, and should be part of a weapon controller/actuator suite of some sort.

DtRwBoolean DtVrfObjectStateRepository::myRequestTaskNeeded
protected

Moved here from the DtLocalTaskManager class.

DtTaskStatusList DtVrfObjectStateRepository::myTaskStatusList
protected

Contains the myTasked and myCurrentTaskMsg members from the DtTaskControllerComponent class. It is a list because there may be a number of DtTaskControllerComponents for a given entity.

DtSuspendedTaskStatusList DtVrfObjectStateRepository::mySuspendedTaskStatusList
protected
DtRwInt DtVrfObjectStateRepository::myNextTaskId
protected

The next available ID that can be assigned to a task for this entity.

DtRwInt DtVrfObjectStateRepository::myNextSuspendId
protected
DtRwBoolean DtVrfObjectStateRepository::myParentWasDestroyedWhenEmbarked
protected

Set to true when the entity is embarked on a destroyed parent so they do not become destroyed. If the parent is then restored to a non-destroyed state while the entity is embarked, this will then be set to false.

DtRwBoolean DtVrfObjectStateRepository::myNavigationEnabled
protected

Whether or not this object can navigate in navigation areas. Default is true.

DtRwPriorityTargetListMap DtVrfObjectStateRepository::myTargetPriorityList
protected

Target Priority List.

DtRwStringList DtVrfObjectStateRepository::mySystemsDisabledList
protected

if this object is a subordinate, this is used to write out the name of the parent

InternalUserDataMap DtVrfObjectStateRepository::myInternalUserDataMap
protected
DtRwUUID DtVrfObjectStateRepository::myUserTarget
protected
DtRwProperties DtVrfObjectStateRepository::myInternalStateProperties
protected
DtSimObjectStateRepositoryFactory* DtVrfObjectStateRepository::theFactory
staticprotected
double DtVrfObjectStateRepository::myMinTickPeriod
protected

For performance and memory usage reasons, the copy of the parameter entry that used to be made when creating a state repository is no longer made when the state repository is initialized.

For variable tick rate support

double DtVrfObjectStateRepository::myMinTickPeriodVariance
protected
double DtVrfObjectStateRepository::myNextTickTime
protected
double DtVrfObjectStateRepository::myLastTickSimTime
protected
DtSensorContactInfoList DtVrfObjectStateRepository::myObjectContactList
protected

The situational awareness of this object. List of other objects that this object is currently aware of.

DtWeaponInfoList* DtVrfObjectStateRepository::myWeaponInfoList
protected

List of WeaponInfo classes that provide data on all weapons that have made their information available to the rest of the entity.

std::vector<DtString> DtVrfObjectStateRepository::myStatePropertiesNotToBeRestored
protected

The list of state properties that should not be updated by restoreStateProperties.

JoystickControls DtVrfObjectStateRepository::myJoystickControls
protected

Map of available joystick controls for this particular entity.

bool DtVrfObjectStateRepository::myJoystickMovementControlled
protected

If true movement is controlled by joystick so will not be able to be taskable as a subordinate.

bool DtVrfObjectStateRepository::myPaused
protected
DtSimResourceManager* DtVrfObjectStateRepository::myResourcesToUpgrade = nullptr
protected
DtPlatformLocalObjectFacade DtVrfObjectStateRepository::myPlatformLocalObjectFacade
protected
DtResourceDatabaseLogger* DtVrfObjectStateRepository::myResourceDbLogger
protected

Resource logger for logging resource information to a database, if enabled.

bool DtVrfObjectStateRepository::myReinitializing = false
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)