![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtArealObjectRepository are used to maintain state information needed by areal object entities. More...
Inheritance diagram for DtArealObjectRepository:
Collaboration diagram for DtArealObjectRepository:Public Member Functions | |
| DtArealObjectRepository () | |
| virtual | ~DtArealObjectRepository () |
| DtArealObjectRepository (const DtArealObjectRepository &orig) | |
| DtArealObjectRepository & | operator= (const DtArealObjectRepository &orig) |
| virtual DtStateRepository * | clone (bool copy) const |
| Return a copy/empty object of the same type as this. | |
| virtual bool | setNumberOfPoints (int newNumberOfPoints) |
| Set/Get the number of points. | |
| virtual int | numberOfPoints () const |
| virtual bool | setPointLocation (int index, const DtVector &point) |
| Set/Get a point location. | |
| virtual bool | getPointLocation (int index, DtVector &point) const |
| virtual void | setPercentComplete (const DtU32 percent) |
| Set/Get Percent Complete. | |
| virtual DtU32 | percentComplete () const |
| virtual void | setDamagedAppearance (const DtDamageState damage) |
| Set/Get Damaged Appearance. | |
| virtual DtDamageState | damagedAppearance () const |
| virtual void | setObjectPreDistributed (bool predistributed) |
| Set/Get Object Predistributed. | |
| virtual bool | objectPreDistributed () const |
| virtual void | setDeactivated (bool onOff) |
| Set/Get Deactivated. | |
| virtual bool | deactivated () const |
| virtual void | setSmoking (bool onOff) |
| Set/Get Smoking. | |
| virtual bool | smoking () const |
| virtual void | setFlaming (bool onOff) |
| Set/Get Flaming. | |
| virtual bool | flaming () const |
| virtual void | setBreachedStatus (const DtBreachedStatus status) |
| Set/Get Breached Status. | |
| virtual DtBreachedStatus | breachedStatus () const |
| virtual void | setMineCount (const DtU32 numMines) |
| Set/Get Mine Count. | |
| virtual DtU32 | mineCount () const |
| virtual void | printData () const |
| Prints data to DtInfo. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Prints data to the specified stream. | |
Public Member Functions inherited from DtEnvironmentObjectRepository | |
| DtEnvironmentObjectRepository () | |
| virtual | ~DtEnvironmentObjectRepository () |
| DtEnvironmentObjectRepository (const DtEnvironmentObjectRepository &orig) | |
| DtEnvironmentObjectRepository & | operator= (const DtEnvironmentObjectRepository &orig) |
| 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 | 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 |
Public Member Functions inherited from DtStateRepository | |
| 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 | setLocalId (const DtObjectId &id) |
| Get/Set local identifier, or handle. | |
| virtual const DtObjectId & | localId () const |
Static Public Member Functions | |
| static DtArealObjectRepository * | create () |
Protected Attributes | |
| int | myNumberOfPoints |
| DtVector * | myPoints |
| DtU32 | myPercentComplete |
| DtDamageState | myDamagedAppearance |
| bool | myObjectPreDistributed |
| bool | myDeactivated |
| bool | mySmoking |
| bool | myFlaming |
| DtBreachedStatus | myBreachedStatus |
| DtU32 | myMineCount |
Protected Attributes inherited from DtEnvironmentObjectRepository | |
| DtEntityIdentifier | myObjectId |
| DtGlobalObjectDesignator | myReferencedObjId |
| DtForceType | myForceId |
| DtSyntheticEnvironmentObjectType | myObjectType |
Protected Attributes inherited from DtStateRepository | |
| DtGlobalObjectDesignator | myGlobalId |
| DtObjectId | myLocalId |
Additional Inherited Members | |
Protected Member Functions inherited from DtStateRepository | |
| DtStateRepository () | |
| Constructors are protected since this is an abstract base class. | |
| DtStateRepository (const DtStateRepository &orig) | |
| copy constructor | |
Instances of DtArealObjectRepository are used to maintain state information needed by areal object entities.
The type of areal object published depends on the object type specified: Object Types: MinefieldObject – Domain = 0 (other), Kind = 1 (obstacle), Category = 1
Object of types not specified will be published as OtherArealObjects
| DtArealObjectRepository::DtArealObjectRepository | ( | ) |
|
virtual |
| DtArealObjectRepository::DtArealObjectRepository | ( | const DtArealObjectRepository & | orig | ) |
|
virtual |
|
virtual |
Return a copy/empty object of the same type as this.
Reimplemented from DtEnvironmentObjectRepository.
|
static |
Reimplemented from DtEnvironmentObjectRepository.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| DtArealObjectRepository& DtArealObjectRepository::operator= | ( | const DtArealObjectRepository & | orig | ) |
|
virtual |
|
virtual |
Prints data to DtInfo.
Reimplemented from DtEnvironmentObjectRepository.
|
virtual |
Prints data to the specified stream.
Reimplemented from DtEnvironmentObjectRepository.
|
virtual |
Set/Get Breached Status.
|
virtual |
Set/Get Damaged Appearance.
|
virtual |
Set/Get Deactivated.
|
virtual |
Set/Get Flaming.
|
virtual |
Set/Get Mine Count.
|
virtual |
Set/Get the number of points.
Set returns false if the requested number is too large. Changing this number will erase all previous data.
|
virtual |
Set/Get Object Predistributed.
|
virtual |
Set/Get Percent Complete.
|
virtual |
Set/Get a point location.
Returns false if the index is invalid.
|
virtual |
Set/Get Smoking.
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |