![]() |
VR-Link API Documentation for DIS
|
Instances of DtUnderwaterAcousticsEncoder are used to take state information from a DtUnderwaterAcousticsStateRepository and place it into an underwater acoustics PDU. More...
Inheritance diagram for DtUnderwaterAcousticsEncoder:
Collaboration diagram for DtUnderwaterAcousticsEncoder:Public Member Functions | |
| DtUnderwaterAcousticsEncoder () | |
| CTOR. | |
| DtUnderwaterAcousticsEncoder (const DtUnderwaterAcousticsEncoder &orig) | |
| Copy CTOR. | |
| virtual | ~DtUnderwaterAcousticsEncoder () |
| Virtual CTOR. | |
| DtUnderwaterAcousticsEncoder & | operator= (const DtUnderwaterAcousticsEncoder &orig) |
| Assignment Operator. | |
| virtual DtUnderwaterAcousticPdu * | stateMsg (const DtUnderwaterAcousticsStateRepository &stateRep, const DtUnderwaterAcousticsStateRepository &asSeenByRemote) |
| Constructs a PDU from the state repository. | |
| virtual void | setAzimuthThreshold (double threshold) |
| Set the azimuth threshold (Default is 1 degree). | |
| virtual double | azimuthThreshold () const |
| Returns the azimuth threshold (in radians). | |
| virtual void | setElevationThreshold (double threshold) |
| Set the elevation threshold (Default is 1 degree). | |
| virtual double | elevationThreshold () const |
| Returns the elevation threshold (in radians). | |
Public Member Functions inherited from DtStateEncoder | |
| DtStateEncoder () | |
| Default constructor. | |
| virtual | ~DtStateEncoder () |
| Destructor. | |
| DtStateEncoder (const DtStateEncoder &orig) | |
| Copy constructor. | |
| DtStateEncoder & | operator= (const DtStateEncoder &orig) |
| Assignment operator. | |
| void | setSendNeeded () |
| Sets myForceSendNeeded to true. | |
Protected Member Functions | |
| virtual bool | sendNeeded (const DtUnderwaterAcousticsStateRepository &stateRep, const DtUnderwaterAcousticsStateRepository &asSeenByRemote) |
| Determine if a state message needs to be sent. | |
| virtual void | fillOut (const DtUnderwaterAcousticsStateRepository &stateRep, const DtUnderwaterAcousticsStateRepository &asSeenByRemote, DtUnderwaterAcousticPdu *pdu) |
| Fill out a state message which reflects a state repository. | |
Protected Attributes | |
| DtUnderwaterAcousticPdu | myAsPdu |
| DtPropulsionNoiseEncoder | myPropNoiseEnc |
| DtAdditionalPassiveActivitiesEncoder | myAddPassActEnc |
| DtActiveSonarEncoder | myActiveSonarEnc |
Protected Attributes inherited from DtStateEncoder | |
| bool | myForceSendNeeded |
Instances of DtUnderwaterAcousticsEncoder are used to take state information from a DtUnderwaterAcousticsStateRepository and place it into an underwater acoustics PDU.
| DtUnderwaterAcousticsEncoder::DtUnderwaterAcousticsEncoder | ( | ) |
CTOR.
| DtUnderwaterAcousticsEncoder::DtUnderwaterAcousticsEncoder | ( | const DtUnderwaterAcousticsEncoder & | orig | ) |
Copy CTOR.
|
virtual |
Virtual CTOR.
|
virtual |
Returns the azimuth threshold (in radians).
|
virtual |
Returns the elevation threshold (in radians).
|
protectedvirtual |
Fill out a state message which reflects a state repository.
| DtUnderwaterAcousticsEncoder& DtUnderwaterAcousticsEncoder::operator= | ( | const DtUnderwaterAcousticsEncoder & | orig | ) |
Assignment Operator.
|
protectedvirtual |
Determine if a state message needs to be sent.
|
virtual |
Set the azimuth threshold (Default is 1 degree).
threshold Threshold in radians.
|
virtual |
Set the elevation threshold (Default is 1 degree).
threshold Threshold in radians.
|
virtual |
Constructs a PDU from the state repository.
Determines whether an Underwater Acoustic PDU needs to be sent and constructs one if it does.
|
protected |
|
protected |
|
protected |
|
protected |