Public Member Functions |
| | DtPointObjectRepository () |
| | CTOR.
|
| | DtPointObjectRepository (const DtPointObjectRepository &orig) |
| | Copy CTOR.
|
| virtual | ~DtPointObjectRepository () |
| | Virtual DTOR.
|
| DtPointObjectRepository & | operator= (const DtPointObjectRepository &orig) |
| | Assignment operator.
|
| virtual DtStateRepository * | clone (bool copy) const |
| | Return a copy/empty object of the same type as this.
|
| virtual void | setModifications (DtU8 mod) |
| | Set/Get Modifications.
|
| virtual DtU8 | modifications () const |
| virtual void | setLocation (const DtVector &location) |
| | Set/Get Location.
|
| virtual const DtVector & | location () const |
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| | Set/Get Orientation.
|
| virtual const DtTaitBryan & | orientation () const |
| virtual void | setGeneralAppearance (DtU16 appearance) |
| | Set/Get General Appearance.
|
| virtual DtU16 | generalAppearance () const |
| virtual void | setSpecificAppearance (DtU32 appearance) |
| | Set/Get Specific Appearance.
|
| virtual DtU32 | specificAppearance () const |
| virtual void | setGeneralAppearanceAttribute (DtAppearAttribute attr, DtAppearAttrVal val) |
| | Set/Get General Appearance Attribute.
|
| virtual DtAppearAttrVal | generalAppearanceAttribute (DtAppearAttribute attr) const |
| virtual void | setSpecificAppearanceAttribute (DtAppearAttribute attr, DtAppearAttrVal val) |
| | Set/Get Specific Appearance Attribute.
|
| virtual DtU32 | specificAppearanceAttribute (DtAppearAttribute attr) const |
| virtual void | printData () const |
| | Prints data to DtInfo.
|
| virtual void | printDataToStream (std::ostream &stream) const |
| | Prints data to the specified stream.
|
|
| virtual void | setPercentComplete (DtU32 percent) |
| | Set/Get Percent Complete.
|
| virtual DtU32 | percentComplete () const |
| | Set/Get Percent Complete.
|
| virtual void | setDamagedAppearance (DtDamageState damage) |
| | Set/Get Damaged Appearance.
|
| virtual DtDamageState | damagedAppearance () const |
| | Set/Get Percent Complete.
|
| virtual void | setObjectPreDistributed (bool predistributed) |
| | Set/Get Object Predistributed.
|
| virtual bool | objectPreDistributed () const |
| | Set/Get Percent Complete.
|
| virtual void | setDeactivated (bool onOff) |
| | Set/Get Deactivated.
|
| virtual bool | deactivated () const |
| | Set/Get Percent Complete.
|
| virtual void | setSmoking (bool onOff) |
| | Set/Get Smoking.
|
| virtual bool | smoking () const |
| | Set/Get Percent Complete.
|
| virtual void | setFlaming (bool onOff) |
| | Set/Get Flaming.
|
| virtual bool | flaming () const |
| | Set/Get Percent Complete.
|
|
Note: Only the attributes valid for the specific type of point object should be used.
If the setters and getters for different types of specific point objects are called on a single repository, the appearance state can become corrupted.
|
| virtual void | setBreachedStatus (DtBreachStatus status) |
| | Set/Get Breached Status Usable for Log Crib, Abatis, Vehicle Defilade, and Infantry Fighting Position point objects only.
|
| virtual DtBreachStatus | breachedStatus () const |
| | Set/Get Breached Status Usable for Log Crib, Abatis, Vehicle Defilade, and Infantry Fighting Position point objects only.
|
| virtual void | setPercentOpacity (DtU8 percent) |
| | Set/Get Percent Opacity Usable for Air Burst and Ground Burst point objects only.
|
| virtual DtU8 | percentOpacity () const |
| | Set/Get Breached Status Usable for Log Crib, Abatis, Vehicle Defilade, and Infantry Fighting Position point objects only.
|
| virtual void | setCylinderSize (DtU8 size) |
| | Set/Get Cylinder Size Usable for Air Burst and Ground Burst point objects only.
|
| virtual DtU8 | cylinderSize () const |
| | Set/Get Breached Status Usable for Log Crib, Abatis, Vehicle Defilade, and Infantry Fighting Position point objects only.
|
| virtual void | setCylinderHeight (DtU8 height) |
| | Set/Get Cylinder Height Usable for Air Burst and Ground Burst point objects only.
|
| virtual DtU8 | cylinderHeight () const |
| | Set/Get Breached Status Usable for Log Crib, Abatis, Vehicle Defilade, and Infantry Fighting Position point objects only.
|
| virtual void | setNumberOfBursts (DtU8 number) |
| | Set/Get Number Of Bursts Usable for Air Burst and Ground Burst point objects only.
|
| virtual DtU8 | numberOfBursts () const |
| | Set/Get Breached Status Usable for Log Crib, Abatis, Vehicle Defilade, and Infantry Fighting Position point objects only.
|
| virtual void | setChemicalContent (DtChemicalContent chem) |
| | Set/Get Chemical Content Usable for Air Burst and Ground Burst point objects only.
|
| virtual DtChemicalContent | chemicalContent () const |
| | Set/Get Breached Status Usable for Log Crib, Abatis, Vehicle Defilade, and Infantry Fighting Position point objects only.
|
| virtual void | setCraterSize (DtU32 size) |
| | Set/Get Crater Size Usable for Crater point objects only.
|
| virtual DtU32 | craterSize () const |
| | Set/Get Breached Status Usable for Log Crib, Abatis, Vehicle Defilade, and Infantry Fighting Position point objects only.
|
| virtual void | setNumberOfSegments (DtU32 number) |
| | Set/Get Number Of Segments Usable for Ribbon Bridge point objects only.
|
| virtual DtU32 | numberOfSegments () const |
| | Set/Get Breached Status Usable for Log Crib, Abatis, Vehicle Defilade, and Infantry Fighting Position point objects only.
|
| | DtEnvironmentObjectRepository () |
| | CTOR.
|
| | DtEnvironmentObjectRepository (const DtEnvironmentObjectRepository &orig) |
| | Copy CTOR.
|
| virtual | ~DtEnvironmentObjectRepository () |
| | DTOR.
|
| DtEnvironmentObjectRepository & | operator= (const DtEnvironmentObjectRepository &orig) |
| | Assignment operator.
|
| virtual void | setObjectId (const DtEntityIdentifier &identifier) |
| | Set/Get Environment Object ID.
|
| virtual const DtEntityIdentifier & | objectId () const |
| virtual void | setReferencedObjectId (const DtGlobalObjectDesignator &rtiObject) |
| | Set/Get Referenced Object ID.
|
virtual const
DtGlobalObjectDesignator & | referencedObjectId () const |
| virtual void | setUpdateNumber (DtU16 num) |
| | Set/Get Update Number.
|
| virtual DtU16 | updateNumber () const |
| virtual void | setForceId (const DtForceType value) |
| | Set/Get Force ID.
|
| virtual DtForceType | forceId () const |
| virtual void | setObjectType (const DtSyntheticEnvironmentObjectType &type) |
| | Set/Get Object Type.
|
virtual const
DtSyntheticEnvironmentObjectType & | objectType () const |
| virtual void | setRequesterSimId (const DtSimulationAddress &addr) |
| | Set/Get Requester Simulation ID.
|
| virtual const DtSimulationAddress | requesterSimId () const |
| virtual void | setReceivingSimId (const DtSimulationAddress &addr) |
| | Set/Get Receiving Simulation ID.
|
| virtual const DtSimulationAddress | receivingSimId () const |
| | DtStateRepository () |
| | default constructor
|
| | DtStateRepository (const DtStateRepository &orig) |
| | copy constructor
|
| virtual | ~DtStateRepository () |
| | destructor
|
| DtStateRepository & | operator= (const DtStateRepository &orig) |
| | assignment operator
|
| virtual void | setGlobalId (const DtGlobalObjectDesignator &id) |
| | Get/Set global identifier, or name.
|
virtual const
DtGlobalObjectDesignator & | globalId () const |
| virtual void | setAttributeRecords (const std::vector< DtStandardVariableRecord * > &records) |
| | The following functions are related to the extendability part of DIS 7.
|
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 () |
| virtual void | setAttributeRecords (const std::vector< DtStandardVariableRecord * > &records, const DtSimulationAddress &address) |
| virtual void | setSimAddr (const DtSimulationAddress &id) |
| | Get/Set default simulation address. Set by VR-Link for publishers (based on exercise connection)
|
| virtual const DtSimulationAddress & | simAddr () const |
| virtual unsigned int | numberOfAttributeRecords () const |
Instances of DtPointObjectRepository are used to maintain state information needed by point environment object entities.
The type of point object published depends on the object type Object Type: BreachablePointObject – Domain = 1 (land), Kind = 1 (obstacle) or 2 (prepared position), Category = 1 or 2 BurstPointObject – Domain = 0 (other), Kind = 5 (tactical smoke), Category = 1 or 2 CraterObject – Domain = 1 (land), Kind = 1 (obstacle), Category = 3 RibbonBridgeObject – Domain = 1 (land), Kind = 4 (passageway), Category = 3 StructureObject – Domain = 1 (land), Kind = 3 (cult. feature) or 4 (passageway), Category = 1 or 2 Object types not specified will be published as OtherPointObjects