![]() |
VR-Forces Developer's Guide
|
DtVrfActiveSonarSystem manages a VR-Link active sonar system publisher, and sets all the values associated with an active sonar system and its beams.
The active sonar system can be initialized from a DtActiveSonarSystemEntry RW class.
Public Member Functions | |
| DtVrfActiveSonarSystem (DtLocalObject *hostEntity) | |
| virtual | ~DtVrfActiveSonarSystem () |
| virtual void | tick () |
| virtual bool | init (bool publishSonar=false) |
| virtual void | setDataFromActiveSonarSystemEntry (const DtActiveSonarSystemEntry &entry) |
| virtual DtU8 | systemId () const |
| virtual void | setSystemName (DtUnderwaterAcousticSystemName nameEnum) |
| virtual DtUnderwaterAcousticSystemName | systemName () |
| virtual void | setSystemFunction (DtUnderwaterAcousticFunction functionEnum) |
| virtual DtUnderwaterAcousticFunction | systemFunction () |
| virtual void | setMountLocation (const DtVector &location) |
| virtual DtVector | mountLocation () |
| virtual makVrf::DtActiveSonarBeamStateData * | addBeam () |
| virtual void | removeBeam (DtU8 id) |
| virtual void | removeAllBeams () |
| virtual void | clearActiveSonarMode () |
| virtual makVrf::DtActiveSonarBeamStateData * | beam (DtU8 id=0) |
| virtual int | numBeams () |
| virtual void | setSystemId (DtU8) |
| virtual std::vector < makVrf::DtActiveSonarBeamStateData > & | beamList () |
| virtual DtString | activeSonarMode () const |
| virtual void | setActiveSonarMode (DtString mode, const DtActiveSonarSystemEntry &entry) |
| virtual const DtList * | activeSonarModeList (const DtActiveSonarSystemEntry &entry) |
| virtual void | setEmitterName (const DtString &) |
| virtual const DtString & | emitterName () const |
Protected Attributes | |
| DtLocalObject * | myHostEntity |
| DtString | myActiveSonarMode |
| DtString | myEmitterName |
| makVrf::DtActiveSonarStateComponent * | myActiveSonarComponent |
| DtU8 | mySystemId |
Private Member Functions | |
| DtVrfActiveSonarSystem (const DtVrfActiveSonarSystem &orig) | |
| DtVrfActiveSonarSystem & | operator= (const DtVrfActiveSonarSystem &orig) |
| DtVrfActiveSonarSystem () | |
|
private |
Not implemented.
|
private |
Not implemented.
| DtVrfActiveSonarSystem::DtVrfActiveSonarSystem | ( | DtLocalObject * | hostEntity | ) |
|
virtual |
|
private |
Not implemented.
|
virtual |
No-op. Here for future use.
|
virtual |
sets all active sonar system attributes based on the data in the supplied DtActiveSonarSytemEntry.
|
virtual |
Sets/gets the system ID of the active sonar system. Each active sonar system on a given entity should have a different ID.
|
virtual |
Accessors and mutators for properties of the beam and active sonar system.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Adds a new beam if the ID does not already exist and returns a pointer to the beam repository.
|
virtual |
Removes a beam from this system.
|
virtual |
Removes all beams from the system.
|
virtual |
Clears the current active sonar mode and removes all beams.
|
virtual |
Returns a pointer to the beam repository of this beam, of NULL if there is no beam of this id in the system.
|
virtual |
Returns total number of beams in this system.
|
virtual |
|
virtual |
Returns list to the beam repositories.
|
virtual |
|
virtual |
Sets the radar mode and also calls setDataFromActiveSonarSystemEntry() to initialize.
|
virtual |
|
virtual |
The name of this emitter (descriptive)
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |