![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtEmbeddedSystemRepository are used to store the state of embedded systems. More...
Inheritance diagram for DtEmbeddedSystemRepository:
Collaboration diagram for DtEmbeddedSystemRepository:Public Member Functions | |
| DtEmbeddedSystemRepository () | |
| default constructor | |
| DtEmbeddedSystemRepository (const DtEmbeddedSystemRepository &orig) | |
| copy constructor | |
| virtual | ~DtEmbeddedSystemRepository () |
| destructor | |
| DtEmbeddedSystemRepository & | operator= (const DtEmbeddedSystemRepository &orig) |
| assignment operator | |
| virtual DtStateRepository * | clone (bool copy) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | setEntityId (const DtEntityIdentifier &id) |
| Set the entity identifier. | |
| virtual const DtEntityIdentifier & | entityId () const |
| Get the entity identifier. | |
| virtual void | setHostId (const DtGlobalObjectDesignator &id) |
| Set the host identifier. | |
| virtual const DtGlobalObjectDesignator & | hostId () const |
| Get the host identifier. | |
| virtual void | setRelativePosition (const DtVector &position) |
| Set the position of the object relative to the entity. | |
| virtual const DtVector & | relativePosition () const |
| Get the position of the object relative to the entity. | |
| virtual void | printData () const |
| Print data to the DtInfo stream. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print state data to the specified stream. | |
Static Public Member Functions | |
| static DtEmbeddedSystemRepository * | create () |
Protected Attributes | |
| DtEntityIdentifier | myEntityId |
| Embedded system class attributes. | |
| DtGlobalObjectDesignator | myHostId |
| DtVector | myRelativePosition |
Instances of DtEmbeddedSystemRepository are used to store the state of embedded systems.
An embedded system is an object which is a component of an entity: for example, a radar unit on an aircraft.
default constructor
copy constructor
| virtual DtEmbeddedSystemRepository::~DtEmbeddedSystemRepository | ( | ) | [virtual] |
destructor
| virtual DtStateRepository* DtEmbeddedSystemRepository::clone | ( | bool | copy | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtStateRepository.
Reimplemented in DtEmitterSystemRepository, DtIffStateRepository, DtRadioTransmitterRepository, DtPropulsionNoiseStateRepository, DtAdditionalPassiveActivitiesRepository, DtUnderwaterAcousticsEmissionRepository, DtDesignatorRepository, DtActiveSonarStateRepository, and DtRadioReceiverRepository.
| static DtEmbeddedSystemRepository* DtEmbeddedSystemRepository::create | ( | ) | [static] |
| virtual const DtEntityIdentifier& DtEmbeddedSystemRepository::entityId | ( | ) | const [virtual] |
Get the entity identifier.
In DIS this is the same as the HostID, but may not be used in HLA.
| virtual const DtGlobalObjectDesignator& DtEmbeddedSystemRepository::hostId | ( | ) | const [virtual] |
Get the host identifier.
(corresponds to the emitting system ID) for DIS this is the SAME as EntityId
| DtEmbeddedSystemRepository& DtEmbeddedSystemRepository::operator= | ( | const DtEmbeddedSystemRepository & | orig | ) |
assignment operator
| virtual void DtEmbeddedSystemRepository::printData | ( | ) | const [virtual] |
Print data to the DtInfo stream.
Implements DtStateRepository.
Reimplemented in DtRadioTransmitterRepository, DtRadioReceiverRepository, DtEmitterSystemRepository, DtIffStateRepository, DtPropulsionNoiseStateRepository, DtAdditionalPassiveActivitiesRepository, DtUnderwaterAcousticsEmissionRepository, DtActiveSonarStateRepository, and DtDesignatorRepository.
| virtual void DtEmbeddedSystemRepository::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print state data to the specified stream.
Reimplemented from DtStateRepository.
Reimplemented in DtRadioTransmitterRepository, DtRadioReceiverRepository, DtEmitterSystemRepository, DtIffStateRepository, DtPropulsionNoiseStateRepository, DtAdditionalPassiveActivitiesRepository, DtUnderwaterAcousticsEmissionRepository, DtActiveSonarStateRepository, and DtDesignatorRepository.
| virtual const DtVector& DtEmbeddedSystemRepository::relativePosition | ( | ) | const [virtual] |
Get the position of the object relative to the entity.
| virtual void DtEmbeddedSystemRepository::setEntityId | ( | const DtEntityIdentifier & | id | ) | [virtual] |
Set the entity identifier.
In DIS this is the same as the HostID, used by RPR FOM, but may not be present in all FOMS.
| virtual void DtEmbeddedSystemRepository::setHostId | ( | const DtGlobalObjectDesignator & | id | ) | [virtual] |
Set the host identifier.
(corresponds to the emitting system ID) for DIS this is the SAME as EntityId
| virtual void DtEmbeddedSystemRepository::setRelativePosition | ( | const DtVector & | position | ) | [virtual] |
Set the position of the object relative to the entity.
Embedded system class attributes.