![]() |
VR-Forces 4.5 Class Documentation
|
This repository holds all information that is common to all bomb entities. More...

Public Member Functions | |
| DtBombStateRepository (DtVrfObject *vrfObject, const DtObjectType &objectType, DtVrfObjectParameters *parameters, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| Constructor with parameters to set up read/writability correctly. | |
| DtBombStateRepository (const DtBombStateRepository &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| const DtBombStateRepository & | operator= (const DtBombStateRepository &orig) |
| assignment operator | |
| virtual | ~DtBombStateRepository () |
| destructor | |
| virtual DtSimObjectStateRepository * | clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const |
| virtual DtString | type () const |
| Returns DtBombEntityStateRepositoryType, as defined in vrfSRTypes.h. | |
| virtual const int | vrfMovingObjectStateRepositorySubType () const |
| Returns DtVrfMovingObjectStateRepositorySubTypeBomb. | |
| virtual const int | bombEntityStateRepositorySubType () const |
| Returns DtBombEntityStateRepositorySubTypeBase. | |
| virtual bool | createParameters () |
| Creates a new instance of DtBombParameters. | |
| virtual void | initializeFromParameters () |
| Copies values from the bomb parameters and then passes the call down to DtVrfMovingObjectStateRepository. | |
| virtual const DtBombParameters * | bombParameters () const |
| Convenience function which accesses the parameter entry from the base class and casts it to a DtBombParameters. | |
| virtual DtReal | maxRange () const |
| Set/Get the max range which can be achieved when the bomb is released, see myMaxRange. | |
| virtual void | setMaxRange (const DtReal range) |
| virtual DtReal | maxRangeAltitude () const |
| Set/Get the max range altitude, see myMaxRangeAltitude. | |
| virtual void | setMaxRangeAltitude (const DtReal range) |
| virtual DtReal | cepRadius () const |
| Set/Get the Circular Error Probable radius (CEP), see myCepRadius. | |
| virtual void | setCepRadius (const DtReal cepRadius) |
Public Member Functions inherited from DtVrfMovingObjectStateRepository | |
| DtVrfMovingObjectStateRepository (DtVrfObject *vrfObject, const DtObjectType &objectType, DtVrfObjectParameters *parameters, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| Constructor. | |
| DtVrfMovingObjectStateRepository (const DtVrfMovingObjectStateRepository &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| Copy Constructor. | |
| DtVrfMovingObjectStateRepository & | operator= (const DtVrfMovingObjectStateRepository &orig) |
| Assignment Operator. | |
| virtual | ~DtVrfMovingObjectStateRepository () |
| Destructor. | |
| virtual void | tick () |
| Tick function. | |
| virtual const int | vrfObjectStateRepositorySubType () const |
| Returns DtVrfObjectStateRepositorySubTypeMoving. | |
| virtual void | addRangeItem (const DtRangeItem &) |
| If this range item is a sensor range item and there is more than one sensor range item, will either add or modify the "Maximum Sensor Range" ring to have the maximum sensor range of all sensors. | |
| virtual void | setRangeItems (const DtRangeItems &) |
| virtual void | removeRangeItem (int index) |
| virtual void | updateMaximumSensorRangeRing () |
| Updates/adds (as needed) the Maximum Sensor Range ring. | |
| virtual const DtMovingObjectParameters * | movingObjectParameters () const |
| virtual bool | canPivot () const |
| virtual void | setCanPivot (const bool canPivot) |
| virtual DtReal | maxPivotSpeed () const |
| virtual void | setMaxPivotSpeed (DtReal maxPivotSpeed) |
| virtual const DtGroundInteractionPt * | rightSupport () const |
| ground contact points | |
| virtual DtGroundInteractionPt * | rightSupport () |
| virtual void | setRightSupport (const DtVector &vec) |
| virtual const DtGroundInteractionPt * | leftSupport () const |
| virtual DtGroundInteractionPt * | leftSupport () |
| virtual void | setLeftSupport (const DtVector &vec) |
| virtual const DtGroundInteractionPt * | otherSupport () const |
| virtual DtGroundInteractionPt * | otherSupport () |
| virtual void | setOtherSupport (const DtVector &vec) |
| virtual DtReal | maxSpeed () const |
| virtual void | setMaxSpeed (const DtReal speed) |
| virtual DtReal | maxReverseSpeed () const |
| virtual void | setMaxReverseSpeed (const DtReal speed) |
| virtual DtReal | turningRadius () const |
| virtual void | setTurningRadius (const DtReal turningRadius) |
| virtual DtReal | maxSlope () const |
| virtual void | setMaxSlope (const DtReal slope) |
| virtual DtReal | orderedSpeedConstrained () const |
| Ordered speed, limited to maximum speed (or maxReverseSpeed if < 0.0). | |
| virtual DtReal | orderedAltitude () const |
| As specified by a setAltitude command, or the Z parameter of a destination waypoint. | |
| virtual bool | orderedAltitudepecified () const |
| virtual void | setOrderedAltitude (DtReal orderedAltitude) |
| virtual void | setOrderedAltitudeSpecified (bool) |
| virtual DtReal | maxAcceleration () const |
| virtual void | setMaxAcceleration (const DtReal maxAcceleration) |
| virtual DtReal | maxStoppingDeceleration () const |
| virtual void | setMaxStoppingDeceleration (const DtReal maxStoppingDeceleration) |
| virtual DtReal | maxLateralAcceleration () const |
| This factor constrains how quickly an entity can turn while moving at a given speed. | |
| virtual void | setMaxLateralAcceleration (const DtReal maxLateralAcceleration) |
| virtual DtReal | fuelEfficiency () const |
| virtual void | setFuelEfficiency (const DtReal fuelEfficiency) |
| virtual DtReal | inverseStoppingDeceleration () const |
| Set by setting maxStoppingDeceleration. | |
| virtual bool | forward () const |
| virtual void | setForward (const bool forward) |
| virtual bool | amClampedToGround () const |
| Specifies whether we're clamped to the ground or not. | |
| virtual void | setAmClampedToGround (const bool clamp) |
| virtual bool | usingRailMovement () const |
| Specifies the entity's desired movement strategy. | |
| virtual void | setUsingRailMovement (const bool rails) |
| virtual void | clampToGround (const DtVector &location, const DtReal heading, bool *dataAvailable=0, bool requireAllData=false) |
| Place entity on ground at location and heading. | |
| virtual void | clampToGround (const DtVector &location, const DtReal heading, bool gravityAligned, bool *dataAvailable=0, bool requireAllData=false) |
| Clamps to ground with/without being aligned to gravity. | |
| virtual void | updateSupportPoints (const DtVector &newPosition, const DtReal newHeading) |
| When reading in a scenario, want to make sure the support points get set up properly. | |
| virtual DtVector | parentPosition () |
| Returns parentPosition in kinematic state. | |
| virtual void | place (const DtVector &location, bool *dataAvailable=0, bool requireAllData=false) |
| Place entity at 'location', on the ground, keeping its current heading. | |
| virtual void | place (const DtReal heading, bool *dataAvailable=0, bool requireAllData=false) |
| Give entity the specified 'heading', but stay at its current location. | |
| virtual void | place (const DtVector &location, const DtReal heading, bool clampToGroundFlag=true, bool *dataAvailable=0, bool requireAllData=false) |
| Place entity at specified 'location' and 'heading'. | |
| virtual void | placeAtAltitude (const DtVector &location, const DtReal heading) |
| Places entity at altitude regardless of terrain. | |
| virtual void | setDIGuyCharacterInfo (DtRwDIGuyCharacterInfo *info) |
| Current DI-Guy character data–Our character type, current appearance and. | |
| virtual DtRwDIGuyCharacterInfo * | diGuyCharacterInfo () |
| virtual DtReal | orderedSpeed () const |
| Can be set from a parameter file or by the user with a set speed command, this is not constrained by maximum speed. | |
| virtual void | setOrderedSpeed (const DtReal speed) |
| virtual DtReal | maneuverAggressiveness () const |
| Indicates the fraction (value between 0 and 1) of maximum acceleration, G forces, etc. | |
| virtual void | setManeuverAggressiveness (const DtReal fraction) |
| virtual bool | haveSupplies () const |
| Accessor/mutator for myHaveSupplies. | |
| virtual void | setHaveSupplies (const bool doHave) |
| virtual double | nextSupplyCheckTime () const |
| Accessor/mutator for myNextSupplyCheckTime. | |
| virtual void | setNextSupplyCheckTime (const double time) |
| virtual void | setDIGuyCharacter (const DtString &character) |
| The DI-Guy Character string for this entity. | |
| virtual const DtString & | dIGuyCharacter () const |
| virtual void | setDIGuyAnimation (const DtString &animation) |
| The current DI-Guy animation the entity is displaying. | |
| virtual const DtString & | dIGuyAnimation () const |
| virtual void | setDIGuyBodyWeight (double w) |
| The current DI-Guy body weight. | |
| virtual double | dIGuyBodyWeight () const |
| virtual void | setDIGuyAppearance (const DtString &app) |
| The current Di-Guy character appearance of the entity. | |
| virtual const DtString & | dIGuyAppearance () const |
| virtual void | setDIGuyHandItem (const DtString &app) |
| The current Di-Guy character hand item of the entity. | |
| virtual const DtString & | dIGuyHandItem () const |
| virtual void | setDIGuyHead (const DtString &app) |
| The current Di-Guy character head of the entity. | |
| virtual const DtString & | dIGuyHead () const |
Public Member Functions inherited from DtVrfObjectStateRepository | |
| DtVrfObjectStateRepository (DtVrfObject *vrfObject, const DtObjectType &objectType, DtVrfObjectParameters *parameters, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| Constructor. | |
| DtVrfObjectStateRepository (const DtVrfObjectStateRepository &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| Copy Constructor. | |
| const DtVrfObjectStateRepository & | operator= (const DtVrfObjectStateRepository &orig) |
| Assignment Operator. | |
| virtual | ~DtVrfObjectStateRepository () |
| Destructor. | |
| virtual const int | objectStateRepositorySubType () const |
| Returns DtSimObjectStateRepositorySubTypeVrfObject. | |
| virtual bool | init () |
| Our 'virtual' constructor. Calls all the create<>() methods. | |
| virtual const DtVrfObjectParameters * | vrfParameters () const |
| virtual void | setConcealed (bool) |
| Sets weather or not this object is concealed. | |
| virtual void | setJoystickMovementControlled (bool) |
| If true movement is controlled by joystick so will not be able to be taskable as a subordinate. | |
| virtual bool | joystickMovementControlled () const |
| virtual DtVrfStateRepositoryUserExtension * | userExtension () const |
| User extension to state repository class. | |
| virtual void | restoreEntity () |
| Called on a setRestore command, sets destroyed to false and sets resources to initial (parameter file) levels. | |
| virtual void | restoreResourcesFromParameters () |
| virtual bool | inSOR (const DtVrfObject *entity) const |
| virtual const DtString & | engagementRules () const |
| virtual void | setEngagementRules (const DtString &engagementRules) |
| virtual bool | isTasked () const |
| Returns true if entity is currently executing a task (at least one component must be tasked), false otherwise. | |
| virtual void | clearCurrentTaskMsg (const DtSymbolString &componentName) |
| Clear all the tasks with the specified component name. | |
| virtual void | clearCurrentTaskMsg (const DtSymbolString &componentName, int taskId) |
| Clear the task with specified taskId and the specified component name. | |
| virtual const DtTaskStatusList * | taskStatusList () const |
| virtual DtTaskStatusList * | taskStatusList () |
| virtual DtSuspendedTaskStatusList * | suspendedTaskStatusList () |
| virtual DtTaskMessage * | currentTaskMsg (const DtSymbolString &componentName) const |
| Get the current task message. | |
| virtual DtTaskMessage * | currentTaskMsg (const DtSymbolString &componentName, int taskId) const |
| Get the current task message for the specified component and task ID. | |
| virtual std::list < DtTaskMessage * > | allCurrentTaskMsg (const DtSymbolString &componentName) const |
| virtual void | putSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtReaderWriter::appPath()) |
| Top level call to write itself to file. | |
| virtual bool | placePoints (DtAttachedTerrain &attachedTerrain, std::vector< DtGroundInteractionPt * > groundInteractionPts, bool *terrainDataAvailable=0) |
| Positions list of ground interaction points on the terrain surface closest to the specified location. | |
| virtual const DtVrfObjectParameters * | parameters () const |
| virtual DtVrfObjectParameters * | modifiableParameters () |
| A modifiable local copy of parameters. | |
| virtual void | setupParameterInheritance () |
| Called by init(). | |
| virtual bool | createAttachments () |
| Override to create derived DtVrfAttachmentManager. | |
| void | addPart (DtArticulatedPartStateRepository *part) |
| These will be replaced by equivalents in the attachment manager. | |
| void | removePart (DtArticulatedPartStateRepository *part) |
| DtArticulatedPartStateRepository * | part (DtArtPartType partType) |
| DtArticulatedPartStateRepository * | findDescendantByType (DtArtPartType childType) |
| virtual void | setInvisible (bool) |
| Whether or not this item is invisible to sensors, line of sight, etc. | |
| virtual bool | invisible () const |
| virtual void | setInvulnerable (bool) |
| Whether or not this item is invulnerable. | |
| virtual bool | invulnerable () const |
| virtual void | setInvisibleSetByUser (bool) |
| Whether or not this item was set invisible by a set command. | |
| virtual bool | invisibleSetByUser () const |
| bool | isEntity () const |
| bool | isLocal () const |
| bool | isAggregate () const |
| void | addSubordinate (DtVrfObject *subordinateEntity) |
| Adds an entity as a subordinate. | |
| void | removeSubordinate (DtVrfObject *subordinateEntity) |
| Removes entity from our list of subordinates. | |
| virtual DtSharedVrfObjectReference | leadEntity () const |
| virtual DtSharedVrfObjectReference | firstSubordinate () const |
| virtual DtSharedVrfObjectReference | lastSubordinate () const |
| virtual DtSharedVrfObjectReference | firstHealthySubordinate () const |
| virtual void | timedTick () |
| This version of tick checks to see if the time to tick has arrived (myNextTickTime <= exerciseClock()->approximateElapsedRealTime()). | |
| virtual void | setMinTickPeriod (double minTickPeriod) |
| specifies a minimum tick period (which can also be thought of as | |
| virtual double | minTickPeriod () const |
| access the minimum tick period | |
| virtual void | setMinTickPeriodVariance (double minTickPeriodVariance) |
| set the variance in the minimum tick time | |
| virtual double | minTickPeriodVariance () const |
| access the variance in the minimum tick period | |
| virtual void | setNextTickTime (double nextTickTime) |
| The next tick time is normally calculated internally. | |
| virtual double | nextTickTime () const |
| access the next tick time | |
| virtual double | calculateNextTickTime () const |
| The next tick time is equal to mySimManager->exerciseClock()-> approximateElapsedRealTime() + myMinTickPeriod + a random # between -myMinTickPeriodVariance/2. | |
| virtual bool | createSubordinates () |
| virtual DtVrfSubordinateManager * | vrfSubordinates () |
| virtual const DtVrfSubordinateManager * | vrfSubordinates () const |
| virtual bool | createProcessStateRepositoryManager () |
| virtual const DtTaitBryan & | localOrientationWrtDatabase () const |
| Euler angles with respect to the local (database) coordinate system, in radians. | |
| virtual void | setLocalOrientationWrtDatabase (const DtTaitBryan &localOrientation) |
| virtual DtVrfWeaponPSR * | firstWeaponPSR () const |
| This is provided for backward compatibility with setTarget capabilities. | |
| virtual void | processObjectGeometry (const DtList &vertices) |
| Processes a list of DtVectors, such as might come in a create or modify message. | |
| virtual void | processObjectGeometry (const DtLocalVertexList &vertices) |
| virtual void | processObjectGeometry () |
| This form allows processObjectGeometry()'s bounding volume calculations to be done on it's current geometry (by making a copy first). | |
| virtual const DtVrfObjectParameters * | vrfBaseParameters () const |
| virtual DtGroundInteractionPt * | groundCenter () |
| virtual const DtGroundInteractionPt * | groundCenter () const |
| virtual const DtVector & | getPartAttachPoint (const int partType) const |
| virtual void | updatePositionFromModelVertices () |
| Note that this is not currently ever called. | |
| virtual void | updateBVolFromModelVertices () |
| virtual DtReal | mass () const |
| virtual void | setMass (const DtReal mass) |
| virtual const DtArticulatedPartCollection * | artPartList () const |
| Get the list of articulated parts specified in the component descriptor. | |
| virtual void | createParts () |
| This causes the art part tree to be created. | |
| virtual DtTime | lastTimeFiredUpon () const |
| virtual void | setLastTimeFiredUpon (const DtTime time) |
| virtual bool | underFire () const |
| virtual void | setUnderFire (bool underFire) |
| virtual DtDeadReckonTypes | deadReckoningAlgorithm () const |
| virtual void | setDeadReckoningAlgorithm (DtDeadReckonTypes deadReckoningAlgorithm) |
| virtual void | putData (std::string &fp, int indentLevel=0) |
| Override putData to set myParent using the organization manager before saving. | |
| virtual int | nextTaskId () |
| Returns next unique task id for this entity. | |
| virtual int | nextSuspendId () |
| virtual DtTaskMessage * | pendingSubtask (int subtaskId, DtString &controller) const |
| Returns the current subtask with the specified id. | |
| virtual bool | taskedBySuperiorUponTaskComplete () const |
| Returns true if entity should automatically resume being tasked by superior upon completion of its current top-level task, false otherwise. | |
| virtual void | setParentWasDestroyedWhenEmbarked (bool) |
| virtual bool | parentWasDestroyedWhenEmbarked () const |
| virtual void | detachFromParent () |
| virtual void | attachToParent (DtSimObjectStateRepository *parent) |
| Adds this state repository to the given parent's list of attached state repositories and updates myAttachedToRepository and myRootSimStateRepository. | |
| virtual void | attachToParent (const DtUUID &parent) |
| Looks up the parent state repository using the given echelon ID and puts it in a call to attachToParent. | |
| virtual void | addAttachedTerrain (const DtUUID &parent) |
| Asks the sim manager to look up the object model for the requested database. | |
| virtual void | removeAttachedTerrain (const DtUUID &parent) |
| Decreases reference count of terrain model by name of object. | |
| Dt3dBoundingVolume * | boundingVolume () const |
| Convenience method for accessing entity's bounding volume, stored in myObjectGeometry. | |
| DtVector | localBoundingVolumeCenterPosition () const |
| Gets the local coordinates of the bounding volume center. | |
| DtReal | forwardSpeed () const |
| virtual void | restoreStateProperties () |
| Restores state properties to their default settings. | |
| virtual void | initStatePropertiesNotToBeRestored () |
| Initializes the list of state properties which should not be restored. | |
| const DtRangeItems & | rangeItems () const |
| DtRangeItems & | rangeItems () |
| virtual void | clearRangeItems () |
| DtAttachedTerrain * | terrainAttachedTo () const |
| virtual boost::tribool | onTerrainSurface () const |
| virtual double | sensorSignature (const DtSymbolString &sensorDomain) const |
| Returns the current absolute signature for this object in the specified sensor domain. | |
| virtual std::list< DtSymbolString > | sensorSignatureDomains () const |
| virtual DtString | stringFromExtendedData (const DtString &) const |
| 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 std::map< DtString, DtString > | unarchivedData () const |
| Extended data that is not archived that is currently in the extended data list. | |
| virtual void | appendExtendedData (const std::map< DtString, DtString > &) |
| Append extended data to extended data map. | |
| virtual DtVrfObjectStateRepository * | toVrfObjectStateRepository () |
| virtual const DtVrfObjectStateRepository * | toVrfObjectStateRepository () const |
| virtual void | setExtendedData (const DtString &key, const DtString &value) |
| virtual void | clearExtendedData () |
| virtual void | removeExtendedData (const DtString &key) |
| virtual DtString | extendedData (const DtString &key) const |
| const ExtendedData & | extendedDataMap () const |
| virtual void | setExtendedDataMap (const ExtendedData &) |
| virtual void | setExtendedDataMap (const std::map< std::string, std::string > &) |
| virtual void | setupExtendedDataFromParameterData () |
| If publishing parameter data also include that in the extended data map by name. | |
| virtual void | setExtendedLabel (int, const DtString &value) |
| virtual void | clearExtendedLabels () |
| virtual DtString | extendedLabel (int index) const |
| virtual ExtendedLabels | extendedLabels () const |
| virtual void | setExtendedLabels (const ExtendedLabels &) |
| virtual void | addJoystickControls (const DtRwJoystickControls &) |
| virtual const JoystickControls & | joystickControls () const |
| virtual void | setActivity (const DtString &) |
| virtual DtString | activity () const |
| virtual const DtObjectResourceManager * | objectResourceManager () const |
| virtual DtObjectResourceManager * | objectResourceManager () |
| virtual const DtSimResourceManager & | oldResourceManager () const |
| Returns a reference to our resource manager. | |
| virtual DtSimResourceManager & | oldResourceManager () |
| virtual DtSimResource * | oldLookupResource (const DtString &resourceName) |
| Gets a pointer to the resource named resourceName. | |
| virtual const DtSimResource * | oldLookupResource (const DtString &resourceName) const |
| virtual void | oldAddResource (DtSimResource *resource) |
| This does a clone of the resource and puts it on our main list, as well as adding the resource to the hash index. | |
| virtual void | oldRemoveResource (DtSimResource *resource) |
| This removes and deletes the specified resource. | |
| virtual void | setSOR (DtReal center, DtReal size) |
| Sector of responsibility. | |
| virtual DtReal | SORSize () const |
| virtual DtReal | SORCenter () const |
| virtual const DtSimSector & | SOR () const |
| virtual void | setRequestTaskNeeded (bool value) |
| Set/get whether or not this needs to send a request task needed message. | |
| virtual bool | requestTaskNeeded () const |
| virtual void | setTasked (const DtSymbolString &componentName, bool tasked) |
| Set/get whether or not a given entity component currently executing a task. | |
| virtual void | setTasked (const DtSymbolString &componentName, int taskID, bool tasked) |
| virtual bool | tasked (const DtSymbolString &componentName) const |
| virtual void | setCurrentTaskMsg (const DtSymbolString &componentName, const DtTaskMessage &taskMsg) |
| Set the current task message. | |
| virtual void | setCurrentTaskMsg (const DtSymbolString &componentName, const DtTaskMessage &taskMsg, int taskId) |
| virtual void | setIndependentlyTasked (bool value) |
| Set/get whether or not this entity is currently independently tasked (separately from its unit). | |
| virtual bool | independentlyTasked () const |
| virtual const DtVrfObjectParameters * | parameterEntry () const |
| If a clone has been created, this call will return the cloned entry as a const pointer, else returns the original pointer. | |
| virtual void | setParameterEntry (DtVrfObjectParameters *parameterEntry) |
| virtual DtForceType | forceType () const |
| Get/Set the force type (team) of this entity. | |
| virtual void | setForceType (DtForceType force) |
| virtual bool | createAppearance () |
| Encapsulates all the appearance related data and methods currently in the entity state repository. | |
| virtual const DtAppearance * | appearance () const |
| virtual DtAppearance * | appearance () |
| virtual void | setCapabilities (int cap) |
| 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 int | capabilities () const |
| void | setDestroyed (bool isDestroyed) |
| Destroyed status of entity (whether or not appearance()->damageState() is set to DtDamageDestroyed). | |
| bool | isDestroyed () const |
| DtReal | healthPct () const |
| void | setHealthPct (DtReal pct) |
| bool | firePowerKilled () const |
| Convenience methods for setting setting entity's appearance bits in DtAppearance. | |
| void | setFirePowerKilled (const bool firePowerKilled) |
| bool | mobilityKilled () const |
| void | setMobilityKilled (const bool mobilityKilled) |
| bool | flaming () const |
| void | setFlaming (const bool flaming) |
| bool | smoking () const |
| void | setSmoking (const bool smoking) |
| virtual DtVrfSubordinateManager * | subordinates () |
| virtual const DtVrfSubordinateManager * | subordinates () const |
| virtual DtSimManager * | simManager () |
| virtual const DtSimManager * | simManager () const |
| virtual DtPhysicalWorld * | physicalWorld () |
| virtual const DtPhysicalWorld * | physicalWorld () const |
| virtual const DtVrfProcessStateRepositoryManager * | systemProcessStateRepositoryManager () const |
| virtual DtVrfProcessStateRepositoryManager * | systemProcessStateRepositoryManager () |
| virtual const DtThresholder & | deadReckoningThresholder () const |
| Dead-reckoning threshold parameters. | |
| virtual void | setDeadReckoningThresholder (const DtThresholder &thresholder) |
| virtual const DtEntityIdentifier & | occupyingObjectId () const |
| We hold the id of the object we are occupying. | |
| virtual void | setOccupyingObjectId (const DtEntityIdentifier &objId) |
| virtual void | setEchelonId (const DtEchelonId &echelonId) |
| The echelon ID of this object, if it is an organized object. | |
| virtual DtEchelonId & | echelonId () |
| virtual const DtEchelonId & | echelonId () const |
| virtual void | setIsSubordinateOfForceLevel (bool yesNo) |
| Indicates if this object's direct superior is a Force level object. | |
| virtual bool | isSubordinateOfForceLevel () const |
| virtual int | spawningTaskId (int subtaskId) const |
| Functions for manipulating the set of pending subtask Ids for all components in the entity. | |
| 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< int > | currentPendingSubstaskIds (const DtSymbolString &componentName) const |
| virtual std::vector< int > | currentPendingSubstaskIds (const DtSymbolString &componentName, int taskId) const |
| virtual DtSubtaskStatusEntry * | pendingSubtaskStatus (const DtSymbolString &componentName, int subtaskId) |
| virtual DtSubtaskStatusEntry * | pendingSubtaskStatus (const DtSymbolString &componentName, int taskId, int subtaskId) |
| DtReal | currentSpeed () const |
| Returns magnitude of relative velocity in state repository. | |
| DtReal | currentHeading () const |
| Heading in radians. Calls down to DtVrfKinematicState for heading. | |
| void | setCurrentHeading (const DtReal heading) |
| virtual void | addPostInitFromParamsCallback (DtPostInitializeFromParametersCallbackFcn fcn, void *usr) |
| Add/remove callback function to be invoked immediately following execution of initializeFromParameters. | |
| virtual void | removePostInitFromParamsCallback (DtPostInitializeFromParametersCallbackFcn fcn, void *usr) |
| virtual DtRwProperties & | stateProperties () |
| Accesses to the properties. | |
| virtual const DtRwProperties & | stateProperties () const |
| virtual DtRwProperties & | parameterProperties () |
| Access to static (parameter) properties. | |
| virtual const DtRwProperties & | parameterProperties () const |
| virtual DtSensorContactInfoList & | objectContactList () |
| Situational awareness of this object. | |
| virtual const DtSensorContactInfoList & | objectContactList () const |
| virtual suppressionLevels | suppressionLevel () const |
| virtual void | setSuppressionLevel (const suppressionLevels l) |
| virtual bool | isSuppressed () const |
| virtual bool | processCompleteAttachment (DtVrfObject *) |
| These callbacks are used to set myAttachedToStateRepository when this ent gets attached/detached to/from its parent. | |
| virtual void | processObjectAboutToBeRemovedCallback (DtVrfObject *vrfObject) |
| virtual void | processTaskComplete (const DtVrfObjectMessage *msg) |
Public Member Functions inherited from DtSimObjectStateRepository | |
| DtSimObjectStateRepository (DtVrfObject *simObject, const DtObjectType &objectType, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| const DtSimObjectStateRepository & | operator= (const DtSimObjectStateRepository &orig) |
| virtual | ~DtSimObjectStateRepository () |
| virtual const DtObjectType & | objectType () const |
| virtual void | setObjectType (const DtObjectType &objectType) |
| virtual bool | createKinematicState () |
| Creates a DtVrfKinematicState. | |
| virtual DtVrfKinematicState * | vrfKinematicState () |
| virtual const DtVrfKinematicState * | vrfKinematicState () const |
| virtual bool | createObjectGeometry () |
| virtual DtVrfObjectGeometry * | vrfObjectGeometry () |
| virtual const DtVrfObjectGeometry * | vrfObjectGeometry () const |
| virtual DtAttachmentManager * | attachments () |
| virtual const DtAttachmentManager * | attachments () const |
| virtual DtSimObjectStateRepository * | parent () |
| virtual const DtSimObjectStateRepository * | parent () const |
| virtual bool | isEmbarkedOn (const DtUUID &parent) const |
| virtual const DtUUID & | attachedToRepository () |
| virtual DtSimObjectStateRepository * | findRootSimStateRepository () |
| virtual const DtSimObjectStateRepository * | findRootSimStateRepository () const |
| virtual void | ancestorObjectChanged () |
| virtual void | preGetSelf () |
| Hook function called immediately prior to getSelf(). | |
| virtual void | postGetSelf () |
| Hook function called immediately following getSelf(). | |
| virtual void | setCoordinateSystem (const Coordinate_System *coordinateSystem) |
| Sets the coordinate system in myObjectGeometry and myKinematicState. | |
| virtual DtVrfObject * | vrfObject () |
| virtual const DtVrfObject * | vrfObject () const |
| virtual void | setVrfObject (DtVrfObject *vrfObject) |
| virtual DtSimKinematicState * | kinematicState () |
| virtual const DtSimKinematicState * | kinematicState () const |
| virtual DtVrfObjectGeometry * | objectGeometry () |
| virtual const DtVrfObjectGeometry * | objectGeometry () const |
| virtual const DtVector & | bodyPosition () const |
| Now superseded by kinematic state parentCS functions. | |
| virtual void | setBodyPosition (const DtVector &pos) |
| Formerly setMeInParent. | |
| virtual void | setBodyPosition (DtFloat64 x, DtFloat64 y, DtFloat64 z) |
| const DtDcm & | bodyOrientationMatrix () const |
| Formerly meToParent(). | |
| virtual void | embarkOnParent (const DtUUID &parent) |
| Embarks this entity on the specified parent. | |
| virtual bool | leftOf (const DtVector &localVector) const |
| virtual bool | inside (const DtVector &point) const |
| virtual double | distanceToLocalVector (const DtVector &localVector) const |
| Returns the distance from a position in local. | |
| const Coordinate_System * | coordinateSystem () const |
| virtual void | removeVertex (int iIndex) |
| These routines simply call down to the kinematic state to get/set the results. | |
| virtual void | addLocalVertex (const DtVector &vertex) |
| virtual void | addLocalVertex (const DtVector &vertex, DtVector &newGeometricCenter) |
| virtual void | setLocalVertices (const DtLocalVertexList &vertices, DtVector &newGeometricCenter) |
| virtual void | setLocalVertices (const DtList &vertices, DtVector &newGeometricCenter) |
| virtual const DtLocalVertexList & | localVertices () const |
| virtual const DtLocalVectorIterator & | localVertexIterator () const |
| virtual void | addWorldVertex (const DtVector &vertex, DtVector &newGeometricCenter) |
| virtual void | setWorldVertices (const DtVertexList &vertices, DtVector &newGeometricCenter) |
| virtual void | setWorldVertices (const DtList &vertices, DtVector &newGeometricCenter) |
| virtual const DtVertexList & | worldVertices () const |
| virtual const DtRwVectorIterator & | worldVertexIterator () const |
| virtual void | setRelativeVertices (const DtLocalVertexList &vertices) |
| Access/modify vertices relative to to the parent to which this object is attached. | |
| virtual void | setRelativeVertices (const DtList &vertices) |
| virtual const DtLocalVertexList & | relativeVertices () const |
| virtual const DtLocalVectorIterator & | relativeVertexIterator () const |
| const DtVector & | localPosition () const |
| Convenience methods for accessing corresponding methods in DtVrfKinematicState. | |
| void | setLocalPosition (const DtVector &pos) |
| const DtVector & | localVelocity () const |
| void | setLocalVelocity (const DtVector &vel) |
| const DtVector & | localAcceleration () const |
| void | setLocalAcceleration (const DtVector &acc) |
| const DtVector & | relativeVelocity () const |
| void | setRelativeVelocity (const DtVector &vel) |
| const DtVector & | relativeAcceleration () const |
| void | setRelativeAcceleration (const DtVector &acc) |
| const DtTaitBryan & | localOrientation () const |
| void | setLocalOrientation (const DtTaitBryan &angles) |
| const DtVector & | worldPosition () const |
| void | setWorldPosition (const DtVector &pos) |
| const DtVector & | worldVelocity () const |
| void | setWorldVelocity (const DtVector &vel) |
| const DtVector & | worldAcceleration () const |
| void | setWorldAcceleration (const DtVector &acc) |
| const DtTaitBryan & | worldOrientation () const |
| void | setWorldOrientation (const DtTaitBryan &angles) |
| const DtVector & | rotationalVelocity () const |
| void | setRotationalVelocity (const DtVector &rotationalVelocity) |
| const DtDcm & | localOrientationMatrix () const |
| void | setLocalOrientationMatrix (const DtDcm &orient) |
| void | setParentPosition (const DtVector &pos) |
| const double | lastPositionSetTime () const |
| Indicates the last time the position was set, so that a precise position at the current time may be computed. | |
| void | setLastPositionSetTime (const double simTime) |
Public Member Functions inherited from DtReaderWriter | |
| DtReaderWriter () | |
| default constructor | |
| DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| real constructor Setting the readonly flag prevents object from writing itself to the stream. | |
| DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| pseudo-copy constructor | |
| DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| const DtReaderWriter & | operator= (const DtReaderWriter &orig) |
| assignment operator | |
| bool | operator== (const DtReaderWriter &) const |
| Equivalence operator. | |
| bool | operator!= (const DtReaderWriter &rhs) |
| virtual | ~DtReaderWriter () |
| destructor | |
| virtual void | postPutSelf () |
| Called after either version of put self (file or environment). Default is no-op. | |
| virtual void | prePutSelf () |
| Called before either version of put self (file or environment). Default is no-op. | |
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| Top level to read itself from an input stream. | |
| virtual void | writeSelf (std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| Called from putSelf, calls myRegistry.putSelf which in turn calls putSelf on each reader/writer in the registry. | |
| virtual DtSymbolString | name () const |
| Accessor for name of this readable/writable object. | |
| virtual void | addAlias (const DtSymbolString &alias) |
| Add an alias as an alternative name for this object. | |
| virtual void | addAlias (const DtString &alias) |
| virtual bool | hasAlias (const DtSymbolString &alias) |
| virtual const aliasContainer & | aliases () const |
| virtual void | setReadonly (bool flag) |
| Set read-only flag. | |
| bool | isReadonly () const |
| virtual void | reset () |
| For those reader/writer items that support it, resets the reader/writer value to iriginal state Default is no-op. | |
| virtual int | alignment () const |
| For those items that are sent over the network via HLA, this will give the network alignment. | |
| virtual bool | variableIsBound () const |
| virtual void | unbindVariable () |
| Sets the myVariableIsBound flag to false. | |
| virtual void | setName (const DtString &) |
| Set the name of the object. | |
| virtual const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. | |
| virtual const char * | xmlType () const |
| virtual DtString | prettyPrint () const |
| Routine to return a human readable form of the reader/writer variable. | |
| std::string | debugText () const |
| virtual void | bindVariables (DtVariableBindingsList variableBindings) |
| Runs a variable binding pass on this reader writer and any of its children. | |
| virtual std::list < DtVariableNameType > | unboundVariables () const |
| bool | invalid () const |
| virtual bool | hasChild (const DtReaderWriter *p) const |
| Returns true if this variable has a child p in it's chain. | |
| virtual bool | hasVariableReference () const |
| Returns true if this item or any item in the registry (recursive) is a variable reference. | |
| virtual void | bindLocalVariables (const DtVariableBindingsList &variableBindings) |
| Checks to see if this RW object is a variable reference that can be bound using the provided bindings. | |
| virtual void | recordUpdateTime () const |
| Can be implemented in subclasses to stamp the time when updated. | |
| virtual bool | wasUpdatedSince (DtTime t) const |
| Can be implemented in subclasses to return true if an update occurred after the specified time. | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| virtual void | setValueSpecified (bool specified, bool recurse=false) |
| The specified flags are used for optional values. | |
| virtual bool | valueSpecified () const |
| virtual bool | isVariableReference () const |
| Specifies whether or not this reader writer is really a variable that is specified elsewhere. | |
| virtual void | setIsVariableReference (bool value) |
| virtual void | clearAllVariableReferenceFlags () |
| Clears out all variable reference flags from all readerwriter items in registry recursively. | |
| virtual DtSymbolString | variableName () const |
| The variable name, if this object is a variable reference. | |
| virtual void | setVariableName (const DtSymbolString variableName) |
| virtual const DtReaderWriter * | defaultRWValue () const |
| The default value to use if the reader/writer object is a variable and that variable is not specified. | |
| virtual DtReaderWriter * | defaultRWValue () |
| virtual void | setDefaultRWValue (DtReaderWriter *) |
| Previous default value, if exists, will be removed and replaced with a clone of the supplied variable. | |
| virtual bool | checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| Give the stream, if the stream contains a default value then set it here. | |
| const DtReaderWriterRegistry & | registry () const |
| Collection of child DtReaderWriter nodes owned by this object. | |
| DtReaderWriterRegistry & | registry () |
| virtual DtPropertyInterface * | property () |
| virtual const DtPropertyInterface * | property () const |
| virtual DtString | toXml () const |
| virtual bool | toXml (const DtFilename &) const |
| Writes contents of xml result to the given filename. | |
| virtual bool | fromXml (const DtString &) |
| Restores object from given xml string. Returns true if valid. | |
| virtual bool | fromXmlFile (const DtFilename &) |
| Restires object from given xml file. | |
| virtual void | putSelf (DtEnvironmentSP, DtEnvValueSP parent) const |
| virtual void | putData (DtEnvironmentSP, DtEnvValueSP value) const |
| Override to add attributes of actual data. | |
| virtual void | putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const |
| Called when the item is a variable reference. | |
| 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()) |
| Gets data from the environment value. | |
| virtual void | unrecognizedItem (const DtEnvironmentSP env, const DtEnvValueSP root, const SearchPaths &searchPaths, const DtVariableBindingsList &varBindings) |
| Called when the xml reader tries to parse an unknown reader/writer item. Default is a no-op. | |
| virtual void | getVariableReference (DtEnvironmentSP, DtEnvValueSP value) |
| Called when the item is a variable reference. | |
Static Public Member Functions | |
| static DtVrfObjectStateRepository * | creator (const DtString &name, DtVrfObject *vrfObject, const DtObjectType &objectType, DtVrfObjectParameters *parameters, DtReaderWriterRegistry *parentRegistry) |
| Returns a new instance of this class. | |
| static DtBombStateRepository * | isBombStateRepository (DtSimObjectStateRepository *repository) |
| Returns a the pointer the repository, if the repository passed in is of type DtBombStateRepository, 0 if not. | |
| static const DtBombStateRepository * | isBombStateRepository (const DtSimObjectStateRepository *repository) |
Static Public Member Functions inherited from DtVrfMovingObjectStateRepository | |
| static DtVrfMovingObjectStateRepository * | isVrfMovingObjectStateRepository (DtSimObjectStateRepository *repository) |
| static const DtVrfMovingObjectStateRepository * | isVrfMovingObjectStateRepository (const DtSimObjectStateRepository *repository) |
Static Public Member Functions inherited from DtVrfObjectStateRepository | |
| static bool | shouldArchiveExtendedAttribute (const DtString &) |
| true if the given attribute should be archived. Use static methods to add/remove keywords | |
| static void | doNotArchiveAttribute (const DtString &, bool) |
| static DtVrfObjectStateRepository * | createRepository (const DtString &name, const DtString &type, DtVrfObject *simObject, const DtObjectType &objectType, DtVrfObjectParameters *parameters, DtReaderWriterRegistry *parentRegistry=0) |
| Creates a new state repository object, using the factory. | |
| static void | addSimObjectStateRepositoryCreatorFcn (const DtString &type, DtSimObjectStateRepositoryCreatorFcn fcn) |
| static DtVrfObjectStateRepository * | isVrfObjectStateRepository (DtSimObjectStateRepository *repository) |
| static const DtVrfObjectStateRepository * | isVrfObjectStateRepository (const DtSimObjectStateRepository *repository) |
| static DtSimObjectStateRepositoryFactory * | factory () |
| a DtSimObjectStateRepositoryFactory is allocated by the DtSimCreator, and this pointer is set. | |
| static void | setFactory (DtSimObjectStateRepositoryFactory *factory) |
| static void | objectAboutToBeRemovedCallback (DtVrfObject *vrfObject, void *usr) |
| static void | taskCompleteCallback (const DtVrfObjectMessage *msg, void *usr) |
| Handles state changes for the subtask status list. | |
Static Public Member Functions inherited from DtSimObjectStateRepository | |
| static void | completeAttachmentCallback (DtVrfObject *simObject, void *usr) |
| These callbacks are used to set myAttachedToStateRepository when this ent gets attached/detached to/from its parent. | |
| static DtSimObjectStateRepository * | isSimObjectStateRepository (DtSimObjectStateRepository *repository) |
| static const DtSimObjectStateRepository * | isSimObjectStateRepository (const DtSimObjectStateRepository *repository) |
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 char * | theXmlType () |
| The type that is used when archiving to an XML stream. | |
| static const DtFilename & | appPath () |
| Gets the current working directory. | |
| static void | setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn) |
| Sets the function to create the DtReaderWriterFactory. | |
| static void | createReaderWriterFactory () |
| static void | cleanupFactory () |
| static DtReaderWriter * | createFromXmlFile (const DtFilename &, bool createAsProperty=false) |
| Given a filename, returns a newly created reader/writer object from the object found within. | |
| static DtReaderWriter * | createFromXml (const DtString &, bool createAsProperty=false) |
| Given a xml string, returns a newly created reader/writer object from the object found within. | |
| static DtReaderWriter * | createFromEnvironment (DtEnvironmentSP, bool createAsProperty=false) |
| Given a xml environment, returns a newly created reader/writer object from the object found within. | |
| static DtString | getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root) |
| Gets the named attribute from a DtEnvValueSP. | |
Static Public Member Functions inherited from DtObjectDebugger< DtReaderWriter > | |
| static DtObjectCounter::CounterType | ObjectCount () |
| static const DtObjectContainer * | ObjectContainer () |
Protected Member Functions | |
| DtBombStateRepository () | |
Protected Member Functions inherited from DtVrfMovingObjectStateRepository | |
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| Override getSelf to handle mapping of old pre-2.0 oob files. | |
| DtVrfMovingObjectStateRepository () | |
| Default Constructor. Do not use. | |
Protected Member Functions inherited from DtVrfObjectStateRepository | |
| DtVrfObjectStateRepository () | |
| Default Constructor. Do not use. | |
| virtual void | initializeNextTaskId () |
| Initializes myNextTaskId to the next highest integer than the highest subtask Id currently maintained in myTaskStatusList. | |
| virtual void | setOrientationRelativeToParent () |
| If attached to a parent, and a terrain database is present, set orientation relative to parent. | |
| virtual DtAttachedTerrain * | createAttachedTerrain () |
| virtual DtArticulatedPartStateRepository * | createArtPartStateRepository (DtVrfObject *vrfObject, const DtObjectType &objectType, const DtString &rwName=DtString::nullString()) |
| Returns new instance of a DtArticulatedPartStateRepository. | |
| virtual double | baseSensorSignature (const DtSymbolString &sensorDomain) const |
| virtual double | modifySensorSignature (const DtSymbolString &sensorDomain, double baseSignature) const |
| Modifies the supplied baseSignature using the signatureModifiers for the specified sensor domain. | |
| virtual bool | initSignatureEvaluators () |
| Sets up all the sensor signature evaluators in mySignatureEvalMap based on the parameter entry for this entity. | |
| void | clearSignatureEvaluators () |
| Removes and deletes all signature evaluators. | |
| virtual bool | createObjectResourceManager () |
| Creates and sets myObjectResourceManager. | |
| virtual void | invokePostInitFromParamsCallbacks () |
| Invokes all callbacks registered via a call to addPostInitFromParamsCallback. | |
Protected Member Functions inherited from DtSimObjectStateRepository | |
| DtSimObjectStateRepository (const DtSimObjectStateRepository &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) | |
| DtSimObjectStateRepository () | |
| Default Constructor; not implemented. | |
Protected Member Functions inherited from DtReaderWriter | |
| virtual void | bindToRwAsVariable (const DtReaderWriter *rw) |
| Copies values from the specified DtReaderWriter. | |
Protected Member Functions inherited from DtObjectDebugger< DtReaderWriter > | |
| DtObjectDebugger () | |
| DtObjectDebugger (const DtObjectDebugger &) | |
| ~DtObjectDebugger () | |
Protected Attributes | |
| DtReal | myMaxRange |
| The maximum range of the bomb when it is released at myMaxRangeAltitude. | |
| DtReal | myMaxRangeAltitude |
| The altitude at which the maximum range of the bomb can be achieved. | |
| DtReal | myCepRadius |
| Radius of a circle within which 50 % of the missiles fired will impact. | |
Protected Attributes inherited from DtVrfMovingObjectStateRepository | |
| DtGroundInteractionPt | myLeftSupport |
| DtGroundInteractionPt | myRightSupport |
| DtGroundInteractionPt | myOtherSupport |
| DtRwReal | myOrderedSpeed |
| DtRwReal | myManeuverAggressiveness |
| DtRwReal | myOrderedAltitude |
| DtRwReal | myMaxSpeed |
| DtRwReal | myMaxReverseSpeed |
| DtRwReal | myTurningRadius |
| DtRwReal | myMaxSlope |
| DtRwBoolean | myForward |
| DtRwReal | myMaxAcceleration |
| DtRwReal | myMaxStoppingDeceleration |
| DtRwReal | myMaxLateralAcceleration |
| DtRwReal | myFuelEfficiency |
| DtRwBoolean | myCanPivot |
| DtRwBoolean | myClampToGround |
| DtRwBoolean | myUsingRailMovement |
| If true keeps the entity clamped to the route segment it is on, no steering just follows the segment. | |
| DtRwReal | myMaxPivotSpeed |
| DtRwDIGuyCharacterInfo * | myDIGuyCharacterInfo |
| DtReal | myInverseStoppingDeceleration |
| Derived quantity (1/myMaxStoppingDeceleration) - no need to make it read-write. | |
| DtRwBoolean | myKeepGroundClampingFlag |
| Records whether we should keep ground clamping b/c not all terrain was loaded. | |
| DtRwBoolean | myHaveSupplies |
| Records whether the entity has appropriate supplies to keep it moving. | |
| DtRwReal | myNextSupplyCheckTime |
| Records the next time that supplies should be checked (in general, this isn't done every tick. | |
Protected Attributes inherited from DtVrfObjectStateRepository | |
| DtVrfStateRepositoryUserExtension * | myStateRepositoryUserExtension |
| DtRwAppearance * | myAppearance |
| DtRwInt | myCapabilities |
| DtRwForceType | myForceType |
| DtVrfSubordinateManager * | mySubordinates |
| each of these has_a DtSubObjectManager | |
| DtRwUUID | myParent |
| if this object is a subordinate, this is used to write out the name of the parent | |
| DtVrfProcessStateRepositoryManager * | mySystemProcessSRManager |
| DtLegacyProcessStateRepositoryManager * | myLegacyPSRManager |
| Used only to read in scenarios from pre VRF 3.11. | |
| DtSimManager * | mySimManager |
| DtGroundInteractionPt | myGroundCenter |
| bool | myUnderFire |
| Under fire parameters. | |
| DtTime | myLastTimeFiredUpon |
| DtRwInt | mySuppressionLevel |
| The current enumerated level of suppression, derived from the value. | |
| DtReal | myMass |
| DtDeadReckonTypes | myDeadReckoningAlgorithm |
| DtThresholder | myDeadReckoningThresholder |
| DtEntityIdentifier | myOccupyingObjectId |
| DtArticulatedPartCollection | myArtPartList |
| This is created in createParts, and kept around to make setup of the network repository easier. | |
| DtManagedObjectListConstPtr | myVisibilityFilterList |
| Shared list of visibility blocking objects. | |
| DtRwVector | myLocalPosition |
| For backward compatibility with pre-2.0 VR-Forces oob files Registered as read-only, so they do not get written out to new oob files. | |
| DtRwTaitBryan | myLocalOrientation |
| DtRwBoolean | myIsDestroyedFlag |
| DtEchelonId | myEchelonId |
| DtRwBoolean | myIsSubordinateOfForceLevel |
| DtRwInt | myDesignator |
| myDesignator is used for reading and writing only and is not valid at runtime. | |
| DtRwBoolean | myIndependentlyTasked |
| DtSimResourceManager | myResourceManager |
| This resource manager is used for all the top-level resource only. | |
| DtObjectResourceManager * | myObjectResourceManager |
| DtRwString | myEngagementRules |
| DtSimSector | mySectorOfResponsibility |
| These really apply to a single weapon, and should be part of a weapon controller/actuator suite of some sort. | |
| DtRwBoolean | myRequestTaskNeeded |
| Moved here from the DtLocalTaskManager class. | |
| DtTaskStatusList | myTaskStatusList |
| Contains the myTasked and myCurrentTaskMsg members from the DtTaskControllerComponent class. | |
| DtSuspendedTaskStatusList | mySuspendedTaskStatusList |
| DtRwInt | myNextTaskId |
| The next available ID that can be assigned to a task for this entity. | |
| DtRwInt | myNextSuspendId |
| DtRwBoolean | myParentWasDestroyedWhenEmbarked |
| Set to true when the entity is embarked on a destroyed parent so they do not become destroyed. | |
| const DtVrfObjectParameters * | myParameterEntry |
| 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. | |
| DtVrfObjectParameters * | myParameters |
| this is the parameter entry that this repository created. | |
| double | myMinTickPeriod |
| For variable tick rate support. | |
| double | myMinTickPeriodVariance |
| double | myNextTickTime |
| double | myLastTickSimTime |
| DtAttachedTerrain * | myTerrainAttachedTo |
| DtSignatureModifierEvalMap | mySignatureModifierEvalMap |
| Map which holds a set of lists of signature modifier evaluators indexed by sensor domain. | |
| DtSensorSignatureCacheMap | myMutableSensorSignatureCacheMap |
| Maintains the current sensor signature (indexed by sensor domain) for this entity. | |
| DtSensorContactInfoList | myObjectContactList |
| The situational awareness of this object. | |
| DtPostInitializeFromParametersCallbackList | myPostInitFromParamsCallbackList |
| DtRangeItems | myRangeItems |
| Range item information. | |
| std::vector< DtRangeItem > | myFixedRangeItems |
| DtRwProperties | myStateProperties |
| Additional properties that are part of this state repository. | |
| DtRwProperties | myParameterProperties |
| ExtendedData | myExtendedData |
| DtRwStringAttributeList | myRwExtendedData |
| std::vector< DtString > | myStatePropertiesNotToBeRestored |
| The list of state properties that should not be updated by restoreStateProperties. | |
| tbb::mutex | myEvaluateSensorSignatureMutex |
| JoystickControls | myJoystickControls |
| Map of available joystick controls for this particular entity. | |
| bool | myJoystickMovementControlled |
| If true movement is controlled by joystick so will not be able to be taskable as a subordinate. | |
| std::set < DtArticulatedPartStateRepository * > | myArtParts |
Protected Attributes inherited from DtSimObjectStateRepository | |
| DtVrfObject * | mySimObject |
| DtRwObjectType | myObjectType |
| DtVrfObjectGeometry * | myObjectGeometry |
| DtVrfKinematicState * | myKinematicState |
| DtRwReal | myLastPositionSetTime |
| DtAttachmentManager * | myAttachments |
| DtSimObjectStateRepository * | myAttachedToRepository |
| DtRwUUID | myAttachedToRepositoryUUID |
| used for reading & writing the name of myAttachedToRepository | |
| DtSimObjectStateRepository * | myRootSimStateRepository |
| const Coordinate_System * | myCoordinateSystemPtr |
| Caches pointer to coordinate system so it can set it after myKinematic state is created. | |
| DtKinematicStateCS * | myEmbarkedKinematicState |
Protected Attributes inherited from DtReaderWriter | |
| const DtSymbolString | myName |
| DtReaderWriterRegistry | myRegistry |
| DtReaderWriterRegistry * | myParentRegistry |
| bool | myValueSpecified |
| bool | myReadOnlyFlag |
| bool | myIsVariableReference |
| DtSymbolString | myVariableName |
| bool | myVariableIsBound |
| DtReaderWriter * | myDefaultValue |
| aliasContainer | myAliases |
| Container for the aliases which represent alternative names for the object. | |
| bool | myInvalid |
| Set to true if there is a problem reading this item. | |
This repository holds all information that is common to all bomb entities.
|
protected |
| DtBombStateRepository::DtBombStateRepository | ( | DtVrfObject * | vrfObject, |
| const DtObjectType & | objectType, | ||
| DtVrfObjectParameters * | parameters, | ||
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
Constructor with parameters to set up read/writability correctly.
| DtBombStateRepository::DtBombStateRepository | ( | const DtBombStateRepository & | orig, |
| const DtString & | rwName = DtString::nullString(), |
||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
|
virtual |
destructor
| const DtBombStateRepository& DtBombStateRepository::operator= | ( | const DtBombStateRepository & | orig | ) |
assignment operator
|
virtual |
Reimplemented from DtVrfMovingObjectStateRepository.
|
virtual |
Returns DtBombEntityStateRepositoryType, as defined in vrfSRTypes.h.
Reimplemented from DtVrfMovingObjectStateRepository.
|
virtual |
Returns DtVrfMovingObjectStateRepositorySubTypeBomb.
Reimplemented from DtVrfMovingObjectStateRepository.
|
virtual |
Returns DtBombEntityStateRepositorySubTypeBase.
|
virtual |
Creates a new instance of DtBombParameters.
Reimplemented from DtVrfMovingObjectStateRepository.
|
virtual |
Copies values from the bomb parameters and then passes the call down to DtVrfMovingObjectStateRepository.
Reimplemented from DtVrfMovingObjectStateRepository.
|
virtual |
Convenience function which accesses the parameter entry from the base class and casts it to a DtBombParameters.
|
virtual |
Set/Get the max range which can be achieved when the bomb is released, see myMaxRange.
|
virtual |
|
virtual |
Set/Get the max range altitude, see myMaxRangeAltitude.
|
virtual |
|
virtual |
Set/Get the Circular Error Probable radius (CEP), see myCepRadius.
|
virtual |
|
static |
Returns a new instance of this class.
Reimplemented from DtVrfMovingObjectStateRepository.
|
static |
Returns a the pointer the repository, if the repository passed in is of type DtBombStateRepository, 0 if not.
|
static |
|
protected |
The maximum range of the bomb when it is released at myMaxRangeAltitude.
|
protected |
The altitude at which the maximum range of the bomb can be achieved.
|
protected |
Radius of a circle within which 50 % of the missiles fired will impact.
For example, if a cep-radius of 100 meters is specified, then 50 % of missiles fired at a given target should impact within 100 meters of that target and the remaining 50 % of the missile will impact at a distance greater that 100 meters from the target. This assumes that the a missile fired was potentially capable of hitting the desired target (that is, it was in range).