VR-Link API Documentation for HLA 1.3
Public Member Functions | Static Public Member Functions | Static Protected Member Functions
DtActiveSonarEncoder Class Reference

class DtActiveSonarEncoder More...

+ Inheritance diagram for DtActiveSonarEncoder:
+ Collaboration diagram for DtActiveSonarEncoder:

List of all members.

Public Member Functions

 DtActiveSonarEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 Default constructor.
virtual ~DtActiveSonarEncoder ()
 Destructor.
 DtActiveSonarEncoder (const DtActiveSonarEncoder &orig)
 Copy constructor.
DtActiveSonarEncoderoperator= (const DtActiveSonarEncoder &orig)
 Assignment operator.

Static Public Member Functions

static DtHlaStateEncodercreate (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.

Detailed Description

class DtActiveSonarEncoder

Instances of DtActiveSonarEncoder encode data from DtActiveSonarStateRepository objects to the net structures to be sent to the network.


Constructor & Destructor Documentation

Default constructor.

Destructor.

Copy constructor.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)