![]() |
VR-Link API Documentation for DIS
|
class DtDesignatorRepository: More...
Inheritance diagram for DtDesignatorRepository:
Collaboration diagram for DtDesignatorRepository:Public Member Functions | |
| DtDesignatorRepository () | |
| default constructor | |
| virtual | ~DtDesignatorRepository () |
| destructor | |
| DtDesignatorRepository (const DtDesignatorRepository &orig) | |
| copy constructor | |
| DtDesignatorRepository & | operator= (const DtDesignatorRepository &orig) |
| assignment operator | |
| virtual DtStateRepository * | clone (bool copy) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | printData () const |
| Print data to the DtInfo stream. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print data to the specified stream. | |
| virtual void | setCodeName (const DtDesignatorCodeName &name) |
| Set/Get the code name. | |
| virtual const DtDesignatorCodeName & | codeName () const |
| virtual void | setDesignatedObject (const DtGlobalObjectDesignator &name) |
| Set/Get the designated object name. | |
| virtual const DtGlobalObjectDesignator & | designatedObject () const |
| virtual void | setDesignatorCode (const DtDesignatorCode &code) |
| Set/Get the designator code. | |
| virtual const DtDesignatorCode & | designatorCode () const |
| virtual void | setDesignatorId (const DtGlobalObjectDesignator &id) |
| In the RPR FOM this is the same as the HOST ID, except for FOM Versions < 6.0. | |
| virtual const DtGlobalObjectDesignator & | designatorId () const |
| virtual void | setDesignatorPower (DtFloat32 power) |
| Set/Get the designator power. | |
| virtual DtFloat32 | designatorPower () const |
| virtual void | setDesignatorSpotLocation (const DtVector &location) |
| Set/Get the designator spot location. | |
| virtual const DtVector & | designatorSpotLocation () const |
| virtual void | setDesignatorWavelength (DtFloat32 wavelength) |
| Set/Get the designator wavelength. | |
| virtual DtFloat32 | designatorWavelength () const |
| virtual void | setDRAlgorithm (DtDeadReckonTypes algorithm) |
| Set/Get the dead reckoning algorithm. | |
| virtual DtDeadReckonTypes | dRAlgorithm () const |
| virtual void | setRelativeSpotLocation (const DtVector &location) |
| Set/Get the relative spot location. | |
| virtual const DtVector & | relativeSpotLocation () const |
| virtual void | setSpotLinearAcceleration (const DtVector &acceleration) |
| Set/Get the spot linear acceleration. | |
| virtual const DtVector & | spotLinearAcceleration () const |
Public Member Functions inherited from DtEmbeddedSystemRepository | |
| DtEmbeddedSystemRepository () | |
| default constructor | |
| DtEmbeddedSystemRepository (const DtEmbeddedSystemRepository &orig) | |
| copy constructor | |
| virtual | ~DtEmbeddedSystemRepository () |
| destructor | |
| DtEmbeddedSystemRepository & | operator= (const DtEmbeddedSystemRepository &orig) |
| assignment operator | |
| 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 DtVector32 &position) |
| Set the position of the object relative to the entity. | |
| virtual const DtVector32 & | relativePosition () const |
| Get the position of the object relative to the entity. | |
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 DtDesignatorRepository * | create () |
Additional Inherited Members | |
Public Attributes inherited from DtStateRepository | |
| DtGlobalObjectDesignator | myGlobalId |
| DtSimulationAddress | myDefaultSimulationAddress |
| std::map< DtSimulationAddress, std::vector < DtStandardVariableRecord * > > | myRecordsMap |
Static Public Attributes inherited from DtStateRepository | |
| static bool | theAllowCoupledPdusFlag |
class DtDesignatorRepository:
Instances of DtDesignatorRepository are used to store state data for designator objects in both HLA and DIS environments.
| DtDesignatorRepository::DtDesignatorRepository | ( | ) |
default constructor
|
virtual |
destructor
| DtDesignatorRepository::DtDesignatorRepository | ( | const DtDesignatorRepository & | orig | ) |
copy constructor
|
virtual |
Return a copy/empty object of the same type as this.
Reimplemented from DtEmbeddedSystemRepository.
|
virtual |
|
static |
Reimplemented from DtEmbeddedSystemRepository.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| DtDesignatorRepository& DtDesignatorRepository::operator= | ( | const DtDesignatorRepository & | orig | ) |
assignment operator
|
virtual |
Print data to the DtInfo stream.
Reimplemented from DtEmbeddedSystemRepository.
|
virtual |
Print data to the specified stream.
Reimplemented from DtEmbeddedSystemRepository.
|
virtual |
|
virtual |
Set/Get the code name.
|
virtual |
Set/Get the designated object name.
|
virtual |
Set/Get the designator code.
|
virtual |
In the RPR FOM this is the same as the HOST ID, except for FOM Versions < 6.0.
|
virtual |
Set/Get the designator power.
|
virtual |
Set/Get the designator spot location.
|
virtual |
Set/Get the designator wavelength.
|
virtual |
Set/Get the dead reckoning algorithm.
|
virtual |
Set/Get the relative spot location.
|
virtual |
Set/Get the spot linear acceleration.
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |