![]() |
VR-Link API Documentation for HLA 4
|
The DtLink16Signal class is a helper class that is used to assist the user in setting Link16 data as defined by the SISO-STD-002-2006 document. More...
Collaboration diagram for DtLink16Signal:Classes | |
| struct | DtNetLink16SignalFields |
| This is the net structure that's used to encode the Link16 fields in the data section of the signal PDU/interaction. More... | |
Public Member Functions | |
| DtLink16Signal () | |
| Default constructor. More... | |
| DtLink16Signal (const DtSignalInteraction *signal) | |
| Constructor that takes a signal interaction. More... | |
| virtual | ~DtLink16Signal () |
| Destructor. More... | |
| virtual void | printData () const |
| Print the data contained by this PDU. More... | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print the data to a stream. More... | |
| virtual void | setNpgNumber (DtU16 npg) |
| Set/Get the NPG Number. More... | |
| virtual DtU16 | npgNumber () const |
| Set/Get the NPG Number. More... | |
| virtual void | setNetNumber (DtU8 net) |
| Set/Get the Net Number. More... | |
| virtual DtU8 | netNumber () const |
| Set/Get the Net Number. More... | |
| virtual void | setTsecCvll (DtU8 val) |
| Set/Get the TSEC CVLL. More... | |
| virtual DtU8 | tsecCvll () const |
| Set/Get the TSEC CVLL. More... | |
| virtual void | setMsecCvll (DtU8 val) |
| Set/Get the MSEC CVLL. More... | |
| virtual DtU8 | msecCvll () const |
| Set/Get the MSEC CVLL. More... | |
| virtual void | setLink16MessageType (DtLink16MessageTypeEnum val) |
| Set/Get the Message Type. More... | |
| virtual DtLink16MessageTypeEnum | link16MessageType () const |
| Set/Get the Message Type. More... | |
| virtual void | setTimeIdSlotNumber (DtU32 val) |
| Set/Get the Time Slot ID Slot Number. More... | |
| virtual DtU32 | timeIdSlotNumber () const |
| Set/Get the Time Slot ID Slot Number. More... | |
| virtual void | setTimeIdEpochNumber (DtU8 val) |
| Set/Get the Time Slot ID Epoch Number. More... | |
| virtual DtU8 | timeIdEpochNumber () const |
| Set/Get the Time Slot ID Epoch Number. More... | |
| virtual void | setPerceivedTransmitTimeInteger (DtU32 val) |
| Set/Get the perceived transmit time (integer portion). More... | |
| virtual DtU32 | perceivedTransmitTimeInteger () const |
| Set/Get the perceived transmit time (integer portion). More... | |
| virtual void | setPerceivedTransmitTimeFraction (DtU32 val) |
| Set/Get the perceived transmit time (fraction portion). More... | |
| virtual DtU32 | perceivedTransmitTimeFraction () const |
| Set/Get the perceived transmit time (fraction portion). More... | |
Static Public Member Functions | |
| static char * | link16SignalClassChooser (DtExerciseConn *exConn, const DtInteraction &inter) |
| The Link-16 chooser class. More... | |
| static void | setInteractionClasses (DtExerciseConn *exConn) |
| Tells the exConn's FOM Mapper to subscribe to all the Link 16 interactions. More... | |
| static void | setUpRprFomMapper (DtExerciseConn *exConn) |
| Sets up the exConn's RPR FOM Mapper to subscribe to/send all of the Link 16 messages. More... | |
Protected Attributes | |
| DtU16 | myNpgNumber |
| DtU8 | myNetNumber |
| DtU8 | myTsecCvll |
| DtU8 | myMsecCvll |
| DtLink16MessageTypeEnum | myMessagetype |
| DtU32 | myTimeSlotId |
| DtU32 | myTimeInteger |
| DtU32 | myTimeFraction |
Static Protected Attributes | |
| static const char * | theInteractionClasses [8] |
The DtLink16Signal class is a helper class that is used to assist the user in setting Link16 data as defined by the SISO-STD-002-2006 document.
The user is responsible for setting the data for the actual Link16 message, and passes the message data into the encode method, which will place it after the Link 16 fields in the data section of the interaction/PDU.
| DtLink16Signal::DtLink16Signal | ( | ) |
Default constructor.
| DtLink16Signal::DtLink16Signal | ( | const DtSignalInteraction * | signal | ) |
Constructor that takes a signal interaction.
Calls decode, passing in the signal.
|
virtual |
Destructor.
|
virtual |
Set/Get the Message Type.
In HLA, this is used to determine what type of Link 16 Signal interaction is sent.
|
static |
The Link-16 chooser class.
This function is used with a FOM Mapper to choose the correct FOM type to send, when sending a Link 16 signal interaction. This is done based on the Link 16 message type.
|
virtual |
Set/Get the MSEC CVLL.
|
virtual |
Set/Get the Net Number.
|
virtual |
Set/Get the NPG Number.
|
virtual |
Set/Get the perceived transmit time (fraction portion).
|
virtual |
Set/Get the perceived transmit time (integer portion).
|
virtual |
Print the data contained by this PDU.
|
virtual |
Print the data to a stream.
|
static |
Tells the exConn's FOM Mapper to subscribe to all the Link 16 interactions.
|
virtual |
Set/Get the Message Type.
In HLA, this is used to determine what type of Link 16 Signal interaction is sent.
|
virtual |
Set/Get the MSEC CVLL.
|
virtual |
Set/Get the Net Number.
|
virtual |
Set/Get the NPG Number.
|
virtual |
Set/Get the perceived transmit time (fraction portion).
|
virtual |
Set/Get the perceived transmit time (integer portion).
|
virtual |
Set/Get the Time Slot ID Epoch Number.
|
virtual |
Set/Get the Time Slot ID Slot Number.
|
virtual |
Set/Get the TSEC CVLL.
|
static |
Sets up the exConn's RPR FOM Mapper to subscribe to/send all of the Link 16 messages.
Only this method needs to be called after exercise connection instantiation to use the Link 16 signal interactions, provided they are in the FOM, derived from the RawBinaryRadioSignal interaction class.
|
virtual |
Set/Get the Time Slot ID Epoch Number.
|
virtual |
Set/Get the Time Slot ID Slot Number.
|
virtual |
Set/Get the TSEC CVLL.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |