![]() |
VR-Link API Documentation for DIS
|
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. | |
Public Member Functions inherited from DtStateRepository | |
| 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 |
Static Public Member Functions | |
| static DtEmbeddedSystemRepository * | create () |
Protected Attributes | |
| DtEntityIdentifier | myEntityId |
| DtVector | myRelativePosition |
Additional Inherited Members | |
Public Attributes inherited from DtStateRepository | |
| DtGlobalObjectDesignator | myGlobalId |
| DtSimulationAddress | myDefaultSimulationAddress |
| std::map< DtSimulationAddress, std::vector < DtStandardVariableRecord * > > | myRecordsMap |
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.
| DtEmbeddedSystemRepository::DtEmbeddedSystemRepository | ( | ) |
default constructor
| DtEmbeddedSystemRepository::DtEmbeddedSystemRepository | ( | const DtEmbeddedSystemRepository & | orig | ) |
copy constructor
|
virtual |
destructor
|
virtual |
Return a copy/empty object of the same type as this.
Reimplemented from DtStateRepository.
Reimplemented in DtUnderwaterAcousticsStateRepository, DtIffStateRepository, DtActiveSonarStateRepository, DtEmitterSystemRepository, DtRadioTransmitterRepository, DtPropulsionNoiseStateRepository, DtAdditionalPassiveActivitiesRepository, DtDesignatorRepository, DtUnderwaterAcousticsEmissionRepository, and DtRadioReceiverRepository.
|
static |
Reimplemented in DtIffStateRepository, DtRadioTransmitterRepository, DtEmitterSystemRepository, DtUnderwaterAcousticsStateRepository, DtPropulsionNoiseStateRepository, DtAdditionalPassiveActivitiesRepository, DtUnderwaterAcousticsEmissionRepository, DtActiveSonarStateRepository, DtDesignatorRepository, and DtRadioReceiverRepository.
|
virtual |
Get the entity identifier.
In DIS this is the same as the HostID, but may not be used in HLA.
|
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 |
Print data to the DtInfo stream.
Reimplemented from DtStateRepository.
Reimplemented in DtRadioTransmitterRepository, DtRadioReceiverRepository, DtUnderwaterAcousticsStateRepository, DtEmitterSystemRepository, DtActiveSonarStateRepository, DtIffStateRepository, DtPropulsionNoiseStateRepository, DtAdditionalPassiveActivitiesRepository, DtUnderwaterAcousticsEmissionRepository, and DtDesignatorRepository.
|
virtual |
Print state data to the specified stream.
Reimplemented from DtStateRepository.
Reimplemented in DtRadioTransmitterRepository, DtRadioReceiverRepository, DtUnderwaterAcousticsStateRepository, DtEmitterSystemRepository, DtActiveSonarStateRepository, DtIffStateRepository, DtPropulsionNoiseStateRepository, DtAdditionalPassiveActivitiesRepository, DtUnderwaterAcousticsEmissionRepository, and DtDesignatorRepository.
|
virtual |
Get the position of the object relative to the entity.
|
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.
Reimplemented in DtUnderwaterAcousticsStateRepository.
|
virtual |
Set the host identifier.
(corresponds to the emitting system ID) for DIS this is the SAME as EntityId
Reimplemented in DtUnderwaterAcousticsStateRepository.
|
virtual |
Set the position of the object relative to the entity.
|
protected |
|
protected |