VR-Link API Documentation for HLA 1516
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtJtidsVoiceLpc10RadioSignalInteraction Class Reference
+ Inheritance diagram for DtJtidsVoiceLpc10RadioSignalInteraction:
+ Collaboration diagram for DtJtidsVoiceLpc10RadioSignalInteraction:

List of all members.

Public Member Functions

 DtJtidsVoiceLpc10RadioSignalInteraction ()
 Default constructor.
virtual ~DtJtidsVoiceLpc10RadioSignalInteraction ()
 Destructor.
 DtJtidsVoiceLpc10RadioSignalInteraction (const DtJtidsVoiceLpc10RadioSignalInteraction &orig)
 Copy constructor.
DtJtidsVoiceLpc10RadioSignalInteractionoperator= (const DtJtidsVoiceLpc10RadioSignalInteraction &orig)
 Assignment operator.
virtual const char * name () const
 Name of the interaction. (Not necessarily the ClassName from the FOM.)
virtual void printDataToStream (std::ostream &stream) const
 Print the interaction's data to a stream.
virtual const DtJtidsHeaderjtidsHeader () const
 Set/Get the JTIDS header.
virtual void setJtidsHeader (const DtJtidsHeader &data)
 Set/Get the JTIDS header.
virtual const DtJtidsHeaderStructjtidsHeaderRawData () const
 Set/Get the JTIDS header.
virtual void setJtidsHeaderRawData (const DtJtidsHeaderStruct &data)
 Set/Get the JTIDS header.
virtual const std::vector< DtU8 > & interactionData () const
 Set/Get the voice data.
virtual void setInteractionData (const std::vector< DtU8 > &data)
 Set/Get the voice data.

Static Public Member Functions

static DtInteractioncreate ()
 Create a DtSignalInteraction.
static void addCallback (DtExerciseConn *conn, DtJtidsVoiceLpc10RadioSignalInteractionCb cb, void *usr)
static void removeCallback (DtExerciseConn *conn, DtJtidsVoiceLpc10RadioSignalInteractionCb cb, void *usr)

Protected Member Functions

virtual char * interactionClassToUse (DtExerciseConn *exConn) const
 Virtual function override.
virtual DtInteractionDecodercreateDecoder (DtExerciseConn *exConn) const
 Virtual function override.
virtual DtInteractionEncodercreateEncoder (DtExerciseConn *exConn) const
 Virtual function override.

Protected Attributes

DtJtidsHeader myJtidsHeader
 The JTIDS header.
std::vector< DtU8myData
 The voice data.

Constructor & Destructor Documentation

Default constructor.

Destructor.

Copy constructor.


Member Function Documentation

Create a DtSignalInteraction.

Caller is responsible for deletion.

Reimplemented from DtL16RadioSignalInteraction.

Virtual function override.

Creates and returns a decoder to be used by setFromPhvps to decode a ParameterHandleValuePairSet into this interaction. Implementing this function is required, unless you would like to rely on the default behavior - which is to obtain a new instance of the right decoder from the FOM Mapper. If you choose this option, you must configure the FOM Mapper so that it can correctly provide this object.

Reimplemented from DtL16RadioSignalInteraction.

Virtual function override.

Creates and returns an encoder to be used by phvps to encode the data in this interaction into a ParameterHandleValuePairSet. Implementing this function is required, unless you would like to rely on the default behavior - which is to obtain a new instance of the right encoder from the FOM Mapper. If you choose this option, you must configure the FOM Mapper so that it can correctly provide this object.

Reimplemented from DtL16RadioSignalInteraction.

virtual char* DtJtidsVoiceLpc10RadioSignalInteraction::interactionClassToUse ( DtExerciseConn exConn) const [protected, virtual]

Virtual function override.

Returns the name of the FOM class to use to represent this interaction when sending. It is called from within setExConn, when that function is called by DtExerciseConn::send. Implementing this function is required unless you would like to rely on the default behavior - which is to obtain the class to use from the FOM Mapper. If you choose this option, you must configure the FomMapper so that it can correctly provide this information.

Reimplemented from DtL16RadioSignalInteraction.

virtual const std::vector<DtU8>& DtJtidsVoiceLpc10RadioSignalInteraction::interactionData ( ) const [virtual]

Set/Get the voice data.

Set/Get the JTIDS header.

Set/Get the JTIDS header.

virtual const char* DtJtidsVoiceLpc10RadioSignalInteraction::name ( ) const [virtual]

Name of the interaction. (Not necessarily the ClassName from the FOM.)

Reimplemented from DtL16RadioSignalInteraction.

DtJtidsVoiceLpc10RadioSignalInteraction& DtJtidsVoiceLpc10RadioSignalInteraction::operator= ( const DtJtidsVoiceLpc10RadioSignalInteraction orig)

Assignment operator.

virtual void DtJtidsVoiceLpc10RadioSignalInteraction::printDataToStream ( std::ostream &  stream) const [virtual]

Print the interaction's data to a stream.

Reimplemented from DtL16RadioSignalInteraction.

virtual void DtJtidsVoiceLpc10RadioSignalInteraction::setInteractionData ( const std::vector< DtU8 > &  data) [virtual]

Set/Get the voice data.

Set/Get the JTIDS header.

Set/Get the JTIDS header.


Member Data Documentation

The voice data.

Reimplemented from DtInteractionWithEncDec.

The JTIDS header.


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)