Skip to content

ElectromagneticEmissionsPDU

huggins edited this page Apr 10, 2025 · 2 revisions

Electromagnetic Emissions PDU

Struct container for all information that is contained inside of a DIS Electromagnetic Emissions PDU.

struct FElectromagneticEmissionsPDU 
    : public FDistributedEmissionsFamilyPDU

Includes

Back to Top


Members

Type Name Description
FEntityID EmittingEntityID The site, application, and unique identifier for this entity.
FEventID EventID The event ID from the originating Electromagnetic Emissions PDU if one exist, otherwise the event number shall be 0.
int32 PaddingForEmissionsPDU Padding.
EStateUpdateIndicator StateUpdateIndicator This field shall be used to indicate if the data in the PDU represents a state update or just data that has changed since issuance of the last Emitter PDU.
TArray<FElectromagneticEmissionSystemData> Systems Array of electromagnetic emissions systems data records.

Back to Top


Constructors

Name Description
FElectromagneticEmissionsPDU() Default constructor

Destructors

Name Description
~FElectromagneticEmissionsPDU() Default destructor

Functions

Return Name Description
SetupFromOpenDIS(const DIS::ElectromagneticEmissionsPdu& ElectromagneticEmissionsPDUIn) Converts an OpenDIS ElectromagneticEmissionsPdu struct to an FElectromagneticEmissionsPDU struct.
TArray<uint8> ToBytes() Conversion to an array of bytes. Allows for an FElectromagneticEmissionsPDU struct to be sent out with a UDP send socket.
ToOpenDIS(DIS::ElectromagneticEmissionBeamData& out) Conversion to OpenDIS ElectromagneticEmissionsPdu struct

Back to Top


Details

Emitting Entity ID

FEntityID EmittingEntityID

The site, application, and unique identifier for this entity.

Category: GRILL DIS|Structs|PDUs|ElectromagneticEmissions

Back to Top


Event ID

FEventID EventID

The event ID from the originating Electromagnetic Emissions PDU if one exist, otherwise the event number shall be 0.

Category: GRILL DIS|Structs|PDUs|ElectromagneticEmissions

Back to Top


Padding for Emissions PDU

int32 PaddingForEmissionsPDU

Padding.

Category: GRILL DIS|Structs|PDUs|ElectromagneticEmissions

Back to Top


State Update Indicator

int StateUpdateIndicator

This field shall be used to indicate if the data in the PDU represents a state update or just data that has changed since issuance of the last Emitter PDU (relative to the identified entity and emission system(S)).

Category: GRILL DIS|Structs|PDUs|ElectromagneticEmissions

Back to Top


Systems

TArray<FElectromagneticEmissionSystemData> Systems

Array of system data records.

Category: GRILL DIS|Structs|PDUs|ElectromagneticEmissions

Back to Top


FElectromagneticEmissionsPDU

FElectromagneticEmissionsPDU() 
    : FDistributedEmissionsFamilyPDU()

Default constructor.

Back to Top


~FElectromagneticEmissionsPDU

virtual ~FElectromagneticEmissionsPDU()

Default constructor.

Back to Top


SetupFromOpenDIS

SetupFromOpenDIS
(
    const DIS::ElectromagneticEmissionsPdu& Data
)

Converts an OpenDIS ElectromagneticEmissionsPdu struct to an FElectromagneticEmissionsPDU struct.

Parameter Description
Data The OpenDIS ElectromagneticEmissionsPdu struct to convert.

Back to Top


ToBytes

virtual TArray<uint8> ToBytes() override

Conversion to OpenDIS ElectromagneticEmissionsPdu struct

Returns
An array of bytes containing the information from this FElectromagneticEmissionsPDU.

Back to Top


ToOpenDIS

void ToOpenDIS
(
    DIS::ElectromagneticEmissionsPdu& out
)

Conversion to an array of bytes. Allows for an FElectromagneticEmissionsPDU struct to be sent out with a UDP send socket.

Parameter Description
out The OpenDIS ElectromagneticEmissionsPdu struct representation of this FElectromagneticEmissionsPDU.

Back to Top


Clone this wiki locally