![]() |
VR-Forces Developer's Guide
|
Holds the complete state data for an active sonar system, including its identifiers, publish flag, mount location, and the collection of beams it emits.
Classes | |
| struct | DtActiveSonarBeams |
Public Member Functions | |
| DtActiveSonarStateComponentData () | |
| DtActiveSonarStateComponentData (const DtActiveSonarStateComponentData &orig) | |
| DtActiveSonarStateComponentData & | operator= (const DtActiveSonarStateComponentData &rhs) |
| DtActiveSonarBeamStateData * | beamByBeamId (unsigned short beamId) |
| const DtActiveSonarBeamStateData * | beamByBeamId (unsigned short beamId) const |
| DtActiveSonarBeamStateData * | beamByBeamIndex (unsigned short beamId) |
| const DtActiveSonarBeamStateData * | beamByBeamIndex (unsigned short beamId) const |
| unsigned int | numBeams () const |
| DtActiveSonarBeamStateData * | addBeam () |
| DtActiveSonarBeams & | beams () |
| const DtActiveSonarBeams & | beams () const |
| const std::vector < DtActiveSonarBeamStateData > & | rawBeams () const |
| std::vector < DtActiveSonarBeamStateData > & | rawBeams () |
| void | removeAllBeams () |
| void | removeBeam (unsigned short beamId) |
Protected Attributes | |
| bool | myPublish |
| unsigned int | mySystemId |
| unsigned int | mySystemName |
| unsigned int | mySystemFunction |
| DtVector | myMountLocation |
| DtActiveSonarBeams | myBeamsList |
|
inline |
Default constructor. Initializes publish to true and all numeric fields to zero.
|
inline |
Copy constructor.
| orig | The source object to copy from. |
|
inline |
Assignment operator.
| rhs | The source object to copy from. |
References myBeamsList, myMountLocation, myPublish, mySystemFunction, mySystemId, and mySystemName.
|
inline |
Returns a pointer to the beam with the given beam ID.
| beamId | The beam ID to search for. |
|
inline |
Returns a const pointer to the beam with the given beam ID.
| beamId | The beam ID to search for. |
|
inline |
Returns a pointer to the beam at the given zero-based index.
| beamId | Zero-based index into the beam list. |
|
inline |
Returns a const pointer to the beam at the given zero-based index.
| beamId | Zero-based index into the beam list. |
|
inline |
Adds a new beam and returns a pointer to it.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Removes all beams from the system.
|
inline |
Removes the beam with the given beam ID.
| beamId | The beam ID to remove. |
|
protected |
Unique identifier for this sonar system.
The system name enumeration value for this sonar system. The system function enumeration value for this sonar system. The mount location of this sonar system relative to the entity origin. Whether this sonar system's state should be published to the network.
Referenced by operator=().
Unique identifier for this sonar system.
Referenced by operator=().
The system name enumeration value for this sonar system.
Referenced by operator=().
The system function enumeration value for this sonar system.
Referenced by operator=().
|
protected |
The mount location of this sonar system relative to the entity origin.
Referenced by operator=().
|
protected |
The list of beams associated with this sonar system.
Referenced by operator=().