![]() |
VR-Link API Documentation for DIS
|
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a protocol independent way. More...
Inheritance diagram for DtEntityStateRepository:
Collaboration diagram for DtEntityStateRepository:Public Member Functions | |
| DtEntityStateRepository () | |
| default constructor | |
| virtual | ~DtEntityStateRepository () |
| destructor | |
| DtEntityStateRepository (const DtEntityStateRepository &orig) | |
| copy constructor | |
| DtEntityStateRepository & | operator= (const DtEntityStateRepository &orig) |
| assignment operator | |
| virtual DtStateRepository * | clone (bool copy=false) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | setForceId (DtForceType force) |
| Set the force type. | |
| virtual DtForceType | forceId () const |
| The force type. | |
| virtual void | setGuise (const DtEntityType &type) |
| Set the alternate entity type or guise. | |
| virtual const DtEntityType & | guise () const |
| The alternate entity type or guise. | |
| virtual void | setFrozen (bool onOff) |
| Set the frozen attribute. | |
| virtual bool | frozen () const |
| The frozen state of the entity. | |
| virtual void | setMarkingCharSet (int charSet) |
| Set the character set used for the marking. | |
| virtual int | markingCharSet () const |
| The character set used for the marking. | |
| virtual void | setMarkingText (const char *text) |
| Set the marking text attribute. | |
| virtual const char * | markingText () const |
| The marking text attribute. | |
| virtual void | setMaskedCloaked (bool onOff) |
| Sets masked/cloaked appearance bit (introduced in DIS enums 2005 doc). | |
| virtual bool | maskedCloaked () const |
| Returns the masked/cloaked appearance bit. | |
| virtual void | setAppearance (DtU32 app) |
| Set the appearance bit field, use with care. | |
| virtual DtU32 | appearance () const |
| Return the appearance bit field, use this with care. | |
| virtual void | setAppearanceAttribute (const DtAppearAttribute attr, const DtAppearAttrVal val) |
| Set an appearance attribute. | |
| virtual DtAppearAttrVal | appearanceAttribute (const DtAppearAttribute attr) const |
| Set an appearance attribute. | |
| virtual void | setClock (DtClock *clock) |
| Overrides DtBaseEntityStateRepository's setClock method. | |
| virtual void | printData () const |
| Print the state data to the DtInfo stream. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| prints the state data to the specified stream. | |
Appearance Attributes | |
Appearance attributes describe visual properties of an object. Appearance attributes are optional, and describe the appearance of an object. Not all attributes apply to all entity types. Many non RPR Based FOMs do not contain these attributes, users should keep this in mind when using a FOM Mapper. | |
| virtual bool | powerPlantOn () const |
| Set/Get whether entity's power plant is on or not. | |
| virtual void | setPowerPlantOn (bool onOff) |
| Set/Get whether entity's power plant is on or not. | |
| virtual void | setDamageState (DtDamageState s) |
| Set the damage state. | |
| virtual DtDamageState | damageState () const |
| Get the damage state. | |
| virtual void | setEngineSmokeOn (bool onOff) |
| Set whether engine smoke is on or not. | |
| virtual bool | engineSmokeOn () const |
| Get whether engine smoke is on or not. | |
| virtual void | setFlamesPresent (bool onOff) |
| Set whether flames are present or not. | |
| virtual bool | flamesPresent () const |
| Get whether flames are present or not. | |
| virtual void | setHasFuelSupplyCap (bool onOff) |
| Set whether entity has fuel supplying capability. | |
| virtual bool | hasFuelSupplyCap () const |
| Get whether entity has fuel supplying capability. | |
| virtual void | setHasRecoveryCap (bool onOff) |
| Set whether entity has recovery capability. | |
| virtual bool | hasRecoveryCap () const |
| Get whether entity has recovery capability. | |
| virtual void | setHasRepairCap (bool onOff) |
| Set whether entity has repair capability. | |
| virtual bool | hasRepairCap () const |
| Get whether entity has repair capability. | |
| virtual void | setHatchState (DtHatchState s) |
| Set the entity's hatch state. | |
| virtual DtHatchState | hatchState () const |
| Get the entity's hatch state. | |
| virtual void | setImmobilized (bool onOff) |
| Set whether the entity is immobilized or not. | |
| virtual bool | immobilized () const |
| Get whether the entity is immobilized or not. | |
| virtual void | setLifeformState (DtLifeformState s) |
| Set entity life form state. | |
| virtual DtLifeformState | lifeformState () const |
| Get entity life form state. | |
| virtual void | setLightState (DtLightType s, bool onOff) |
| Set light state of entity. | |
| virtual bool | lightState (DtLightType s) const |
| Get light state of entity. | |
| virtual void | setLightState (DtLightState s) |
| Set/Get light state of entity. | |
| virtual DtLightState | lightState () const |
| Set/Get whether entity's power plant is on or not. | |
| virtual void | setDensity (DtDensityType dens) |
| Set/Get density state of entity. (Environment entities). | |
| virtual DtDensityType | density () const |
| Set/Get density state of entity. (Environment entities). | |
| virtual void | setRampDeployed (bool onOff) |
| Set/Get whether entity has ramp deployed or not. | |
| virtual bool | rampDeployed () const |
| Set/Get whether entity has ramp deployed or not. | |
| virtual void | setSmokePlumePresent (bool onOff) |
| Set/Get whether a smoke plume is present or not. | |
| virtual bool | smokePlumePresent () const |
| Set/Get whether a smoke plume is present or not. | |
| virtual void | setTentDeployed (bool onOff) |
| Set/Get whether a tent is deployed or not. | |
| virtual bool | tentDeployed () const |
| Set/Get whether a tent is deployed or not. | |
| virtual void | setTrailState (DtTrailState s) |
| Set/Get trailing effect state. | |
| virtual DtTrailState | trailState () const |
| Set/Get trailing effect state. | |
| virtual void | setCamouflageType (DtCamouflageType type) |
| Set/Get camouflage type. | |
| virtual DtCamouflageType | camouflageType () const |
| Set/Get camouflage type. | |
| virtual void | setFirePowerDisabled (bool onOff) |
| Set/Get whether entity is fire power disabled or not. | |
| virtual bool | firePowerDisabled () const |
| Set/Get whether entity is fire power disabled or not. | |
| virtual void | setIsConcealed (bool onOff) |
| Set/Get whether entity is concealed or not. | |
| virtual bool | isConcealed () const |
| Set/Get whether entity is concealed or not. | |
| virtual void | setAfterburnerOn (bool onOff) |
| Set/Get whether entity has after burner on or not. | |
| virtual bool | afterburnerOn () const |
| Set/Get whether entity has after burner on or not. | |
| virtual void | setHasAmmunitionSupplyCap (bool onOff) |
| Set/Get whether entity has ammunition supply capability or not. | |
| virtual bool | hasAmmunitionSupplyCap () const |
| Set/Get whether entity has ammunition supply capability or not. | |
| virtual void | setLauncherRaised (bool onOff) |
| Set/Get whether entity has launcher raised or not. | |
| virtual bool | launcherRaised () const |
| Set/Get whether entity has launcher raised or not. | |
| virtual void | setLauncherFlashPresent (bool onOff) |
| Set/Get whether launcher flash is present or not. | |
| virtual bool | launcherFlashPresent () const |
| Set/Get whether launcher flash is present or not. | |
| virtual void | setPrimaryWeaponState (DtWeaponState s) |
| Set/Get primary weapon deployment state. | |
| virtual DtWeaponState | primaryWeaponState () const |
| Set/Get primary weapon deployment state. | |
| virtual void | setSecondaryWeaponState (DtWeaponState s) |
| Set/Get secondary weapon deployment state. | |
| virtual DtWeaponState | secondaryWeaponState () const |
| Set/Get secondary weapon deployment state. | |
| virtual void | setComplianceState (DtComplianceState s) |
| Set/Get life form compliance state. | |
| virtual DtComplianceState | complianceState () const |
| Set/Get life form compliance state. | |
| virtual void | setAntennaRaised (bool upDown) |
| Set/Get Antenna Raised status. | |
| virtual bool | antennaRaised () const |
| Set/Get Antenna Raised status. | |
| virtual void | setMissionKill (bool yesNo) |
| Set/Get Mission Kill status. | |
| virtual bool | missionKill () const |
| Set/Get Mission Kill status. | |
| virtual void | setInternalHeatSource (bool onOff) |
| Set/Get internal Heat Source status. | |
| virtual bool | internalHeatSource () const |
| Set/Get internal Heat Source status. | |
| virtual const DtArticulatedPartCollection * | artPartList () const |
| Initialize articulated parts. | |
| virtual DtArticulatedPartCollection * | artPartList () |
| Initialize articulated parts. | |
| virtual const DtAttachedPartCollection * | attPartList () const |
| Get the attached parts list. | |
| virtual DtAttachedPartCollection * | attPartList () |
| Get the attached parts list. | |
| virtual void | setInfraRedSigRepIndex (DtU16 value) |
| Set/Get infra-red signature representation index. | |
| virtual DtU16 | infraRedSigRepIndex () const |
| Set/Get infra-red signature representation index. | |
| virtual void | setAcousticSigRepIndex (DtU16 value) |
| Set/Get acoustic signature representation index. | |
| virtual DtU16 | acousticSigRepIndex () const |
| Set/Get acoustic signature representation index. | |
| virtual void | setRadarSigRepIndex (DtU16 value) |
| Set/Get radar signature representation index. | |
| virtual DtU16 | radarSigRepIndex () const |
| Set/Get radar signature representation index. | |
| void | setNumPropulsionSystems (DtU16 value) |
| Set/Get number of propulsion systems. | |
| DtU16 | numPropulsionSystems () const |
| Set/Get number of propulsion systems. | |
| void | setNumNozzleSystems (DtU16 value) |
| Set/Get number of nozzle systems. | |
| DtU16 | numNozzleSystems () const |
| Set/Get number of nozzle systems. | |
| bool | setPropulsionSystem (int index, const DtPropulsionSystem &record) |
| Set/Get a propulsion system data record. | |
| bool | getPropulsionSystem (int index, DtPropulsionSystem &record) const |
| Set/Get a propulsion system data record. | |
| bool | setNozzleSystem (int index, const DtVectoringNozzleSystem &record) |
| Set/Get a vectoring nozzle system data record. | |
| bool | getNozzleSystem (int index, DtVectoringNozzleSystem &record) const |
| Set/Get a vectoring nozzle system data record. | |
| virtual void | setMeasuredSpeed (DtU16 value) |
| Set/Get measured speed. | |
| virtual DtU16 | measuredSpeed () const |
| Set/Get measured speed. | |
| virtual void | setCapabilities (DtU32 cap) |
| Set/Get the capabilities field. | |
| virtual DtU32 | capabilities () const |
| Set/Get the capabilities field. | |
| virtual void | setDiGuyAction (const DtString &val, bool paused) |
| The DI-Guy attributes. | |
| virtual const DtString & | diGuyAction (bool &paused) const |
| The DI-Guy attributes. | |
| virtual void | setDiGuyAppearance (const DtString &val) |
| The DI-Guy attributes. | |
| virtual const DtString & | diGuyAppearance () const |
| The DI-Guy attributes. | |
| virtual void | setDiGuyArc (const std::vector< char > &val) |
| The DI-Guy attributes. | |
| virtual const std::vector< char > & | diGuyArc () const |
| The DI-Guy attributes. | |
| virtual void | setDiGuyType (const DtString &newDiGuyType, const DtString &newDiGuyAppearance) |
| When updating DiGuy type, it will typicall make sense to also update the DiGuy Appearance. | |
| virtual void | setDiGuyType (const DtString &val) |
| The DI-Guy attributes. | |
| virtual const DtString & | diGuyType () const |
| The DI-Guy attributes. | |
| virtual void | setDiGuyParent (const DtEntityIdentifier &val) |
| The DI-Guy attributes. | |
| virtual const DtEntityIdentifier & | diGuyParent () const |
| The DI-Guy attributes. | |
Static Public Member Functions | |
| static DtEntityStateRepository * | create () |
Protected Member Functions | |
| DtEntityStateRepository * | self () const |
| Cast off const-ness for trivial internal change. | |
| void | internalSetMarkingText (const char *text) |
| Set the marking text. | |
Protected Attributes | |
| DtArticulatedPartCollection | myArtPartList |
| DtAttachedPartCollection | myAttPartList |
| DtForceType | myForceId |
| DtEntityType | myGuise |
| DtU32 | myAppearance |
| int | myMarkingCharSet |
| DtString | myMarkingText |
| myMarkingText is an array of theMaxMarkingSize. | |
| DtU32 | myCapabilities |
| DtU16 | myLiveEntityMeasuredSpeed |
| DtU16 | myAcousticsSignatureIndex |
| DtU16 | myInfaredSignatureIndex |
| DtU16 | myRadarCrossSectionSignatureIndex |
| int | myNumPropulsionSystemsData |
| int | myNumVectoringNozzleSystemData |
| DtPropulsionSystem * | myPropulsionSystemsDataList |
| DtVectoringNozzleSystem * | myVectoringNozzleSystemDataList |
| DtString | myDiGuyAction |
| The DIGuy extension attributes. | |
| bool | myDiGuyActionPaused |
| DtString | myDiGuyAppearance |
| std::vector< char > | myDiGuyArc |
| DtString | myDiGuyType |
| DtEntityIdentifier | myDiGuyParent |
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a protocol independent way.
It provides a fat interface which covers various types of entities. As a result, individual fields may not apply depending on the type of entity. TSPI information is found in the parent class DtBaseEntityStateRepository.
default constructor
| virtual DtEntityStateRepository::~DtEntityStateRepository | ( | ) | [virtual] |
destructor
copy constructor
| DtU16 DtEntityStateRepository::acousticSigRepIndex | ( | ) | const [inline, virtual] |
Set/Get acoustic signature representation index.
References myAcousticsSignatureIndex.
| virtual bool DtEntityStateRepository::afterburnerOn | ( | ) | const [virtual] |
Set/Get whether entity has after burner on or not.
| virtual bool DtEntityStateRepository::antennaRaised | ( | ) | const [virtual] |
Set/Get Antenna Raised status.
| DtU32 DtEntityStateRepository::appearance | ( | ) | const [inline, virtual] |
Return the appearance bit field, use this with care.
This is an alternate method of returning individual appearance settings.
References myAppearance.
| virtual DtAppearAttrVal DtEntityStateRepository::appearanceAttribute | ( | const DtAppearAttribute | attr | ) | const [virtual] |
Set an appearance attribute.
attr is the appearance bitfield mask val is the hex number to be or'ed in.
| const DtArticulatedPartCollection * DtEntityStateRepository::artPartList | ( | ) | const [inline, virtual] |
| DtArticulatedPartCollection * DtEntityStateRepository::artPartList | ( | ) | [inline, virtual] |
| const DtAttachedPartCollection * DtEntityStateRepository::attPartList | ( | ) | const [inline, virtual] |
Get the attached parts list.
References myAttPartList.
| DtAttachedPartCollection * DtEntityStateRepository::attPartList | ( | ) | [inline, virtual] |
Get the attached parts list.
References myAttPartList.
| virtual DtCamouflageType DtEntityStateRepository::camouflageType | ( | ) | const [virtual] |
Set/Get camouflage type.
| DtU32 DtEntityStateRepository::capabilities | ( | ) | const [inline, virtual] |
Set/Get the capabilities field.
References myCapabilities.
| virtual DtStateRepository* DtEntityStateRepository::clone | ( | bool | copy = false | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Reimplemented from DtBaseEntityStateRepository.
| virtual DtComplianceState DtEntityStateRepository::complianceState | ( | ) | const [virtual] |
Set/Get life form compliance state.
| static DtEntityStateRepository* DtEntityStateRepository::create | ( | ) | [static] |
| virtual DtDamageState DtEntityStateRepository::damageState | ( | ) | const [virtual] |
Get the damage state.
| virtual DtDensityType DtEntityStateRepository::density | ( | ) | const [virtual] |
Set/Get density state of entity. (Environment entities).
| virtual const DtString& DtEntityStateRepository::diGuyAction | ( | bool & | paused | ) | const [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual const DtString& DtEntityStateRepository::diGuyAppearance | ( | ) | const [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual const std::vector<char>& DtEntityStateRepository::diGuyArc | ( | ) | const [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual const DtEntityIdentifier& DtEntityStateRepository::diGuyParent | ( | ) | const [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual const DtString& DtEntityStateRepository::diGuyType | ( | ) | const [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual bool DtEntityStateRepository::engineSmokeOn | ( | ) | const [virtual] |
Get whether engine smoke is on or not.
| virtual bool DtEntityStateRepository::firePowerDisabled | ( | ) | const [virtual] |
Set/Get whether entity is fire power disabled or not.
| virtual bool DtEntityStateRepository::flamesPresent | ( | ) | const [virtual] |
Get whether flames are present or not.
| DtForceType DtEntityStateRepository::forceId | ( | ) | const [inline, virtual] |
The force type.
References myForceId.
| virtual bool DtEntityStateRepository::frozen | ( | ) | const [virtual] |
The frozen state of the entity.
Reimplemented from DtBaseEntityStateRepository.
| bool DtEntityStateRepository::getNozzleSystem | ( | int | index, |
| DtVectoringNozzleSystem & | record | ||
| ) | const |
Set/Get a vectoring nozzle system data record.
Returns false if the record does not exist. Non Virtual -- Used in Ctor
| bool DtEntityStateRepository::getPropulsionSystem | ( | int | index, |
| DtPropulsionSystem & | record | ||
| ) | const |
Set/Get a propulsion system data record.
Returns false if the record does not exist. Non Virtual -- Used in Ctor
| const DtEntityType & DtEntityStateRepository::guise | ( | ) | const [inline, virtual] |
The alternate entity type or guise.
References myGuise.
| virtual bool DtEntityStateRepository::hasAmmunitionSupplyCap | ( | ) | const [virtual] |
Set/Get whether entity has ammunition supply capability or not.
| virtual bool DtEntityStateRepository::hasFuelSupplyCap | ( | ) | const [virtual] |
Get whether entity has fuel supplying capability.
| virtual bool DtEntityStateRepository::hasRecoveryCap | ( | ) | const [virtual] |
Get whether entity has recovery capability.
| virtual bool DtEntityStateRepository::hasRepairCap | ( | ) | const [virtual] |
Get whether entity has repair capability.
| virtual DtHatchState DtEntityStateRepository::hatchState | ( | ) | const [virtual] |
Get the entity's hatch state.
| virtual bool DtEntityStateRepository::immobilized | ( | ) | const [virtual] |
Get whether the entity is immobilized or not.
| DtU16 DtEntityStateRepository::infraRedSigRepIndex | ( | ) | const [inline, virtual] |
Set/Get infra-red signature representation index.
References myInfaredSignatureIndex.
| virtual bool DtEntityStateRepository::internalHeatSource | ( | ) | const [virtual] |
Set/Get internal Heat Source status.
| void DtEntityStateRepository::internalSetMarkingText | ( | const char * | text | ) | [inline, protected] |
Set the marking text.
Non-virtual since meant to be used by constructor.
References myMarkingText.
Referenced by setMarkingText().
| virtual bool DtEntityStateRepository::isConcealed | ( | ) | const [virtual] |
Set/Get whether entity is concealed or not.
| virtual bool DtEntityStateRepository::launcherFlashPresent | ( | ) | const [virtual] |
Set/Get whether launcher flash is present or not.
| virtual bool DtEntityStateRepository::launcherRaised | ( | ) | const [virtual] |
Set/Get whether entity has launcher raised or not.
| virtual DtLifeformState DtEntityStateRepository::lifeformState | ( | ) | const [virtual] |
Get entity life form state.
In the RPR FOM this is called the Stance State.
| virtual bool DtEntityStateRepository::lightState | ( | DtLightType | s | ) | const [virtual] |
Get light state of entity.
| virtual DtLightState DtEntityStateRepository::lightState | ( | ) | const [virtual] |
Set/Get whether entity's power plant is on or not.
| int DtEntityStateRepository::markingCharSet | ( | ) | const [inline, virtual] |
| const char * DtEntityStateRepository::markingText | ( | ) | const [inline, virtual] |
The marking text attribute.
This is typically used as the vehicle bumper number, though some applications may use it as a unique identifier.
References DtString::c_str(), and myMarkingText.
| virtual bool DtEntityStateRepository::maskedCloaked | ( | ) | const [virtual] |
Returns the masked/cloaked appearance bit.
| DtU16 DtEntityStateRepository::measuredSpeed | ( | ) | const [inline, virtual] |
Set/Get measured speed.
References myLiveEntityMeasuredSpeed.
| virtual bool DtEntityStateRepository::missionKill | ( | ) | const [virtual] |
Set/Get Mission Kill status.
Set/Get number of nozzle systems.
Non Virtual -- Used in Ctor
Set/Get number of propulsion systems.
Non Virtual -- Used in Ctor
| DtEntityStateRepository& DtEntityStateRepository::operator= | ( | const DtEntityStateRepository & | orig | ) |
assignment operator
| virtual bool DtEntityStateRepository::powerPlantOn | ( | ) | const [virtual] |
Set/Get whether entity's power plant is on or not.
| virtual DtWeaponState DtEntityStateRepository::primaryWeaponState | ( | ) | const [virtual] |
Set/Get primary weapon deployment state.
| virtual void DtEntityStateRepository::printData | ( | ) | const [virtual] |
Print the state data to the DtInfo stream.
Reimplemented from DtBaseEntityStateRepository.
| virtual void DtEntityStateRepository::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
prints the state data to the specified stream.
Reimplemented from DtBaseEntityStateRepository.
| DtU16 DtEntityStateRepository::radarSigRepIndex | ( | ) | const [inline, virtual] |
Set/Get radar signature representation index.
References myRadarCrossSectionSignatureIndex.
| virtual bool DtEntityStateRepository::rampDeployed | ( | ) | const [virtual] |
Set/Get whether entity has ramp deployed or not.
| virtual DtWeaponState DtEntityStateRepository::secondaryWeaponState | ( | ) | const [virtual] |
Set/Get secondary weapon deployment state.
| DtEntityStateRepository * DtEntityStateRepository::self | ( | ) | const [inline, protected] |
Cast off const-ness for trivial internal change.
Non-virtual since can't override on return type.
Reimplemented from DtBaseEntityStateRepository.
| void DtEntityStateRepository::setAcousticSigRepIndex | ( | DtU16 | value | ) | [inline, virtual] |
Set/Get acoustic signature representation index.
References myAcousticsSignatureIndex.
| virtual void DtEntityStateRepository::setAfterburnerOn | ( | bool | onOff | ) | [virtual] |
Set/Get whether entity has after burner on or not.
| virtual void DtEntityStateRepository::setAntennaRaised | ( | bool | upDown | ) | [virtual] |
Set/Get Antenna Raised status.
| void DtEntityStateRepository::setAppearance | ( | DtU32 | app | ) | [inline, virtual] |
Set the appearance bit field, use with care.
References myAppearance.
| virtual void DtEntityStateRepository::setAppearanceAttribute | ( | const DtAppearAttribute | attr, |
| const DtAppearAttrVal | val | ||
| ) | [virtual] |
Set an appearance attribute.
attr is the appearance bitfield mask val is the hex number to be or'ed in.
| virtual void DtEntityStateRepository::setCamouflageType | ( | DtCamouflageType | type | ) | [virtual] |
Set/Get camouflage type.
| void DtEntityStateRepository::setCapabilities | ( | DtU32 | cap | ) | [inline, virtual] |
Set/Get the capabilities field.
References myCapabilities.
| virtual void DtEntityStateRepository::setClock | ( | DtClock * | clock | ) | [virtual] |
Overrides DtBaseEntityStateRepository's setClock method.
Reimplemented from DtBaseEntityStateRepository.
| virtual void DtEntityStateRepository::setComplianceState | ( | DtComplianceState | s | ) | [virtual] |
Set/Get life form compliance state.
| virtual void DtEntityStateRepository::setDamageState | ( | DtDamageState | s | ) | [virtual] |
Set the damage state.
| virtual void DtEntityStateRepository::setDensity | ( | DtDensityType | dens | ) | [virtual] |
Set/Get density state of entity. (Environment entities).
| virtual void DtEntityStateRepository::setDiGuyAction | ( | const DtString & | val, |
| bool | paused | ||
| ) | [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual void DtEntityStateRepository::setDiGuyAppearance | ( | const DtString & | val | ) | [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual void DtEntityStateRepository::setDiGuyArc | ( | const std::vector< char > & | val | ) | [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual void DtEntityStateRepository::setDiGuyParent | ( | const DtEntityIdentifier & | val | ) | [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual void DtEntityStateRepository::setDiGuyType | ( | const DtString & | newDiGuyType, |
| const DtString & | newDiGuyAppearance | ||
| ) | [virtual] |
When updating DiGuy type, it will typicall make sense to also update the DiGuy Appearance.
Prefer the setDiGuyType form that also updates appearance.
| virtual void DtEntityStateRepository::setDiGuyType | ( | const DtString & | val | ) | [virtual] |
The DI-Guy attributes.
In HLA, only if the DI-Guy PhysicalEntity extensions appear in the FOM will these be updated.
| virtual void DtEntityStateRepository::setEngineSmokeOn | ( | bool | onOff | ) | [virtual] |
Set whether engine smoke is on or not.
| virtual void DtEntityStateRepository::setFirePowerDisabled | ( | bool | onOff | ) | [virtual] |
Set/Get whether entity is fire power disabled or not.
| virtual void DtEntityStateRepository::setFlamesPresent | ( | bool | onOff | ) | [virtual] |
Set whether flames are present or not.
| void DtEntityStateRepository::setForceId | ( | DtForceType | force | ) | [inline, virtual] |
Set the force type.
References myForceId.
| virtual void DtEntityStateRepository::setFrozen | ( | bool | onOff | ) | [virtual] |
Set the frozen attribute.
Reimplemented from DtBaseEntityStateRepository.
| void DtEntityStateRepository::setGuise | ( | const DtEntityType & | type | ) | [inline, virtual] |
Set the alternate entity type or guise.
References myGuise.
| virtual void DtEntityStateRepository::setHasAmmunitionSupplyCap | ( | bool | onOff | ) | [virtual] |
Set/Get whether entity has ammunition supply capability or not.
| virtual void DtEntityStateRepository::setHasFuelSupplyCap | ( | bool | onOff | ) | [virtual] |
Set whether entity has fuel supplying capability.
| virtual void DtEntityStateRepository::setHasRecoveryCap | ( | bool | onOff | ) | [virtual] |
Set whether entity has recovery capability.
| virtual void DtEntityStateRepository::setHasRepairCap | ( | bool | onOff | ) | [virtual] |
Set whether entity has repair capability.
| virtual void DtEntityStateRepository::setHatchState | ( | DtHatchState | s | ) | [virtual] |
Set the entity's hatch state.
| virtual void DtEntityStateRepository::setImmobilized | ( | bool | onOff | ) | [virtual] |
Set whether the entity is immobilized or not.
| void DtEntityStateRepository::setInfraRedSigRepIndex | ( | DtU16 | value | ) | [inline, virtual] |
Set/Get infra-red signature representation index.
References myInfaredSignatureIndex.
| virtual void DtEntityStateRepository::setInternalHeatSource | ( | bool | onOff | ) | [virtual] |
Set/Get internal Heat Source status.
| virtual void DtEntityStateRepository::setIsConcealed | ( | bool | onOff | ) | [virtual] |
Set/Get whether entity is concealed or not.
| virtual void DtEntityStateRepository::setLauncherFlashPresent | ( | bool | onOff | ) | [virtual] |
Set/Get whether launcher flash is present or not.
| virtual void DtEntityStateRepository::setLauncherRaised | ( | bool | onOff | ) | [virtual] |
Set/Get whether entity has launcher raised or not.
| virtual void DtEntityStateRepository::setLifeformState | ( | DtLifeformState | s | ) | [virtual] |
Set entity life form state.
In the RPR FOM this is called the Stance State.
| virtual void DtEntityStateRepository::setLightState | ( | DtLightType | s, |
| bool | onOff | ||
| ) | [virtual] |
Set light state of entity.
| virtual void DtEntityStateRepository::setLightState | ( | DtLightState | s | ) | [virtual] |
Set/Get light state of entity.
This is for <= vrlink3.4 compatibility.
| void DtEntityStateRepository::setMarkingCharSet | ( | int | charSet | ) | [inline, virtual] |
| void DtEntityStateRepository::setMarkingText | ( | const char * | text | ) | [inline, virtual] |
Set the marking text attribute.
This is typically used as the vehicle bumper number, though some applications may use it as a unique identifier.
References internalSetMarkingText().
| virtual void DtEntityStateRepository::setMaskedCloaked | ( | bool | onOff | ) | [virtual] |
Sets masked/cloaked appearance bit (introduced in DIS enums 2005 doc).
| void DtEntityStateRepository::setMeasuredSpeed | ( | DtU16 | value | ) | [inline, virtual] |
Set/Get measured speed.
References myLiveEntityMeasuredSpeed.
| virtual void DtEntityStateRepository::setMissionKill | ( | bool | yesNo | ) | [virtual] |
Set/Get Mission Kill status.
| bool DtEntityStateRepository::setNozzleSystem | ( | int | index, |
| const DtVectoringNozzleSystem & | record | ||
| ) |
Set/Get a vectoring nozzle system data record.
Returns false if the record does not exist. Non Virtual -- Used in Ctor
| void DtEntityStateRepository::setNumNozzleSystems | ( | DtU16 | value | ) |
Set/Get number of nozzle systems.
Non Virtual -- Used in Ctor
| void DtEntityStateRepository::setNumPropulsionSystems | ( | DtU16 | value | ) |
Set/Get number of propulsion systems.
Non Virtual -- Used in Ctor
| virtual void DtEntityStateRepository::setPowerPlantOn | ( | bool | onOff | ) | [virtual] |
Set/Get whether entity's power plant is on or not.
| virtual void DtEntityStateRepository::setPrimaryWeaponState | ( | DtWeaponState | s | ) | [virtual] |
Set/Get primary weapon deployment state.
| bool DtEntityStateRepository::setPropulsionSystem | ( | int | index, |
| const DtPropulsionSystem & | record | ||
| ) |
Set/Get a propulsion system data record.
Returns false if the record does not exist. Non Virtual -- Used in Ctor
| void DtEntityStateRepository::setRadarSigRepIndex | ( | DtU16 | value | ) | [inline, virtual] |
Set/Get radar signature representation index.
References myRadarCrossSectionSignatureIndex.
| virtual void DtEntityStateRepository::setRampDeployed | ( | bool | onOff | ) | [virtual] |
Set/Get whether entity has ramp deployed or not.
| virtual void DtEntityStateRepository::setSecondaryWeaponState | ( | DtWeaponState | s | ) | [virtual] |
Set/Get secondary weapon deployment state.
| virtual void DtEntityStateRepository::setSmokePlumePresent | ( | bool | onOff | ) | [virtual] |
Set/Get whether a smoke plume is present or not.
| virtual void DtEntityStateRepository::setTentDeployed | ( | bool | onOff | ) | [virtual] |
Set/Get whether a tent is deployed or not.
| virtual void DtEntityStateRepository::setTrailState | ( | DtTrailState | s | ) | [virtual] |
Set/Get trailing effect state.
| virtual bool DtEntityStateRepository::smokePlumePresent | ( | ) | const [virtual] |
Set/Get whether a smoke plume is present or not.
| virtual bool DtEntityStateRepository::tentDeployed | ( | ) | const [virtual] |
Set/Get whether a tent is deployed or not.
| virtual DtTrailState DtEntityStateRepository::trailState | ( | ) | const [virtual] |
Set/Get trailing effect state.
Referenced by acousticSigRepIndex(), and setAcousticSigRepIndex().
DtU32 DtEntityStateRepository::myAppearance [protected] |
Referenced by appearance(), and setAppearance().
Referenced by artPartList().
Referenced by attPartList().
DtU32 DtEntityStateRepository::myCapabilities [protected] |
Referenced by capabilities(), and setCapabilities().
DtString DtEntityStateRepository::myDiGuyAction [protected] |
The DIGuy extension attributes.
These will only be used in HLA, and only if the DIGuy PhysicalEntity extensions appear in the FOM
bool DtEntityStateRepository::myDiGuyActionPaused [protected] |
DtString DtEntityStateRepository::myDiGuyAppearance [protected] |
std::vector<char> DtEntityStateRepository::myDiGuyArc [protected] |
DtString DtEntityStateRepository::myDiGuyType [protected] |
DtForceType DtEntityStateRepository::myForceId [protected] |
Referenced by forceId(), and setForceId().
DtEntityType DtEntityStateRepository::myGuise [protected] |
Referenced by guise(), and setGuise().
Referenced by infraRedSigRepIndex(), and setInfraRedSigRepIndex().
Referenced by measuredSpeed(), and setMeasuredSpeed().
int DtEntityStateRepository::myMarkingCharSet [protected] |
Referenced by markingCharSet(), and setMarkingCharSet().
DtString DtEntityStateRepository::myMarkingText [protected] |
myMarkingText is an array of theMaxMarkingSize.
String length is theMaxMarkingSize - 1 (doesn't include NULL).
Referenced by internalSetMarkingText(), and markingText().
int DtEntityStateRepository::myNumPropulsionSystemsData [protected] |
int DtEntityStateRepository::myNumVectoringNozzleSystemData [protected] |
Referenced by radarSigRepIndex(), and setRadarSigRepIndex().