![]() |
VR-Link API Documentation for HLA 1516
|
class DtActiveSonarEncoder More...
Inheritance diagram for DtActiveSonarEncoder:
Collaboration diagram for DtActiveSonarEncoder:Public Member Functions | |
| DtActiveSonarEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| Default constructor. | |
| virtual | ~DtActiveSonarEncoder () |
| Destructor. | |
| DtActiveSonarEncoder (const DtActiveSonarEncoder &orig) | |
| Copy constructor. | |
| DtActiveSonarEncoder & | operator= (const DtActiveSonarEncoder &orig) |
| Assignment operator. | |
Static Public Member Functions | |
| static DtHlaStateEncoder * | create (DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
| Function that creates a DtActiveSonarEncoder. | |
Static Protected Member Functions | |
| static bool | needAcousticName (const DtActiveSonarStateRepository &stateRep, const DtActiveSonarStateRepository &asSeenByRemote) |
| Return true if AcousticName needs to be sent to the network, false otherwise. | |
| static bool | needFunctionCode (const DtActiveSonarStateRepository &stateRep, const DtActiveSonarStateRepository &asSeenByRemote) |
| Return true if FunctionCode needs to be sent to the network, false otherwise. | |
| static bool | needAcousticsIdentifier (const DtActiveSonarStateRepository &stateRep, const DtActiveSonarStateRepository &asSeenByRemote) |
| Return true if AcousticsIdentifier needs to be sent to the network, false otherwise. | |
| static void | encodeAcousticName (const DtActiveSonarStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| Encodes AcousticName from rep into attrs. | |
| static void | encodeFunctionCode (const DtActiveSonarStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| Encodes FunctionCode from rep into attrs. | |
| static void | encodeAcousticsIdentifier (const DtActiveSonarStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle) |
| Encodes AcousticsIdentifier from rep into attrs. | |
class DtActiveSonarEncoder
Instances of DtActiveSonarEncoder encode data from DtActiveSonarStateRepository objects to the net structures to be sent to the network.
| DtActiveSonarEncoder::DtActiveSonarEncoder | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) |
Default constructor.
| virtual DtActiveSonarEncoder::~DtActiveSonarEncoder | ( | ) | [virtual] |
Destructor.
| DtActiveSonarEncoder::DtActiveSonarEncoder | ( | const DtActiveSonarEncoder & | orig | ) |
Copy constructor.
| static DtHlaStateEncoder* DtActiveSonarEncoder::create | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) | [static] |
Function that creates a DtActiveSonarEncoder.
Reimplemented from DtUnderwaterAcousticsEmissionEncoder.
| static void DtActiveSonarEncoder::encodeAcousticName | ( | const DtActiveSonarStateRepository & | rep, |
| RTI::AttributeHandleValuePairSet * | attrs, | ||
| RTI::AttributeHandle | attrHandle | ||
| ) | [static, protected] |
Encodes AcousticName from rep into attrs.
| static void DtActiveSonarEncoder::encodeAcousticsIdentifier | ( | const DtActiveSonarStateRepository & | rep, |
| RTI::AttributeHandleValuePairSet * | attrs, | ||
| RTI::AttributeHandle | attrHandle | ||
| ) | [static, protected] |
Encodes AcousticsIdentifier from rep into attrs.
| static void DtActiveSonarEncoder::encodeFunctionCode | ( | const DtActiveSonarStateRepository & | rep, |
| RTI::AttributeHandleValuePairSet * | attrs, | ||
| RTI::AttributeHandle | attrHandle | ||
| ) | [static, protected] |
Encodes FunctionCode from rep into attrs.
| static bool DtActiveSonarEncoder::needAcousticName | ( | const DtActiveSonarStateRepository & | stateRep, |
| const DtActiveSonarStateRepository & | asSeenByRemote | ||
| ) | [static, protected] |
Return true if AcousticName needs to be sent to the network, false otherwise.
| static bool DtActiveSonarEncoder::needAcousticsIdentifier | ( | const DtActiveSonarStateRepository & | stateRep, |
| const DtActiveSonarStateRepository & | asSeenByRemote | ||
| ) | [static, protected] |
Return true if AcousticsIdentifier needs to be sent to the network, false otherwise.
| static bool DtActiveSonarEncoder::needFunctionCode | ( | const DtActiveSonarStateRepository & | stateRep, |
| const DtActiveSonarStateRepository & | asSeenByRemote | ||
| ) | [static, protected] |
Return true if FunctionCode needs to be sent to the network, false otherwise.
| DtActiveSonarEncoder& DtActiveSonarEncoder::operator= | ( | const DtActiveSonarEncoder & | orig | ) |
Assignment operator.