Public Member Functions |
| | DtExtAggregateStateRepository () |
| | default constructor
|
| virtual | ~DtExtAggregateStateRepository () |
| | destructor
|
| | DtExtAggregateStateRepository (const DtExtAggregateStateRepository &orig) |
| | copy constructor
|
| virtual bool | isInitialized () const |
| | Returns true if one of the initialize() functions has been called.
|
| DtExtAggregateStateRepository & | operator= (const DtExtAggregateStateRepository &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 DtExtAggregateStateRepository *rhs) |
| | Compares us against the supplied state repository and returns what's changed.
|
| virtual const DtRwProperties & | stateProperties () const |
| virtual const DtRwProperties & | parameterProperties () const |
| virtual void | setUuidString (const DtString &uuidStr) |
| 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 void | updateExtensions () |
| | Overridden to update property data.
|
| 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.
|
|
Initializes the state rep with state properties and parameter properties that have have already been initialized.
This can be more efficient if you are maintaining the properties lists elsewhere and want updates to be decoded directly into those lists. Does not take ownership of these properties. They must be deleted elsewhere.
|
| virtual void | initialize (DtRwProperties *stateProps, DtRwProperties *paramProps) |
| virtual void | initialize (const DtRwProperties &stateProps, const DtRwProperties ¶mProps) |
| | Initializes the state rep by making a copy of the given 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 bool | sensorsKilled () const |
| | Functions for accessing the sensors killed state.
|
| virtual void | setSensorsKilled (bool killed) |
|
| virtual void | addPropertyUpdatedCallback (DtNoArgumentCallbackList::DtCallbackFunctionType fcn, void *usrData) |
| | Callbacks invoked just after state and parameter properties have been updated when the parameter or state properties have been updated.
|
| virtual void | removePropertyUpdatedCallback (DtNoArgumentCallbackList::DtCallbackFunctionType fcn, void *usrData) |
| | DtStateRepositoryWithExtendedAttributes () |
| | Constructor.
|
| | DtStateRepositoryWithExtendedAttributes (const DtStateRepositoryWithExtendedAttributes< DtExtAggregateBaseStateRepository > &orig) |
| | Copy Constructor.
|
| | DtStateRepositoryWithExtendedAttributes () |
| | Constructor.
|
| | DtStateRepositoryWithExtendedAttributes (const DtStateRepositoryWithExtendedAttributes< DtExtAggregateBaseStateRepository > &orig) |
| | Copy Constructor.
|
| virtual | ~DtStateRepositoryWithExtendedAttributes () |
| | Destructor.
|
| virtual | ~DtStateRepositoryWithExtendedAttributes () |
| | Destructor.
|
DtStateRepositoryWithExtendedAttributes
< DtExtAggregateBaseStateRepository > & | operator= (const DtStateRepositoryWithExtendedAttributes< DtExtAggregateBaseStateRepository > &orig) |
| | Assignment Operator.
|
DtStateRepositoryWithExtendedAttributes
< DtExtAggregateBaseStateRepository > & | operator= (const DtStateRepositoryWithExtendedAttributes< DtExtAggregateBaseStateRepository > &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 | addRecordTypeAttributeNameMapping (unsigned recordType, const DtString &attrName) |
| | Adds a mapping between record type and attribute name.
|
| 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 () |
| | DtExtAggregateBaseStateRepository () |
| | default constructor
|
| virtual | ~DtExtAggregateBaseStateRepository () |
| | destructor
|
| | DtExtAggregateBaseStateRepository (const DtExtAggregateBaseStateRepository &orig) |
| | copy constructor
|
| DtExtAggregateBaseStateRepository & | operator= (const DtExtAggregateBaseStateRepository &orig) |
| | assignment operator
|
| virtual int | compare (const DtExtAggregateBaseStateRepository *rhs) |
| | Compares us against the supplied state repository and returns what's changed.
|
| virtual int | compareToMostRecent () |
| | Returns what has changed since the last time we called compare.
|
| virtual bool | locationsDifferent (bool updateIfDifferent) |
| | Returns true if our stashed location is different than our current location.
|
| virtual DtString | extendedData (const DtString &key) const |
| | Extended record data is a key/value pair.
|
| const DtVrfExtendedRecordData & | extendedRecordData () const |
| DtVrfExtendedRecordData & | extendedRecordData () |
| virtual void | addEntity (const DtBaseEntityStateRepository *) |
| | Convenience routines to add/remove subordinates.
|
| virtual void | removeEntity (const DtBaseEntityStateRepository *) |
| virtual void | addAggregate (const DtBaseEntityStateRepository *) |
| virtual void | removeAggregate (const DtBaseEntityStateRepository *) |
| virtual void | addSubordinate (const DtEntityIdentifier &) |
| | Adds/removes a subordinate from the subordinate order.
|
| virtual void | removeSubordinate (const DtEntityIdentifier &) |
| virtual void | setExtendedData (const std::map< DtString, DtString > &ed) |
| | Sets extended data for transport via extended data records.
|
| virtual void | setExtendedData (const DtString &key, const DtString &value) |
| virtual int | numVrfVariableDatumRecords () const |
| | Number of fixed datum records that are supplied with a version of the VRF aggregate User records start after this value.
|
| virtual bool | getUserVariableDatum (int userRecordNumber, DtVariableDatumRecord &rec) |
| | Returns a user specified variable datum record. The userRecordNumber should be 0 based.
|
| virtual bool | setUserVariableDatum (int userRecordNumber, const DtVariableDatumRecord &record) |
| | Sets a user specified variable datum record. The userRecordNumber should be 0 based.
|
| virtual void | updateDataRecords () |
| | Updates the VRF specific data records as follows: 0 - Supertype 1 - Appearance 2 - Ordered Subordinates 3 - DtIfVrfObjectData.
|
| int | appearance () const |
| | Appearance as read from network or set by user.
|
| void | setAppearance (int) |
const std::vector
< DtEntityIdentifier > & | orderedSubordinates () const |
| | Gets/sets the list of subordinates in subordinate order.
|
| virtual void | setOrderedSubordinates (const std::vector< DtEntityIdentifier > &) |
| virtual void | setSendVrfObjectDataRecord (bool shouldSend) |
| | Whether a separate VrfObjectData record should be sent to convey additional VRF object information.
|
| virtual bool | shouldSendVrfObjectDataRecord () const |
| virtual DtString | formationName () const |
| | The name of the current formation of the aggregate.
|
| virtual void | setFormationName (const DtString &formationName) |
| | 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 bool | setupFromVrfObjectData (const DtIfVrfObjectData &data) |
| 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 const std::map
< DtString, DtString > & | extendedData () 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 |