Skip to content

RemoveEntityPDU

huggins edited this page May 3, 2023 · 4 revisions

Remove Entity PDU

Struct container for all information that is contained inside of DIS Remove Entity PDUs.

struct FRemoveEntityPDU
	: public FSimulationManagementFamilyPDU

Includes

Back to Top


Members

Type Name Description
int64 RequestID The specific and unique entity removal request ID.

Back to Top


Constructors

Name Description
FRemoveEntityPDU() Default constructor

Destructors

Name Description
~FRemoveEntityPDU() Default destructor

Functions

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

Back to Top


Details

RequestID

int64 RequestID

The specific and unique entity removal request ID.

Category: GRILL DIS|Structs|PDUs|RemoveEntity

Range: [0, 4294967295]

Back to Top


FRemoveEntityPDU

FRemoveEntityPDU()

Default constructor.

Back to Top


~FRemoveEntityPDU

virtual ~FRemoveEntityPDU()

Default destructor.

Back to Top


SetupFromOpenDIS

void SetupFromOpenDIS
(
	DIS::RemoveEntityPdu* RemoveEntityPDUIn
)

Converts an OpenDIS RemoveEntityPdu struct to an FRemoveEntityPDU struct.

Parameter Description
RemoveEntityPDUIn The OpenDIS RemoveEntityPdu struct to convert.

Back to Top


ToBytes

void ToOpenDIS
(
	DIS::RemoveEntityPdu& RemoveEntityPDUOut
)

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

Parameter Description
RemoveEntityPDUOut The OpenDIS RemoveEntityPdu struct representation of this FRemoveEntityPDU.

Back to Top


ToOpenDIS

virtual TArray<uint8> ToBytes() override

Conversion to OpenDIS RemoveEntityPdu struct

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

Back to Top


Clone this wiki locally