![]() |
VR-Forces 4.6.1 Class Documentation
|

Public Member Functions | |
| DtExtEntityStateRepository () | |
| virtual | ~DtExtEntityStateRepository () |
| DtExtEntityStateRepository (const DtExtEntityStateRepository &orig) | |
| DtExtEntityStateRepository & | operator= (const DtExtEntityStateRepository &orig) |
| virtual DtStateRepository * | clone (bool copy=false) const |
| virtual int | compare (const DtExtEntityStateRepository *rhs) |
| virtual int | compareToMostRecent () |
| virtual int | compareArtParts (const std::list< int > &) |
| virtual int | compareArtParts (const DtArticulatedPart *source, const DtArticulatedPart *target) |
| virtual bool | locationsDifferent (bool updateIfDifferent) |
| virtual void | setDiGuyStateRepository (DtDIGuyObjectStateRepository *diGuyStateRep) |
| virtual void | setBodyWeight (double) |
| virtual double | bodyWeight () const |
| virtual DtString | uuidString () const |
| Returns a string version of the VRF UUID of this object, if it can be determined. | |
| bool | needsVrfDataUpdate () const |
| Returns true if the vrf object data has been modified. | |
| void | clearVrfDataNeedsUpdate () |
| bool | hasVrfObjectDataMessage () const |
| Returns true if at least on vrf object data message has been processed by this entity. | |
| void | setHasVrfObjectDataMessage (bool) |
| Sets whether or not has an object data message. | |
| virtual DtExtDiGuyStateRepository * | extDiGuyStateRepository () |
| virtual const DtExtDiGuyStateRepository * | extDiGuyStateRepository () const |
| virtual void | createDiGuyStateRep () |
| Overrides the one in base, creates an extended DI-Guy object state repository instead. | |
| virtual bool | setupFromVrfObjectData (const DtIfVrfObjectData &data) |
| virtual void | setSendVrfObjectDataRecord (bool shouldSend) |
| Whether a separate VrfObjectData message should be sent to convey additional VRF object information. | |
| virtual bool | shouldSendVrfObjectDataRecord () const |
Public Member Functions inherited from DtVrfExtensions | |
| DtVrfExtensions () | |
| virtual | ~DtVrfExtensions () |
| DtVrfExtensions (const DtVrfExtensions &orig) | |
| DtVrfExtensions & | operator= (const DtVrfExtensions &orig) |
| virtual const DtString & | name () const |
| virtual void | setName (const DtString &n) |
| virtual const DtString & | vrfObjectLabel () const |
| virtual void | setVrfObjectLabel (const DtString &l) |
| virtual const DtString & | echelonId () const |
| virtual void | setEchelonId (const DtString &l) |
| virtual const DtString & | overlayParent () const |
| virtual void | setOverlayParent (const DtString &l) |
| virtual bool | isVrfSimulated () const |
| virtual void | setIsVrfSimulated (bool vrf) |
| virtual DtU32 | vrfSessionId () const |
| virtual void | setVrfSessionId (DtU32 id) |
| virtual void | setVrfMessageVersionSupported (DtU32 id) |
| virtual DtU32 | vrfMessageVersionSupported () const |
| virtual void | setObjectType (const DtObjectType &) |
| virtual const DtObjectType & | objectType () const |
| virtual void | setIsSubordinateOfForce (bool b) |
| virtual bool | isSubordinateOfForce () const |
| virtual int | superType () const |
| virtual void | setHasPlan (bool yesNo) |
| virtual bool | hasPlan () const |
| virtual void | setIsCurrentlyTasked (bool yesNo) |
| virtual bool | isCurrentlyTasked () const |
| virtual void | setRulesOfEngagement (const DtString &) |
| virtual const DtString & | rulesOfEngagement () const |
| virtual void | addRangeItem (const DtRangeItem &) |
| Adds, removes and returns items in the range item list. | |
| virtual void | removeRangeItem (int index) |
| virtual void | setRangeItems (const DtRangeItems &) |
| const DtRangeItems & | rangeItems () const |
| virtual bool | createVrfObjectDataMessage () |
| virtual DtIfVrfObjectData * | vrfObjectDataMessage () const |
| virtual void | setIndependentlyTasked (bool yesNo) |
| virtual bool | independentlyTasked () const |
| virtual void | setUnderFire (bool yesNo) |
| virtual bool | underFire () const |
| virtual void | setExecutingPlan (bool yesNo) |
| virtual bool | executingPlan () const |
| virtual void | setExtendedData (const std::map< DtString, DtString > &) |
| Gets/sets extended data. | |
| virtual const std::map < DtString, DtString > & | extendedData () const |
| virtual void | setExtendedData (const DtString &key, const DtString &value) |
| virtual DtString | extendedData (const DtString &) const |
| virtual void | setBoundingVolume (const DtVector32 &) |
| Sets/gets bounding volume and bounding volume offset of an entity. | |
| virtual const DtVector32 & | boundingVolume () const |
| virtual void | setBoundingVolumeOffset (const DtVector32 &) |
| virtual const DtVector32 & | boundingVolumeOffset () const |
Static Public Member Functions | |
| static DtExtEntityStateRepository * | create () |
Protected Member Functions | |
| virtual void | extensionModified () |
Protected Attributes | |
| DtExtEntityStateRepository * | myLastCopy |
| bool | myVrfObjectDataUpdated |
| bool | myHasVrfObjectDataMessage |
| bool | mySendVrfObjectDataRec |
Protected Attributes inherited from DtVrfExtensions | |
| DtString | myName |
| DtIfVrfObjectData * | myVrfObjectDataMessage |
| DtExtEntityStateRepository::DtExtEntityStateRepository | ( | ) |
|
virtual |
| DtExtEntityStateRepository::DtExtEntityStateRepository | ( | const DtExtEntityStateRepository & | orig | ) |
| DtExtEntityStateRepository& DtExtEntityStateRepository::operator= | ( | const DtExtEntityStateRepository & | orig | ) |
|
virtual |
|
virtual |
Reimplemented in DtExtendedPropertiesEntityStateRepository.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns a string version of the VRF UUID of this object, if it can be determined.
VRF has multiple ways of sending the UUID. This method only works when the UUID is sent via the object's extendedData. If sent by other means, such as using state properties (which is the default in 4.6 and later), the returned string will be empty.
Reimplemented in DtExtendedPropertiesEntityStateRepository.
|
inline |
Returns true if the vrf object data has been modified.
References myVrfObjectDataUpdated.
|
inline |
References myVrfObjectDataUpdated.
|
inline |
Returns true if at least on vrf object data message has been processed by this entity.
References myHasVrfObjectDataMessage.
|
inline |
Sets whether or not has an object data message.
Should not be called unless need to work around not having a object data message yet. Called by publisher to set to true since a published vrf entity will always have an object data message
References myHasVrfObjectDataMessage.
|
virtual |
Whether a separate VrfObjectData message should be sent to convey additional VRF object information.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Overrides the one in base, creates an extended DI-Guy object state repository instead.
Important lesson learned from hours of misery: do not create an instance of DtExtDiGuyStateRepository anywhere but here. The one created gets handed down down, through a long, confusing chain, to HLA code deep inside VR-Link. If you delete the one maintained in this class, that code will hold a pointer to a deleted object.
|
static |
Reimplemented in DtExtendedPropertiesEntityStateRepository, makVrfVrlinkExtToolkit::DtStateRepositoryWithExtendedAttributes< DtExtEntityStateRepository >, makVrv::DT_PROTOCOL_NAMESPACE::DtVrvExtendedPropertiesEntityStateRepository, and makVrfVrlinkExtToolkit::DtStateRepositoryWithExtendedAttributes< DtExtEntityStateRepository >.
|
inlineprotectedvirtual |
Reimplemented from DtVrfExtensions.
References myVrfObjectDataUpdated.
|
virtual |
Reimplemented from DtVrfExtensions.
|
protected |
|
protected |
Referenced by clearVrfDataNeedsUpdate(), extensionModified(), and needsVrfDataUpdate().
|
protected |
Referenced by hasVrfObjectDataMessage(), and setHasVrfObjectDataMessage().
|
protected |