![]() |
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. | |
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 |
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
| virtual DtArealObjectRepository::~DtArealObjectRepository | ( | ) | [virtual] |
| virtual DtBreachedStatus DtArealObjectRepository::breachedStatus | ( | ) | const [virtual] |
| virtual DtStateRepository* DtArealObjectRepository::clone | ( | bool | copy | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Reimplemented from DtEnvironmentObjectRepository.
| static DtArealObjectRepository* DtArealObjectRepository::create | ( | ) | [static] |
Reimplemented from DtEnvironmentObjectRepository.
| virtual DtDamageState DtArealObjectRepository::damagedAppearance | ( | ) | const [virtual] |
| virtual bool DtArealObjectRepository::deactivated | ( | ) | const [virtual] |
| virtual bool DtArealObjectRepository::flaming | ( | ) | const [virtual] |
| virtual bool DtArealObjectRepository::getPointLocation | ( | int | index, |
| DtVector & | point | ||
| ) | const [virtual] |
| virtual DtU32 DtArealObjectRepository::mineCount | ( | ) | const [virtual] |
| virtual int DtArealObjectRepository::numberOfPoints | ( | ) | const [virtual] |
| virtual bool DtArealObjectRepository::objectPreDistributed | ( | ) | const [virtual] |
| DtArealObjectRepository& DtArealObjectRepository::operator= | ( | const DtArealObjectRepository & | orig | ) |
| virtual DtU32 DtArealObjectRepository::percentComplete | ( | ) | const [virtual] |
| virtual void DtArealObjectRepository::printData | ( | ) | const [virtual] |
Prints data to DtInfo.
Reimplemented from DtEnvironmentObjectRepository.
| virtual void DtArealObjectRepository::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Prints data to the specified stream.
Reimplemented from DtEnvironmentObjectRepository.
| virtual void DtArealObjectRepository::setBreachedStatus | ( | const DtBreachedStatus | status | ) | [virtual] |
Set/Get Breached Status.
| virtual void DtArealObjectRepository::setDamagedAppearance | ( | const DtDamageState | damage | ) | [virtual] |
Set/Get Damaged Appearance.
| virtual void DtArealObjectRepository::setDeactivated | ( | bool | onOff | ) | [virtual] |
Set/Get Deactivated.
| virtual void DtArealObjectRepository::setFlaming | ( | bool | onOff | ) | [virtual] |
Set/Get Flaming.
| virtual void DtArealObjectRepository::setMineCount | ( | const DtU32 | numMines | ) | [virtual] |
Set/Get Mine Count.
| virtual bool DtArealObjectRepository::setNumberOfPoints | ( | int | newNumberOfPoints | ) | [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 void DtArealObjectRepository::setObjectPreDistributed | ( | bool | predistributed | ) | [virtual] |
Set/Get Object Predistributed.
| virtual void DtArealObjectRepository::setPercentComplete | ( | const DtU32 | percent | ) | [virtual] |
Set/Get Percent Complete.
| virtual bool DtArealObjectRepository::setPointLocation | ( | int | index, |
| const DtVector & | point | ||
| ) | [virtual] |
Set/Get a point location.
Returns false if the index is invalid.
| virtual void DtArealObjectRepository::setSmoking | ( | bool | onOff | ) | [virtual] |
Set/Get Smoking.
| virtual bool DtArealObjectRepository::smoking | ( | ) | const [virtual] |
bool DtArealObjectRepository::myDeactivated [protected] |
bool DtArealObjectRepository::myFlaming [protected] |
DtU32 DtArealObjectRepository::myMineCount [protected] |
int DtArealObjectRepository::myNumberOfPoints [protected] |
bool DtArealObjectRepository::myObjectPreDistributed [protected] |
DtU32 DtArealObjectRepository::myPercentComplete [protected] |
DtVector* DtArealObjectRepository::myPoints [protected] |
bool DtArealObjectRepository::mySmoking [protected] |