![]() |
VR-Link API Documentation for DIS
|
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. | |
| DtLink16Signal (const DtSignalInteraction *signal) | |
| Constructor that takes a signal interaction. | |
| virtual | ~DtLink16Signal () |
| Destructor. | |
| virtual void | printData () const |
| Print the data contained by this PDU. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print the data to a stream. | |
| virtual void | encodeHeader (DtSignalInteraction *inter, int numJWords, const void *data, int sizeOfData) |
| Encodes the Link 16 data contained in this class into the interaction passed in. | |
| virtual void * | decodeHeader (const DtSignalInteraction *inter) |
| Decodes the interaction passed in, into this class. | |
| virtual void | setNpgNumber (DtU16 npg) |
| Set/Get the NPG Number. | |
| virtual DtU16 | npgNumber () const |
| Set/Get the NPG Number. | |
| virtual void | setNetNumber (DtU8 net) |
| Set/Get the Net Number. | |
| virtual DtU8 | netNumber () const |
| Set/Get the Net Number. | |
| virtual void | setTsecCvll (DtU8 val) |
| Set/Get the TSEC CVLL. | |
| virtual DtU8 | tsecCvll () const |
| Set/Get the TSEC CVLL. | |
| virtual void | setMsecCvll (DtU8 val) |
| Set/Get the MSEC CVLL. | |
| virtual DtU8 | msecCvll () const |
| Set/Get the MSEC CVLL. | |
| virtual void | setLink16MessageType (DtLink16MessageTypeEnum val) |
| Set/Get the Message Type. | |
| virtual DtLink16MessageTypeEnum | link16MessageType () const |
| Set/Get the Message Type. | |
| virtual void | setTimeIdSlotNumber (DtU32 val) |
| Set/Get the Time Slot ID Slot Number. | |
| virtual DtU32 | timeIdSlotNumber () const |
| Set/Get the Time Slot ID Slot Number. | |
| virtual void | setTimeIdEpochNumber (DtU8 val) |
| Set/Get the Time Slot ID Epoch Number. | |
| virtual DtU8 | timeIdEpochNumber () const |
| Set/Get the Time Slot ID Epoch Number. | |
| virtual void | setPerceivedTransmitTimeInteger (DtU32 val) |
| Set/Get the perceived transmit time (integer portion). | |
| virtual DtU32 | perceivedTransmitTimeInteger () const |
| Set/Get the perceived transmit time (integer portion). | |
| virtual void | setPerceivedTransmitTimeFraction (DtU32 val) |
| Set/Get the perceived transmit time (fraction portion). | |
| virtual DtU32 | perceivedTransmitTimeFraction () const |
| Set/Get the perceived transmit time (fraction portion). | |
Protected Attributes | |
| DtU16 | myNpgNumber |
| DtU8 | myNetNumber |
| DtU8 | myTsecCvll |
| DtU8 | myMsecCvll |
| DtLink16MessageTypeEnum | myMessagetype |
| DtU32 | myTimeSlotId |
| DtU32 | myTimeInteger |
| DtU32 | myTimeFraction |
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 |
Decodes the interaction passed in, into this class.
Returns the data section of the interaction, after the Link-16 fields. The size of this data can be determined by the DtSignalInteraction's numDataBytes() method minus 20 (the size of the Link 16 data).
|
virtual |
Encodes the Link 16 data contained in this class into the interaction passed in.
The number of J-Words needs to be specified, along with the data (Link-16 message), and the size of that data, in bytes.
|
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 |
Print the data contained by this PDU.
|
virtual |
Print the data to a stream.
|
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.
|
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 |