Public Member Functions |
| | DtExtendedPropertiesEntityStateRepository () |
| | default constructor
|
| virtual | ~DtExtendedPropertiesEntityStateRepository () |
| | destructor
|
| | DtExtendedPropertiesEntityStateRepository (const DtExtendedPropertiesEntityStateRepository &orig) |
| | copy constructor
|
| virtual bool | isInitialized () const |
| | Returns true if one of the initialize() functions has been called.
|
| DtExtendedPropertiesEntityStateRepository & | operator= (const DtExtendedPropertiesEntityStateRepository &orig) |
| | assignment operator
|
| virtual DtStateRepository * | clone (bool copy=false) const |
| | Return a copy/empty object of the same type as this.
|
| virtual int | compare (const DtExtEntityStateRepository *rhs) |
| | Compares us against the supplied state repository and returns what's changed.
|
| const DtRwProperties & | stateProperties () const |
| const DtRwProperties & | parameterProperties () const |
| virtual DtString | uuidString () const |
| | Returns a string version of the VRF UUID of this object, if it can be determined.
|
| void | mapPropertiesToRecordTypes (const DtRwProperties *properties, std::map< unsigned, DtString > &recTypesToAttrNames) |
| | Maps properties to DIS record types, if configured. Called from constructors.
|
| virtual bool | updatePropertiesFromAttributes (bool updatesOnly=true) |
| | Updates properties with new data from the extended attributes.
|
| virtual void | updateAttributesFromProperties () |
| | Updates extended attributes from our properties.
|
| virtual void | addPropertyDecoder (const DtString &propName, PropertyDecoder decoder, void *usr) |
| | Adds an additional property and a function that to decode it.
|
| virtual void | addPropertyEncoder (const DtString &propName, PropertyEncoder encoder, void *usr) |
| | Adds an additional property and a function that to encode it.
|
| virtual bool | createVrfObjectDataMessage () |
| | Allocates myVrfObjectDataMessage, a DtIfVrfObjectData used by VR-Forces as extended VRF object data message information.
|
| virtual void | giveOwernshipOfProperties () |
| | Tells the state rep to take ownership of the state and parameter properties, giving it responsibility to delete them on destruction.
|
| virtual DtTime | lastPropertyEncodeTime () const |
| | Last time properties were encoded.
|
| virtual DtTime | lastPropertyDecodeTime () const |
| | Last time properties were decoded.
|
|
| virtual void | initialize (DtVrfParameterDb *) |
| | Initialization functions.
|
| virtual void | initialize (DtRwProperties *stateProps, DtRwProperties *paramProps) |
| | Initializes the state rep with state properties and parameter properties that have have already been initialized.
|
| virtual void | initialize () |
| | Initializes the state rep without any state or parameter properties.
|
|
| virtual DtUUID | uuid () const |
| | Convenience functions for accessing the VRF UUID.
|
| virtual void | setUuid (const DtUUID &uuid) |
| | DtStateRepositoryWithExtendedAttributes () |
| | Constructor.
|
| | DtStateRepositoryWithExtendedAttributes (const DtStateRepositoryWithExtendedAttributes< DtExtEntityStateRepository > &orig) |
| | Copy Constructor.
|
| | DtStateRepositoryWithExtendedAttributes () |
| | Constructor.
|
| | DtStateRepositoryWithExtendedAttributes (const DtStateRepositoryWithExtendedAttributes< DtExtEntityStateRepository > &orig) |
| | Copy Constructor.
|
| virtual | ~DtStateRepositoryWithExtendedAttributes () |
| | Destructor.
|
| virtual | ~DtStateRepositoryWithExtendedAttributes () |
| | Destructor.
|
DtStateRepositoryWithExtendedAttributes
< DtExtEntityStateRepository > & | operator= (const DtStateRepositoryWithExtendedAttributes< DtExtEntityStateRepository > &orig) |
| | Assignment Operator.
|
DtStateRepositoryWithExtendedAttributes
< DtExtEntityStateRepository > & | operator= (const DtStateRepositoryWithExtendedAttributes< DtExtEntityStateRepository > &orig) |
| | Assignment Operator.
|
| virtual void | setAttributeByName (const DtString &attrName, const char *attrValue, unsigned size) |
| | Set the attribute with the given name.
|
| virtual void | setAttributeByName (const DtString &attrName, const char *attrValue, unsigned size) |
| | Set the attribute with the given name.
|
| virtual const char * | getAttributeByName (const DtString &attrName, unsigned &size, bool markAsRead=true) const |
| | Get a pointer to attribute value for the attribute with the given name.
|
| virtual const char * | getAttributeByName (const DtString &attrName, unsigned &size) const |
| | Get a pointer to attribute value for the attribute with the given name.
|
| virtual const char * | getAttributeByNameIfUpdated (const DtString &attrName, unsigned &size) const |
| | Get a pointer to attribute value for the attribute with the given name, but only if it's been updated since the last time we read it.
|
| virtual const char * | getAttributeByNameIfUpdated (const DtString &attrName, unsigned &size) const |
| | Get a pointer to attribute value for the attribute with the given name, but only if it's been updated since the last time we read it.
|
| virtual void | getAttributeNames (std::list< DtString > &attrNames) const |
| | Populates a list of all extended attribute names.
|
| virtual void | getAttributeNames (std::list< DtString > &attrNames) const |
| | Populates a list of all extended attribute names.
|
| virtual void | setRecordTypeAttributeNameMapping (const std::map< unsigned, DtString > &mapping) |
| | Sets the mapping between record types and attribute names.
|
| virtual void | setObjectClassHandle (const RTI::ObjectClassHandle &objClassHdl) |
| | Sets the object class handle for the published/reflected object.
|
| virtual void | printData () const |
| | Print data to the DtInfo stream.
|
| virtual void | printDataToStream (std::ostream &stream) const |
| | Print data to the specified stream.
|
| virtual void | setAttributeByHandle (const RTI::AttributeHandle &attrHdl, const char *attrValue, unsigned size) |
| | Set the attribute with the given handle.
|
| virtual const char * | getAttributeByHandle (const RTI::AttributeHandle &attrHdl, unsigned &size) const |
| | Get a pointer to attribute value for the attribute with the given handle.
|
| 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.
|
virtual const
DtAttributesByNameMap & | attributesByName () const |
| | Returns the mapping of all attributes by name.
|
virtual const
DtAttributesByHandleMap & | attributesByHandle () const |
| | Returns the mapping of all attributes by handle.
|
| virtual void | setAttributeRecords (const std::vector< DtStandardVariableRecord * > &records) |
| | Overridden to handle the saved attribute indices.
|
| virtual void | setAttributeRecords (const std::vector< DtStandardVariableRecord * > &records, const DtSimulationAddress &address) |
virtual const std::vector
< DtStandardVariableRecord * > | attributeRecords (unsigned int recordType=0) const |
| virtual void | getAttributeRecords (std::vector< DtStandardVariableRecord * > &vec, unsigned int recordType=0) const |
| virtual void | addAttributeRecord (DtStandardVariableRecord *record) |
| virtual void | clearAttributeRecords () |
| | DtExtEntityStateRepository () |
| virtual | ~DtExtEntityStateRepository () |
| | DtExtEntityStateRepository (const DtExtEntityStateRepository &orig) |
| DtExtEntityStateRepository & | operator= (const DtExtEntityStateRepository &orig) |
| 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 |
| 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 |
| | 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 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 |