![]() |
VR-Link API Documentation for DIS
|
The DtActiveSonarBeamRepository class provides the state repository for the ActiveSonarBeam object. More...
Inheritance diagram for DtActiveSonarBeamRepository:
Collaboration diagram for DtActiveSonarBeamRepository:Public Member Functions | |
| DtActiveSonarBeamRepository () | |
| Default constructor. | |
| virtual | ~DtActiveSonarBeamRepository () |
| Destructor. | |
| DtActiveSonarBeamRepository (const DtActiveSonarBeamRepository &orig) | |
| Copy constructor. | |
| DtActiveSonarBeamRepository & | operator= (const DtActiveSonarBeamRepository &orig) |
| Assignment operator. | |
| void | printData () const |
| Prints the state repository's data to DtInfo. | |
| void | printDataToStream (std::ostream &stream) const |
| Prints the state repository's data to the specified stream. | |
| virtual DtStateRepository * | clone (bool copy) const |
| Returns a DtActiveSonarBeamRepository. | |
| virtual void | setActiveEmissionParameterIndex (DtUnderwaterAcousticActiveEmissionParmIndex index) |
| Sets ActiveEmissionParameterIndex. | |
| virtual DtUnderwaterAcousticActiveEmissionParmIndex | activeEmissionParameterIndex () const |
| Returns ActiveEmissionParameterIndex. | |
| virtual void | setActiveSonarIdentifier (int id) |
| Set/Get Emitting System Id. | |
| virtual int | activeSonarIdentifier () const |
| virtual void | setAzimuthBeamwidth (DtFloat32 beamwidth) |
| Sets AzimuthBeamwidth. | |
| virtual DtFloat32 | azimuthBeamwidth () const |
| Returns AzimuthBeamwidth. | |
| virtual void | setAzimuthCenter (DtFloat32 azCenter) |
| Sets AzimuthCenter. | |
| virtual DtFloat32 | azimuthCenter () const |
| Returns AzimuthCenter. | |
| virtual void | setBeamIdentifier (DtU8 id) |
| Sets BeamIdentifier. | |
| virtual DtU8 | beamIdentifier () const |
| Returns BeamIdentifier. | |
| virtual void | setElevationBeamwidth (DtFloat32 beamwidth) |
| Sets ElevationBeamwidth. | |
| virtual DtFloat32 | elevationBeamwidth () const |
| Returns ElevationBeamwidth. | |
| virtual void | setElevationCenter (DtFloat32 elCenter) |
| Sets ElevationCenter. | |
| virtual DtFloat32 | elevationCenter () const |
| Returns ElevationCenter. | |
| virtual void | setEventIdentifier (const DtEventId &id) |
| Sets EventIdentifier. | |
| virtual const DtEventId & | eventIdentifier () const |
| Returns EventIdentifier. | |
| virtual void | setScanPattern (DtUnderwaterAcousticScanPattern pattern) |
| Sets ScanPattern. | |
| virtual DtUnderwaterAcousticScanPattern | scanPattern () const |
| Returns ScanPattern. | |
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 | setAttributeRecords (const std::vector< DtStandardVariableRecord * > &records) |
| Get/Set records. | |
| 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 |
Static Public Member Functions | |
| static DtActiveSonarBeamRepository * | create () |
| Static method creates a new DtActiveSonarBeamRepository. | |
Protected Attributes | |
| DtUnderwaterAcousticActiveEmissionParmIndex | myActiveEmissionParameterIndex |
| DtU8 | myActiveSonarIdentifier |
| DtFloat32 | myAzimuthBeamwidth |
| DtFloat32 | myAzimuthCenter |
| DtU8 | myBeamIdentifier |
| DtFloat32 | myElevationBeamwidth |
| DtFloat32 | myElevationCenter |
| DtEventId | myEventIdentifier |
| DtUnderwaterAcousticScanPattern | myScanPattern |
Protected Attributes inherited from DtStateRepository | |
| DtGlobalObjectDesignator | myGlobalId |
| DtSimulationAddress | myDefaultSimulationAddress |
| std::map< DtSimulationAddress, std::vector < DtStandardVariableRecord * > > | myRecordsMap |
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 | |
| virtual unsigned int | numberOfAttributeRecords () const |
The DtActiveSonarBeamRepository class provides the state repository for the ActiveSonarBeam object.
| DtActiveSonarBeamRepository::DtActiveSonarBeamRepository | ( | ) |
Default constructor.
|
virtual |
Destructor.
| DtActiveSonarBeamRepository::DtActiveSonarBeamRepository | ( | const DtActiveSonarBeamRepository & | orig | ) |
Copy constructor.
|
virtual |
Returns ActiveEmissionParameterIndex.
|
virtual |
|
virtual |
Returns AzimuthBeamwidth.
|
virtual |
Returns AzimuthCenter.
|
virtual |
Returns BeamIdentifier.
|
virtual |
Returns a DtActiveSonarBeamRepository.
| copy | If copy is set to true, a copy of the state repository will be returned |
Implements DtStateRepository.
|
static |
Static method creates a new DtActiveSonarBeamRepository.
|
virtual |
Returns ElevationBeamwidth.
|
virtual |
Returns ElevationCenter.
|
virtual |
Returns EventIdentifier.
| DtActiveSonarBeamRepository& DtActiveSonarBeamRepository::operator= | ( | const DtActiveSonarBeamRepository & | orig | ) |
Assignment operator.
|
virtual |
Prints the state repository's data to DtInfo.
Implements DtStateRepository.
|
virtual |
Prints the state repository's data to the specified stream.
Reimplemented from DtStateRepository.
|
virtual |
Returns ScanPattern.
|
virtual |
Sets ActiveEmissionParameterIndex.
|
virtual |
Set/Get Emitting System Id.
On DIS, the EmittingSystemID is the EmitterSystem Number. This is NOT stored in the PDU, But is filled in for reflected objects. For Outgoing PDUs VR_Link only publishes one EmittingSystem per PDU. Incoming may receive PDUs with multiple systems.
|
virtual |
Sets AzimuthBeamwidth.
|
virtual |
Sets AzimuthCenter.
|
virtual |
Sets BeamIdentifier.
|
virtual |
Sets ElevationBeamwidth.
|
virtual |
Sets ElevationCenter.
|
virtual |
Sets EventIdentifier.
|
virtual |
Sets ScanPattern.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |