Skip to content

StartResumePDU

huggins edited this page May 3, 2023 · 4 revisions

Start Resume PDU

Struct container for all information that is contained inside of DIS Start Resume PDUs.

struct FStartResumePDU
	: public FSimulationManagementFamilyPDU

Includes

Back to Top


Members

Type Name Description
FClockTime RealWorldTime The real-world time at which the entity/exercise is to start/resume in the exercise.
int64 RequestID The specific and unique start/resume request being made by the simulation.
FClockTime SimulationTime The shared time being simulated within a simulation exercise.

Back to Top


Constructors

Name Description
FStartResumePDU() Default constructor

Destructors

Name Description
~FStartResumePDU() Default destructor

Functions

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

Back to Top


Details

RealWorldTime

FClockTime RealWorldTime

The real-world time at which the entity/exercise is to start/resume in the exercise.

Category: GRILL DIS|Structs|PDUs|StartResume

Back to Top


RequestID

int64 RequestID

The specific and unique start/resume request being made by the simulation.

Category: GRILL DIS|Structs|PDUs|StartResume

Back to Top


SimulationTime

FClockTime SimulationTime

The shared time being simulated within a simulation exercise.

Category: GRILL DIS|Structs|PDUs|StartResume

Back to Top


FStartResumePDU

FStartResumePDU() : FSimulationManagementFamilyPDU()

Default constructor.

Back to Top


~FStartResumePDU

virtual ~FStartResumePDU()

Default destructor.

Back to Top


SetupFromOpenDIS

void SetupFromOpenDIS
(
	DIS::StartResumePdu* StartResumePDUIn
)

Converts an OpenDIS StartResumePdu struct to an FStartResumePDU struct.

Parameter Description
StartResumePDUIn The OpenDIS StartResumePdu struct to convert.

Back to Top


ToBytes

void ToOpenDIS
(
	DIS::StartResumePdu& StartResumePDUOut
)

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

Parameter Description
StartResumePDUOut The OpenDIS StartResumePdu struct representation of this FStartResumePDU.

Back to Top


ToOpenDIS

virtual TArray<uint8> ToBytes() override

Conversion to OpenDIS StartResumePdu struct

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

Back to Top


Clone this wiki locally