Collaboration diagram for ElectromagneticEmissionPDU:

Public Types | |
| enum | { STATE_UPDATE = 0, CHANGED_DATA_UPDATE = 1 } |
Public Member Functions | |
| EmissionSystem * | getEmissionSystem (const int idx) |
| const EmissionSystem * | getEmissionSystem (const int idx) const |
| void | swapBytes () |
| void | dumpData () |
Public Attributes | |
| PDUHeader | header |
| entityIdentifierDIS | emittingEntityID |
| EventIdentifier | eventID |
| unsigned char | stateUpdateIndicator |
| unsigned char | numberOfSystems |
| unsigned short | padding |
| EmissionSystem* ElectromagneticEmissionPDU::getEmissionSystem | ( | const int | idx | ) | [inline] |
Returns a pointer to the idx'th EmissionSystem structure; Note: This ONLY works after the PDU and emissions systems have been created and initialized! (The systemDataLength's in the EmissionSystem structures, as well as our 'numberOfSystems' member variable, need to be correct for this to work) Note: 'idx' is zero based, so a idx == 1 will return the second EmissionSystem structure
First Emission system data is just after this structure
step down to the correct emission system data using 'systemDataLength'
| const EmissionSystem* ElectromagneticEmissionPDU::getEmissionSystem | ( | const int | idx | ) | const [inline] |
| void ElectromagneticEmissionPDU::swapBytes | ( | ) | [inline] |
Swap bytes 'to' or 'from' the network.
Swap our stuff first
then swap emission data
| void ElectromagneticEmissionPDU::dumpData | ( | ) | [inline] |
Dump the PDU's data to the standard output device, std::cout.
PDU Header.
Entity that owns these systems.
| unsigned char ElectromagneticEmissionPDU::stateUpdateIndicator |
State.
| unsigned char ElectromagneticEmissionPDU::numberOfSystems |
Number of systems (EmissionSystem) that follow.
| unsigned short ElectromagneticEmissionPDU::padding |
1.5.0