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

List of all members.

Public Member Functions

 DtVmfRadioSignalInteraction ()
 Default constructor.
virtual ~DtVmfRadioSignalInteraction ()
 Destructor.
 DtVmfRadioSignalInteraction (const DtVmfRadioSignalInteraction &orig)
 Copy constructor.
DtVmfRadioSignalInteractionoperator= (const DtVmfRadioSignalInteraction &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 DtU32 numTadilJWords () const
 Return the number of J-Words in the message.
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 DtTadilJWordStructtadilJWord (DtU32 index) const
 Set/Get a J-Word in the TADIL-J message.
virtual void setTadilJWord (DtU32 index, const DtTadilJWordStruct &data)
 Set/Get a J-Word in the TADIL-J message.

Static Public Member Functions

static DtInteractioncreate ()
 Create a DtSignalInteraction.
static void addCallback (DtExerciseConn *conn, DtVmfRadioSignalInteractionCb cb, void *usr)
static void removeCallback (DtExerciseConn *conn, DtVmfRadioSignalInteractionCb 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< DtTadilJWordStructmyTadiljMessageData
 The TADILJ message.

Constructor & Destructor Documentation

Default constructor.

Destructor.

Copy constructor.


Member Function Documentation

static void DtVmfRadioSignalInteraction::addCallback ( DtExerciseConn conn,
DtVmfRadioSignalInteractionCb  cb,
void *  usr 
) [static]

Create a DtSignalInteraction.

Caller is responsible for deletion.

Reimplemented from DtL16RadioSignalInteraction.

virtual DtInteractionDecoder* DtVmfRadioSignalInteraction::createDecoder ( DtExerciseConn exConn) const [protected, virtual]

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 DtInteractionEncoder* DtVmfRadioSignalInteraction::createEncoder ( DtExerciseConn exConn) const [protected, virtual]

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* DtVmfRadioSignalInteraction::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 DtJtidsHeader& DtVmfRadioSignalInteraction::jtidsHeader ( ) const [virtual]

Set/Get the JTIDS header.

Set/Get the JTIDS header.

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

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

Reimplemented from DtL16RadioSignalInteraction.

Return the number of J-Words in the message.

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

Assignment operator.

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

Print the interaction's data to a stream.

Reimplemented from DtL16RadioSignalInteraction.

static void DtVmfRadioSignalInteraction::removeCallback ( DtExerciseConn conn,
DtVmfRadioSignalInteractionCb  cb,
void *  usr 
) [static]
virtual void DtVmfRadioSignalInteraction::setJtidsHeader ( const DtJtidsHeader data) [virtual]

Set/Get the JTIDS header.

Set/Get the JTIDS header.

virtual void DtVmfRadioSignalInteraction::setTadilJWord ( DtU32  index,
const DtTadilJWordStruct data 
) [virtual]

Set/Get a J-Word in the TADIL-J message.

virtual const DtTadilJWordStruct* DtVmfRadioSignalInteraction::tadilJWord ( DtU32  index) const [virtual]

Set/Get a J-Word in the TADIL-J message.


Member Data Documentation

The JTIDS header.

The TADILJ message.


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)