Skip to content

FirePDU

huggins edited this page May 3, 2023 · 4 revisions

Fire PDU

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

struct FFirePDU
    : public FWarfareFamilyPDU

Includes

Back to Top


Members

Type Name Description
FBurstDescriptor BurstDescriptor Description of the detonation in the form of a munition descriptor, an explosion descriptor, or an expendable descriptor
FEventID EventID The event ID from the originating Fire PDU if one exist, otherwise the event number shall be 0.
int32 FireMissionIndex The index number of the fire mission.
FVector Location The location from which the munition was launched in world coordinates in float-precision.
TArray<double> LocationDouble The location from which the munition was launched in world coordinates in double-precision.
FEntityID MunitionEntityID The ID of the munition or expendable entity.
float Range The range that an entity's fire control system has assumed in computing the fire control solution in meters. For systems where the range is unknown, range shall be 0
FVector Velocity The velocity of the fired munition at the point when the issuing simulation application intends the externally visable effects of the launch to first become apparent represented in world coordinates in meters per second.

Back to Top


Constructors

Name Description
FFirePDU() Default constructor

Destructors

Name Description
~FFirePDU() Default destructor

Functions

Return Name Description
SetupFromOpenDIS(DIS::FirePdu* FirePDUIn) Converts an OpenDIS FirePdu struct to an FFirePDU struct.
TArray<uint8> ToBytes() Conversion to an array of bytes. Allows for an FFirePDU struct to be sent out with a UDP send socket.
ToOpenDIS(DIS::FirePdu& FirePDUOut) Conversion to OpenDIS FirePdu struct

Back to Top


Details

BurstDescriptor

FBurstDescriptor BurstDescriptor

Description of the detonation in the form of a munition descriptor, an explosion descriptor, or an expendable descriptor

Category: GRILL DIS|Structs|PDUs|Fire

Back to Top


EventID

FEventID EventID

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

Category: GRILL DIS|Structs|PDUs|Fire

Back to Top


FireMissionIndex

int32 FireMissionIndex

The index number of the fire mission

Category: GRILL DIS|Structs|PDUs|Fire

Back to Top


Location

FVector Location

The location of the detonation in world coordinates in float-precision.

Category: GRILL DIS|Structs|PDUs|Fire

Back to Top


LocationDouble

TArray<double> LocationDouble

The location of the detonation in world coordinates in double-precision.

Back to Top


MunitionEntityID

FEntityID MunitionEntityID

The ID of the munition or expendable entity.

Category: GRILL DIS|Structs|PDUs|Fire

Back to Top


Range

float Range

The range that an entity's fire control system has assumed in computing the fire control solution in meters. For systems where the range is unknown, range shall be 0

Back to Top


Velocity

FVector Velocity

The velocity of the fired munition at the point when the issuing simulation application intends the externally visable effects of the launch to first become apparent represented in world coordinates in meters per second.

Category: GRILL DIS|Structs|PDUs|Fire

Back to Top


FFirePDU

FFirePDU() : FWarfareFamilyPDU()

Default constructor.

Back to Top


~FFirePDU

virtual ~FFirePDU()

Default destructor.

Back to Top


SetupFromOpenDIS

void SetupFromOpenDIS
(
	DIS::FirePdu* FirePDUIn
)

Converts an OpenDIS FirePdu struct to an FFirePDU struct.

Parameter Description
FirePDUIn The OpenDIS FirePdu struct to convert.

Back to Top


ToBytes

void ToOpenDIS
(
	DIS::FirePdu& FirePDUOut
)

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

Parameter Description
FirePDUOut The OpenDIS FirePdu struct representation of this FFirePDU.

Back to Top


ToOpenDIS

virtual TArray<uint8> ToBytes() override

Conversion to OpenDIS FirePdu struct

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

Back to Top


Clone this wiki locally