![]() |
VR-Link API Documentation for HLA Evolved
|
An example subclass of the DtEntityStateRepository. More...
Inheritance diagram for DtF18EntityStateRep:
Collaboration diagram for DtF18EntityStateRep:Public Member Functions | |
| DtF18EntityStateRep () | |
| Constructor. More... | |
| virtual | ~DtF18EntityStateRep () |
| Destructor. More... | |
| virtual void | setF18Attribute (const DtString &val) |
| Set the new attribute string. More... | |
| virtual DtString | f18Attribute () const |
| The new attribute string. More... | |
Public Member Functions inherited from DtEntityStateRepository | |
| DtEntityStateRepository () | |
| Default CTOR. More... | |
| DtEntityStateRepository (const DtEntityStateRepository &orig) | |
| Copy CTOR. More... | |
| virtual | ~DtEntityStateRepository () |
| Virtual DTOR. More... | |
| DtEntityStateRepository & | operator= (const DtEntityStateRepository &orig) |
| Assignment operator. More... | |
| virtual DtStateRepository * | clone (bool copy=false) const |
| Return a copy/empty object of the same type as this. More... | |
| virtual void | setForceId (DtForceType force) |
| Set the force type. More... | |
| virtual DtForceType | forceId () const |
| Get the force type. More... | |
| virtual void | setGuise (const DtEntityType &type) |
| Set the alternate entity type or guise. More... | |
| virtual const DtEntityType & | guise () const |
| Get the alternate entity type or guise. More... | |
| virtual void | setMarkingCharSet (int charSet) |
| Set the character set used for the marking. More... | |
| virtual int | markingCharSet () const |
| The character set used for the marking. More... | |
| virtual void | setMarkingText (const char *text) |
| Set the marking text attribute. More... | |
| virtual const char * | markingText () const |
| Get the marking text attribute. More... | |
| virtual void | setInfraRedSigRepIndex (DtU16 value) |
| Set infra-red signature representation index. More... | |
| virtual DtU16 | infraRedSigRepIndex () const |
| Get infra-red signature representation index. More... | |
| virtual void | setAcousticSigRepIndex (DtU16 value) |
| Set acoustic signature representation index. More... | |
| virtual DtU16 | acousticSigRepIndex () const |
| Get acoustic signature representation index. More... | |
| virtual void | setRadarSigRepIndex (DtU16 value) |
| Set radar signature representation index. More... | |
| virtual DtU16 | radarSigRepIndex () const |
| Get radar signature representation index. More... | |
| virtual void | setCapabilities (DtU32 cap) |
| Set the capabilities field. More... | |
| virtual DtU32 | capabilities () const |
| Get the capabilities field. More... | |
| virtual void | setMeasuredSpeed (DtU16 value) |
| Set measured speed. More... | |
| virtual DtU16 | measuredSpeed () const |
| Get measured speed. More... | |
| void | setNumPropulsionSystems (DtU16 value) |
| Set number of propulsion systems (Non-virtual - Used in CTOR). More... | |
| DtU16 | numPropulsionSystems () const |
| Get number of propulsion systems (Non-virtual - Used in CTOR). More... | |
| void | setNumNozzleSystems (DtU16 value) |
| Set number of nozzle systems (Non-virtual - Used in CTOR). More... | |
| DtU16 | numNozzleSystems () const |
| Get number of nozzle systems (Non-virtual - Used in CTOR). More... | |
| bool | setPropulsionSystem (int index, const DtPropulsionSystem &record) |
| Set a propulsion system data record (Non-virtual - Used in CTOR). More... | |
| bool | getPropulsionSystem (int index, DtPropulsionSystem &record) const |
| Get a propulsion system data record (Non-virtual - Used in CTOR). More... | |
| bool | setNozzleSystem (int index, const DtVectoringNozzleSystem &record) |
| Set a vectoring nozzle system data record (Non-virtual - Used in CTOR). More... | |
| bool | getNozzleSystem (int index, DtVectoringNozzleSystem &record) const |
| Get a vectoring nozzle system data record (Non-virtual - Used in CTOR). More... | |
| virtual void | setClock (DtClock *clock) |
| Overrides DtBaseEntityStateRepository's setClock method. More... | |
| virtual void | printData () const |
| Print the state data to the DtInfo stream. More... | |
| virtual void | printDataToStream (std::ostream &stream) const |
| prints the state data to the specified stream. More... | |
| virtual void | setAppearance (DtU32 app) |
| Set the appearance bit field, use with care. More... | |
| virtual DtU32 | appearance () const |
| Return the appearance bit field, use this with care. More... | |
| virtual void | setAppearanceAttribute (const DtAppearAttribute attr, const DtAppearAttrVal val) |
| Set an appearance attribute. More... | |
| virtual DtAppearAttrVal | appearanceAttribute (const DtAppearAttribute attr) const |
| Get an appearance attribute. More... | |
| virtual void | setFrozen (bool onOff) |
| Set the frozen state of the entity. More... | |
| virtual bool | frozen () const |
| Get the frozen state of the entity. More... | |
| virtual void | setPowerPlantOn (bool onOff) |
| Set whether entity's power plant is on or not. More... | |
| virtual bool | powerPlantOn () const |
| Get whether entity's power plant is on or not. More... | |
| virtual void | setDamageState (DtDamageState s) |
| Set the damage state. More... | |
| virtual DtDamageState | damageState () const |
| Get the damage state. More... | |
| virtual void | setEngineSmokeOn (bool onOff) |
| Set whether engine smoke is on or not. More... | |
| virtual bool | engineSmokeOn () const |
| Get whether engine smoke is on or not. More... | |
| virtual void | setFlamesPresent (bool onOff) |
| Set whether flames are present or not. More... | |
| virtual bool | flamesPresent () const |
| Get whether flames are present or not. More... | |
| virtual void | setHasFuelSupplyCap (bool onOff) |
| Set whether entity has fuel supplying capability. More... | |
| virtual bool | hasFuelSupplyCap () const |
| Get whether entity has fuel supplying capability. More... | |
| virtual void | setHasRecoveryCap (bool onOff) |
| Set whether entity has recovery capability. More... | |
| virtual bool | hasRecoveryCap () const |
| Get whether entity has recovery capability. More... | |
| virtual void | setHasRepairCap (bool onOff) |
| Set whether entity has repair capability. More... | |
| virtual bool | hasRepairCap () const |
| Get whether entity has repair capability. More... | |
| virtual void | setHatchState (DtHatchState s) |
| Set the entity's hatch state. More... | |
| virtual DtHatchState | hatchState () const |
| Get the entity's hatch state. More... | |
| virtual void | setImmobilized (bool onOff) |
| Set whether the entity is immobilized or not. More... | |
| virtual bool | immobilized () const |
| Get whether the entity is immobilized or not. More... | |
| virtual void | setLifeformState (DtLifeformState s) |
| Set entity life form state. More... | |
| virtual DtLifeformState | lifeformState () const |
| Get entity life form state. More... | |
| virtual void | setLightState (DtLightType s, bool onOff) |
| Set light state of entity. More... | |
| virtual bool | lightState (DtLightType s) const |
| Get light state of entity. More... | |
| virtual void | setLightState (DtLightState s) |
| Set light state of entity. More... | |
| virtual DtLightState | lightState () const |
| Get light state of entity. More... | |
| virtual void | setDensity (DtDensityType dens) |
| Set density state of entity (Environment entities). More... | |
| virtual DtDensityType | density () const |
| Get density state of entity (Environment entities). More... | |
| virtual void | setRampDeployed (bool onOff) |
| Set whether entity has ramp deployed or not. More... | |
| virtual bool | rampDeployed () const |
| Get whether entity has ramp deployed or not. More... | |
| virtual void | setSmokePlumePresent (bool onOff) |
| Set whether a smoke plume is present or not. More... | |
| virtual bool | smokePlumePresent () const |
| Get whether a smoke plume is present or not. More... | |
| virtual void | setTentDeployed (bool onOff) |
| Set whether a tent is deployed or not. More... | |
| virtual bool | tentDeployed () const |
| Get whether a tent is deployed or not. More... | |
| virtual void | setTrailState (DtTrailState s) |
| Set trailing effect state. More... | |
| virtual DtTrailState | trailState () const |
| Get trailing effect state. More... | |
| virtual void | setCamouflageType (DtCamouflageType type) |
| Set camouflage type. More... | |
| virtual DtCamouflageType | camouflageType () const |
| Get camouflage type. More... | |
| virtual void | setFirePowerDisabled (bool onOff) |
| Set whether entity is fire power disabled or not. More... | |
| virtual bool | firePowerDisabled () const |
| Get whether entity is fire power disabled or not. More... | |
| virtual void | setIsConcealed (bool onOff) |
| Set whether entity is concealed or not. More... | |
| virtual bool | isConcealed () const |
| Get whether entity is concealed or not. More... | |
| virtual void | setAfterburnerOn (bool onOff) |
| Set whether entity has after burner on or not. More... | |
| virtual bool | afterburnerOn () const |
| Get whether entity has after burner on or not. More... | |
| virtual void | setHasAmmunitionSupplyCap (bool onOff) |
| Set whether entity has ammunition supply capability or not. More... | |
| virtual bool | hasAmmunitionSupplyCap () const |
| Get whether entity has ammunition supply capability or not. More... | |
| virtual void | setLauncherRaised (bool onOff) |
| Set whether entity has launcher raised or not. More... | |
| virtual bool | launcherRaised () const |
| Get whether entity has launcher raised or not. More... | |
| virtual void | setLauncherFlashPresent (bool onOff) |
| Set whether launcher flash is present or not. More... | |
| virtual bool | launcherFlashPresent () const |
| Get whether launcher flash is present or not. More... | |
| virtual void | setPrimaryWeaponState (DtWeaponState s) |
| Set primary weapon deployment state. More... | |
| virtual DtWeaponState | primaryWeaponState () const |
| Get primary weapon deployment state. More... | |
| virtual void | setSecondaryWeaponState (DtWeaponState s) |
| Set secondary weapon deployment state. More... | |
| virtual DtWeaponState | secondaryWeaponState () const |
| Get secondary weapon deployment state. More... | |
| virtual void | setComplianceState (DtComplianceState s) |
| Set life form compliance state. More... | |
| virtual DtComplianceState | complianceState () const |
| Get life form compliance state. More... | |
| virtual void | setAntennaRaised (bool upDown) |
| Set Antenna Raised status. More... | |
| virtual bool | antennaRaised () const |
| Get Antenna Raised status. More... | |
| virtual void | setMissionKill (bool yesNo) |
| Set Mission Kill status. More... | |
| virtual bool | missionKill () const |
| Get Mission Kill status. More... | |
| virtual void | setInternalHeatSource (bool onOff) |
| Set internal Heat Source status. More... | |
| virtual bool | internalHeatSource () const |
| Get internal Heat Source status. More... | |
| virtual void | setMaskedCloaked (bool onOff) |
| Set masked/cloaked appearance bit (introduced in DIS enums 2005 doc). More... | |
| virtual bool | maskedCloaked () const |
| Get masked/cloaked appearance bit (introduced in DIS enums 2005 doc). More... | |
| virtual const DtArticulatedPartCollection * | artPartList () const |
| virtual DtArticulatedPartCollection * | artPartList () |
| virtual const DtAttachedPartCollection * | attPartList () const |
| virtual DtAttachedPartCollection * | attPartList () |
| virtual void | setEntityId (const DtEntityIdentifier &id) |
| Set the entity's identifier. More... | |
| virtual void | setDiGuyStateRepository (DtDIGuyObjectStateRepository *diGuyStateRep) |
| Set the DIGuy state repository containing the DIGuy attribute extensions. More... | |
| virtual const DtDIGuyObjectStateRepository * | diGuyStateRepository () const |
| Get the DIGuy state repository containing the DIGuy attribute extensions. More... | |
| virtual DtDIGuyObjectStateRepository * | diGuyStateRepository () |
| Set the entity's identifier. More... | |
| virtual void | enableDiGuyObject (bool enable=true) |
| Enable the creation and use of the DIGuy object. More... | |
| virtual bool | isEnabledDiGuyObject () |
| Signals if we will be using the DIGuy object. More... | |
| virtual void | setDiGuyAppearance (const DtString &val) |
| Set the DIGuy appearance (body appearance in DI-Guy 13 or later). More... | |
| virtual const DtString & | diGuyAppearance () const |
| Get the DIGuy appearance (body appearance in DI-Guy 13 or later). More... | |
| virtual void | setDiGuyArc (const std::vector< char > &val) |
| Set the DIGuy appearance (not supported in DI-Guy 13 and later). More... | |
| virtual const std::vector< char > & | diGuyArc () const |
| Get the DIGuy appearance (not supported in DI-Guy 13 and later). More... | |
| virtual void | setDiGuyParent (const DtEntityIdentifier &val) |
| Set the DIGuy parent (not supported in DI-Guy 13 and later). More... | |
| virtual const DtEntityIdentifier & | diGuyParent () const |
| Get the DIGuy parent (not supported in DI-Guy 13 and later). More... | |
| virtual void | setDiGuyType (const DtString &newDiGuyType, const DtString &newDiGuyAppearance) |
| Set/Get the DIGuy type. More... | |
| virtual void | setDiGuyType (const DtString &val) |
| Set the entity's identifier. More... | |
| virtual const DtString & | diGuyType () const |
| Get the DIGuy type. More... | |
| virtual void | setDiGuyBodyAppearance (const DtString &val) |
| Set the DIGuy body appearance (only supported in DI-Guy 13 and later). More... | |
| virtual const DtString & | diGuyBodyAppearance () const |
| Get the DIGuy body appearance (only supported in DI-Guy 13 and later). More... | |
| virtual void | setDiGuyBodyWeight (double val) |
| Set the DIGuy body weight. More... | |
| virtual double | diGuyBodyWeight () const |
| Get the DIGuy body weight. More... | |
| virtual void | setDiGuyHeadAppearance (const DtString &val) |
| Set the DIGuy head appearance (only supported in DI-Guy 13 and later). More... | |
| virtual const DtString & | diGuyHeadAppearance () const |
| Get the DIGuy head appearance (only supported in DI-Guy 13 and later). More... | |
| virtual void | setDiGuyItemAppearance (const DtString &val) |
| Set the DIGuy item appearance (only supported in DI-Guy 13 and later). More... | |
| virtual const DtString & | diGuyItemAppearance () const |
| Get the DIGuy item appearance (only supported in DI-Guy 13 and later). More... | |
| virtual bool | setDiGuyAccessoryAppearance (unsigned int index, const DtString &val) |
| Set the DIGuy accessory appearance (only supported in DI-Guy 13 and later). More... | |
| virtual const DtString & | diGuyAccessoryAppearance (unsigned int index) const |
| Get the DIGuy accessory appearance (only supported in DI-Guy 13 and later). More... | |
| virtual void | setDiGuyAccessoryAppearanceCount (unsigned int index) |
| Set the DIGuy accessory appearance count (only supported in DI-Guy 13 and later). More... | |
| virtual unsigned int | diGuyAccessoryAppearanceCount () const |
| Get the DIGuy accessory appearance count (only supported in DI-Guy 13 and later). More... | |
| virtual void | setDiGuyAction (const DtString &val) |
| Set the DIGuy action. More... | |
| virtual void | setDiGuyAction (const DtString &val, bool paused, double speed=0.0, bool useActionPositioning=false, const DtVector &offset=DtVector(0, 0, 0), double transitionSpeed=1.0) |
| Set the DIGuy action, paused state, and speed with optional offset, useActionPositioning flag, and transition speed for the action. More... | |
| virtual const DtString & | diGuyAction () const |
| Get the DIGuy action. More... | |
| virtual const DtString & | diGuyAction (bool &paused) const |
| Get the DIGuy action and paused status. More... | |
| virtual void | setDiGuyActionPaused (bool paused) |
| Set DIGuy action paused. More... | |
| virtual bool | isDiGuyActionPaused () const |
| Get DIGuy action paused. More... | |
| virtual void | setDiGuyActionSpeed (double speed) |
| Set DIGuy action speed. More... | |
| virtual double | diGuyActionSpeed () const |
| Get DIGuy action speed. More... | |
| virtual void | setDiGuyVisible (bool visibile) |
| Set DIGuy visible status (only supported in DI-Guy 13 and later). More... | |
| virtual bool | isDiGuyVisible () const |
| Get DIGuy visible status (only supported in DI-Guy 13 and later). More... | |
| virtual void | setDiGuyCharacterScale (const DtVector &scale) |
| Set DIGuy character scale (only supported in DI-Guy 13 and later). More... | |
| virtual const DtVector & | diGuyCharacterScale () const |
| Get DIGuy character scale (only supported in DI-Guy 13 and later). More... | |
| virtual void | addDiGuyShapeVariation (unsigned int linkIndex, unsigned int shapeIndex, const DtDiGuyPixelData &pixelData) |
| virtual void | removeDiGuyShapeVariation (unsigned int linkIndex, unsigned int shapeIndex) |
| virtual const DtDiGuyPixelData & | diGuyShapeVariation (unsigned int linkIndex, unsigned int shapeIndex, bool &dataIsValid) const |
| virtual bool | getDiGuyShapeVariation (unsigned int linkIndex, unsigned int shapeIndex, DtDiGuyPixelData &pixelData) const |
| virtual void | setDiGuyShapeVariations (const DtDiGuyLinkShapeMap &shapeVariations) |
| virtual const DtDiGuyLinkShapeMap & | diGuyShapeVariations () const |
| virtual unsigned int | diGuyRank () const |
| virtual void | setDiGuyRank (unsigned int val) |
| virtual unsigned int | diGuyUnit () const |
| virtual void | setDiGuyUnit (unsigned int val) |
| virtual unsigned int | diGuyPersonalUnit () const |
| virtual void | setDiGuyPersonalUnit (unsigned int val) |
| virtual const DtString & | diGuyName () const |
| virtual void | setDiGuyName (const DtString &val) |
Public Member Functions inherited from DtBaseEntityStateRepository | |
| DtBaseEntityStateRepository () | |
| default constructor More... | |
| virtual | ~DtBaseEntityStateRepository () |
| destructor More... | |
| DtBaseEntityStateRepository (const DtBaseEntityStateRepository &orig) | |
| copy constructor More... | |
| DtBaseEntityStateRepository & | operator= (const DtBaseEntityStateRepository &orig) |
| assignment operator More... | |
| void | setTimeStampType (DtTimeStampType type) |
| Set/Get flag indicating whether we're using absolute timestamps for dead reckoning. More... | |
| DtTimeStampType | timeStampType () const |
| virtual void | setHlaObjectManager (DtHlaObjectManager *mgr) |
| Set the HLA/DIS object manager. More... | |
| virtual void | setAmAsSeenByRemote (bool val) |
| Mark this state repository as an AsSeenByRemote copy. More... | |
| virtual const DtDcm & | bodyToGeoc (DtTime aTime) const |
| Get the body to geocentric coordinate matrix. More... | |
| virtual const DtDcm & | bodyToGeoc () const |
| Get the body to geocentric coordinate matrix. More... | |
| virtual const DtDcm & | relativeBodyToHost (DtTime aTime) const |
| Get the body to host DCM. More... | |
| virtual const DtDcm & | relativeBodyToHost () const |
| Get the body to host DCM. More... | |
| virtual const DtEntityIdentifier & | entityId () const |
| The entity's identifier. More... | |
| virtual void | setEntityType (const DtEntityType &type) |
| Set the entity type. More... | |
| virtual const DtEntityType & | entityType () const |
| The entity type. More... | |
| virtual void | setFederateId (const DtFederateId &id) |
| Set the federate ID (part of entity ID). More... | |
| virtual const DtFederateId & | federateId () const |
| The federate ID (part of entity ID). More... | |
| virtual void | useDeadReckoner (DtDeadReckoner *dr) |
| Tells the DtBaseEntity to use dr as its DtApproximator, and to notify it when DR algorithm changes. More... | |
| virtual void | useRelativeDeadReckoner (DtDeadReckoner *dr) |
| Tells the DtBaseEntity to use dr as its DtApproximator, and to notify it when DR algorithm changes. More... | |
| virtual void | useDeadReckoner (bool yesNo=true) |
| Create and use a new (private) dead-reckoner as our approximator. More... | |
| virtual void | useRelativeDeadReckoner (bool yesNo=true) |
| Create and use a new (private) dead-reckoner as our approximator. More... | |
| virtual DtDeadReckoner * | usingDeadReckoner () |
| If the ESR is using a dead reckoner, returns it. Else returns NULL. More... | |
| virtual DtDeadReckoner * | usingRelativeDeadReckoner () |
| If the ESR is using a dead reckoner, returns it. Else returns NULL. More... | |
| virtual void | useSmoother (DtSmoother *sm) |
| Tells the ESR to use sm as its approximator, and to notify it when DR algorithm changes. More... | |
| virtual void | useRelativeSmoother (DtSmoother *sm) |
| Tells the ESR to use sm as its approximator, and to notify it when DR algorithm changes. More... | |
| virtual void | useSmoother (bool yesNo=true) |
| Create and use a new (private) smoother as our approximator. More... | |
| virtual void | useRelativeSmoother (bool yesNo=true) |
| Create and use a new (private) smoother as our approximator. More... | |
| virtual DtSmoother * | usingSmoother () |
| If the ESR is using a smoother, returns it. Else returns NULL. More... | |
| virtual DtSmoother * | usingRelativeSmoother () |
| If the ESR is using a smoother, returns it. Else returns NULL. More... | |
| virtual DtThresholder * | thresholder () |
| Returns the SR's thresholder, which contains thresholds needed for encoding. More... | |
| virtual const DtThresholder & | thresholder () const |
| Returns a const reference the SR's thresholder, which contains thresholds needed for encoding. More... | |
| virtual DtClock * | clock () const |
| The clock being used for dead reckoning calculations. More... | |
| virtual void | setTimeForSets (DtTime time) |
| virtual DtTime | timeForSets () const |
| void | computeSpatialFromRelativeSpatial () |
| If this unit has a host, update the esr to reflect the current state of the host. More... | |
| DtBaseEntityStateRepository * | hostEsr () const |
| Returns null if there isn't a host. More... | |
| virtual void | setAll (const DtVector &loc, const DtVector32 &vel, const DtTaitBryan &ori, const DtVector32 &acc, const DtVector32 &rotVel, DtTime t) |
| Coherently set all DR parameters, thus avoiding DR computations associated with a partial set. More... | |
| virtual void | setAll (const DtVector &loc, const DtVector32 &vel, const DtTaitBryan &ori, const DtVector32 &acc, const DtVector32 &rotVel) |
| Coherently set all DR parameters, thus avoiding DR computations associated with a partial set. More... | |
| virtual void | setLocation (const DtVector &location, DtTime aTime) |
| Set the location of the center of mass in geocentric world coordinates at aTime. More... | |
| virtual void | setLocation (const DtVector &location) |
| Set the location of the center of mass in geocentric world coordinates at current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtVector & | location (DtTime aTime) const |
| The location in geocentric world coordinates at aTime. More... | |
| virtual const DtVector & | location () const |
| The location in geocentric world coordinates at the current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtVector & | lastSetLocation () const |
| Return the value last passed to setLocation, regardless of whether we have an approximator. More... | |
| virtual void | setVelocity (const DtVector32 &Velocity, DtTime aTime) |
| Set the velocity in meters per second at aTime. More... | |
| virtual void | setVelocity (const DtVector32 &Velocity) |
| The velocity in meters per second at the current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtVector32 & | velocity (DtTime aTime) const |
| The velocity in meters per second at aTime. More... | |
| virtual const DtVector32 & | velocity () const |
| The velocity at the current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtVector32 & | lastSetVelocity () const |
| Return the value last passed to setVelocity, regardless of whether we have an approximator. More... | |
| virtual void | setAcceleration (const DtVector32 &Acceleration, DtTime aTime) |
| Sets the acceleration at aTime. More... | |
| virtual void | setAcceleration (const DtVector32 &Acceleration) |
| Sets the acceleration at the current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtVector32 & | acceleration (DtTime aTime) const |
| Return the acceleration at aTime. More... | |
| virtual const DtVector32 & | acceleration () const |
| The acceleration at the current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtVector32 & | lastSetAcceleration () const |
| The value last passed to setAcceleration, regardless of whether we have an approximator. More... | |
| virtual void | setOrientation (const DtTaitBryan &orient, DtTime aTime) |
| Set the orientation at aTime. More... | |
| virtual void | setOrientation (const DtTaitBryan &orient) |
| Set the orientation at the current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtTaitBryan & | orientation (DtTime aTime) const |
| The orientation at the passed time. More... | |
| virtual const DtTaitBryan & | orientation () const |
| The orientation at the current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtTaitBryan & | lastSetOrientation () const |
| The value last passed to setOrientation, regardless of whether we have an approximator. More... | |
| virtual void | setRotationalVelocity (const DtVector32 &BodyRates, DtTime aTime) |
| Set the rotational velocity of an entity at aTime. More... | |
| virtual void | setRotationalVelocity (const DtVector32 &BodyRates) |
| Set the rotational velocity of an entity at the current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtVector32 & | rotationalVelocity (DtTime aTime) const |
| The rotational velocity of an entity at aTime. More... | |
| virtual const DtVector32 & | rotationalVelocity () const |
| The rotational velocity of an entity at the current simulation time, as set in clock()->simTime(). More... | |
| virtual const DtVector32 & | lastSetRotationalVelocity () const |
| Return the value last passed to setRotationalVelocity, regardless of whether we have an approximator. More... | |
| virtual void | setAlgorithm (DtDeadReckonTypes alg) |
| Set the dead reckoning algorithm. More... | |
| virtual DtDeadReckonTypes | algorithm () const |
| The dead reckoning algorithm. More... | |
| virtual void | setRelativeLocation (const DtVector &location, DtTime aTime) |
| Set the location of the center of mass in world coordinates at the given time. More... | |
| virtual void | setRelativeLocation (const DtVector &location) |
| Set the location of the center of mass in world coordinates at the simTime as set by clock()->simTime(). More... | |
| virtual const DtVector & | relativeLocation (DtTime aTime) const |
| The relativeLocation of the entity with respect to the hostGlobalId() or "Host" at the given time. More... | |
| virtual const DtVector & | relativeLocation () const |
| The relativeLocation of the entity with respect to the hostGlobalId() or "Host" at simTime as set by clock()->simTime(). More... | |
| virtual const DtVector & | lastSetRelativeLocation () const |
| Return the value last passed to setLocation, regardless of whether we have an approximator. More... | |
| virtual void | setRelativeVelocity (const DtVector32 &Velocity, DtTime aTime) |
| Set the relative velocity of the entity in meters per second with respect to the host at aTime. More... | |
| virtual void | setRelativeVelocity (const DtVector32 &Velocity) |
| Set the relative velocity of the entity in meters per second with respect to the host at simTime. More... | |
| virtual const DtVector32 & | relativeVelocity (DtTime aTime) const |
| The relative velocity of the entity with respect to the host at aTime. More... | |
| virtual const DtVector32 & | relativeVelocity () const |
| The relative velocity of the entity with respect to the host at simTime. More... | |
| virtual const DtVector32 & | lastSetRelativeVelocity () const |
| Return the value last passed to setVelocity, regardless of whether we have an approximator. More... | |
| virtual void | setRelativeAcceleration (const DtVector32 &Acceleration, DtTime aTime) |
| Set the relative acceleration of the entity with respect to the host at aTime. More... | |
| virtual void | setRelativeAcceleration (const DtVector32 &Acceleration) |
| Set the relative acceleration of the entity with respect to the host at simTime. More... | |
| virtual const DtVector32 & | relativeAcceleration (DtTime aTime) const |
| The relativeAcceleration of the entity with respect to the host at aTime. More... | |
| virtual const DtVector32 & | relativeAcceleration () const |
| The relativeAcceleration of the entity with respect to the host at simTime. More... | |
| virtual const DtVector32 & | lastSetRelativeAcceleration () const |
| Return the value last passed to setAcceleration, regardless of whether we have an approximator. More... | |
| virtual void | setRelativeOrientation (const DtTaitBryan &orient, DtTime aTime) |
| Set the relative orientation of the entity with respect to the host. More... | |
| virtual void | setRelativeOrientation (const DtTaitBryan &orient) |
| Set the relative orientation of the entity with respect to the host. More... | |
| virtual const DtTaitBryan & | relativeOrientation (DtTime aTime) const |
| The relative orientation of the entity with respect to the host. More... | |
| virtual const DtTaitBryan & | relativeOrientation () const |
| The relative orientation of the entity with respect to the host. More... | |
| virtual const DtTaitBryan & | lastSetRelativeOrientation () const |
| Return the value last passed to setOrientation, regardless of whether we have an approximator. More... | |
| virtual void | setRelativeRotationalVelocity (const DtVector32 &BodyRates, DtTime aTime) |
| Set the relative rotational velocity. More... | |
| virtual void | setRelativeRotationalVelocity (const DtVector32 &BodyRates) |
| Set the relative rotational velocity. More... | |
| virtual const DtVector32 & | relativeRotationalVelocity (DtTime aTime) const |
| The relative rotational velocity. More... | |
| virtual const DtVector32 & | relativeRotationalVelocity () const |
| The relative rotational velocity. More... | |
| virtual const DtVector32 & | lastSetRelativeRotationalVelocity () const |
| Return the value last passed value to setRotationalVelocity, regardless of whether we have an approximator. More... | |
| virtual void | setRelativeFrozen (bool onOff) |
| Set relative frozen. More... | |
| virtual bool | relativeFrozen () const |
| Returns if the entity is frozen. More... | |
| virtual void | setRelativeAlgorithm (DtDeadReckonTypes alg) |
| Set the dead reckoning algorithm. More... | |
| virtual DtDeadReckonTypes | relativeAlgorithm () const |
| The dead reckoning algorithm. More... | |
| virtual const DtGlobalObjectDesignator & | hostGlobalId () const |
| Returns the globalID of the attached host. More... | |
| virtual void | setHostGlobalId (const DtGlobalObjectDesignator &id) |
| Sets the globalId of the attached host. More... | |
| virtual void | clearHostGlobalId () |
| Unattaches this entity from its host. More... | |
| virtual const DtNature & | nature () const |
| The nature of this entity to the host. More... | |
| virtual void | setNature (const DtNature newVal) |
| Sets the nature of this entity to the host. More... | |
| virtual const DtPosition & | partPosition () const |
| The Part Position this entity is preforming on the host. More... | |
| virtual void | setPartPosition (const DtPosition newVal) |
| Sets the Part Position this entity is preforming on the host. More... | |
| virtual const DtStationName & | stationName () const |
| The station name this entity is assigned to on the host. More... | |
| virtual void | setStationName (const DtStationName newVal) |
| Sets the station name this entity is assigned to on the host. More... | |
| virtual const DtU16 & | stationNumber () const |
| The station number this entity is assigned to on the host. More... | |
| virtual void | setStationNumber (const DtU16 newVal) |
| Sets the station number this entity is assigned to on the host. More... | |
| virtual const DtVector & | relativePosition () const |
| The relative position on the host. More... | |
| virtual void | setRelativePosition (const DtVector &newVal) |
| Set the relative position on the host. More... | |
| virtual const DtFloat32 & | range () const |
| The range to the host. More... | |
| virtual void | setRange (const DtFloat32 newVal) |
| Set the range to the host. More... | |
| virtual const DtFloat32 & | bearing () const |
| The bearing to host. More... | |
| virtual void | setBearing (const DtFloat32 newVal) |
| Set the bearing to host. More... | |
| virtual void | setApproximator (DtApproximator *approx) |
| Get and set the approximator used to provide approximated position and orientation information for the entity. More... | |
| virtual DtApproximator * | approximator () const |
| Get and set the approximator used to provide approximated position and orientation information for the entity. More... | |
| virtual void | setRelativeApproximator (DtApproximator *approx) |
| Get and set the approximator used to provide approximated position and orientation information for the entity. More... | |
| virtual DtApproximator * | relativeApproximator () const |
| Get and set the approximator used to provide approximated position and orientation information for the entity. More... | |
Public Member Functions inherited from DtStateRepository | |
| DtStateRepository () | |
| default constructor More... | |
| DtStateRepository (const DtStateRepository &orig) | |
| copy constructor More... | |
| virtual | ~DtStateRepository () |
| destructor More... | |
| DtStateRepository & | operator= (const DtStateRepository &orig) |
| assignment operator More... | |
| virtual void | setGlobalId (const DtString &id) |
| Get/Set global identifier, or name. More... | |
| virtual const DtString & | globalId () const |
| virtual void | setLocalId (const DtObjectId &id) |
| Get/Set local identifier, or handle. More... | |
| virtual const DtObjectId & | localId () const |
| virtual bool | publishesAttribute (const RTI::AttributeHandle &val) const |
| Returns true if the attribute is published. More... | |
| virtual void | setAttributeByHandle (const RTI::AttributeHandle &attrHdl, const char *attrValue, unsigned size) |
| Set the attribute with the given handle. More... | |
| virtual const char * | getAttributeByHandle (const RTI::AttributeHandle &attrHdl, unsigned &size) const |
| Get a pointer to attribute value for the attribute with the given handle. More... | |
| virtual void | setAttributeByName (const DtString &attrName, const char *attrValue, unsigned size, DtHlaObject *hlaObj) |
| Set the attribute with the given name. Note that in order to do this you must provide a DtHlaObject. More... | |
| virtual const char * | getAttributeByName (const DtString &attrName, unsigned &size, DtHlaObject *hlaObj) const |
| Get a pointer to attribute value for the attribute with the given name. More... | |
| virtual const char * | getAttributeByHandleIfUpdated (const RTI::AttributeHandle &attrHdl, unsigned &size) const |
| Get a pointer to attribute value for the attribute with the given handle, but only if it's been updated since the last time we read it. More... | |
| virtual DtStateRepositoryExtension * | stateRepositoryExtension (DtString srExtName) const |
| Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found. More... | |
| virtual std::vector< DtString > | stateRepositoryExtensionNames () const |
| Returns a set of the registered state repository extension names. More... | |
| virtual void | setStateRepositoryExtensions (std::map< DtString, DtStateRepositoryExtension * > extensions) |
| Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found. More... | |
| virtual const std::map < DtString, DtStateRepositoryExtension * > | stateRepositoryExtensions () const |
| Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found. More... | |
Static Public Member Functions | |
| static DtF18EntityStateRep * | create () |
| Need this so that reflected Lists will know how to create an instance of the DtF18EntityStateRep. More... | |
Static Public Member Functions inherited from DtEntityStateRepository | |
| static DtEntityStateRepository * | create () |
| Static create method. More... | |
Static Public Member Functions inherited from DtBaseEntityStateRepository | |
| static void | setDefaultDeadReckoner (DtDeadReckoner *val) |
| Static variable that sets the default dead reckoner if none is chosen. More... | |
| static void | setDefaultSmoother (DtSmoother *val) |
| Static variable that sets the default smoother if none is chosen. By default this is DtSmoother. More... | |
| static void | setDefaultRelativeDeadReckoner (DtDeadReckoner *val) |
| Static variable that sets the default relative dead reckoner if none is chosen. More... | |
| static void | setDefaultRelativeSmoother (DtSmoother *val) |
| Static variable that sets the default relative smoother if none is chosen. More... | |
Static Public Member Functions inherited from DtStateRepository | |
| static bool | addStateRepositoryExtension (DtString srExtName, DtSrExtCreatorFnc fnc) |
| The following functions are for extending state repositories through State Repository Extension classes. More... | |
Private Member Functions | |
| DtF18EntityStateRep (const DtF18EntityStateRep &orig) | |
| copy constructor – Not Implemented More... | |
| DtF18EntityStateRep & | operator= (const DtF18EntityStateRep &orig) |
| assignment operator – Not Implemented More... | |
Additional Inherited Members | |
Public Types inherited from DtStateRepository | |
| typedef std::map< DtString, DtStateRepositoryExtension * > | DtStateRepositoryExtensionMap |
Public Attributes inherited from DtStateRepository | |
| DtString | myGlobalId |
| DtObjectId | myLocalId |
| std::map< RTI::AttributeHandle, DtGenericAttributeInfo * > | myAttributesByHandle |
| Attributes by handle. More... | |
| DtStateRepositoryExtensionMap | myStateRepositoryExtensionMap |
Static Public Attributes inherited from DtStateRepository | |
| static std::map< DtString, DtSrExtCreatorFnc > | theStateRepositoryExtensionCreatorMap |
Protected Member Functions inherited from DtEntityStateRepository | |
| DtEntityStateRepository * | self () const |
| Cast off const-ness for trivial internal change. More... | |
| void | internalSetMarkingText (const char *text) |
| Set the marking text. More... | |
| virtual void | createDiGuyStateRep () |
| Create a DIGuy SR when needed. More... | |
Protected Member Functions inherited from DtBaseEntityStateRepository | |
| DtBaseEntityStateRepository * | self () const |
| Cast off const-ness for trivial internal change. More... | |
Static Protected Attributes inherited from DtBaseEntityStateRepository | |
| static DtDeadReckoner * | theDfltDeadReckoner |
| Static defaults. More... | |
| static DtSmoother * | theDfltSmoother |
| static DtDeadReckoner * | theDfltRelativeDeadReckoner |
| static DtSmoother * | theDfltRelativeSmoother |
An example subclass of the DtEntityStateRepository.
This example shows how to add a new attribute to an existing entity type. Here we add a new attribute which is a string.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
private |
copy constructor – Not Implemented
|
inlinestatic |
Need this so that reflected Lists will know how to create an instance of the DtF18EntityStateRep.
|
inlinevirtual |
The new attribute string.
References myAttrib.
Referenced by DtF18EntityEncoder::encodeSpecialF18Attribute(), and DtF18EntityEncoder::needSpecialF18Attribute().
|
private |
assignment operator – Not Implemented
|
inlinevirtual |
Set the new attribute string.
References myAttrib.
Referenced by DtF18EntityDecoder::decodeSpecialF18Attribute().
|
protected |
Referenced by f18Attribute(), and setF18Attribute().