-
Notifications
You must be signed in to change notification settings - Fork 16
StartResumePDU
huggins edited this page May 3, 2023
·
4 revisions
Struct container for all information that is contained inside of DIS Start Resume PDUs.
struct FStartResumePDU
: public FSimulationManagementFamilyPDU
- CoreMinimal
- UObject/NoExportTypes.h
- <dis6/StartResumePdu.h>
- PDUs/SimManagementFamily/GRILL_SimulationManagementFamilyPDU.h
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. |
Name | Description |
---|---|
FStartResumePDU() | Default constructor |
Name | Description |
---|---|
~FStartResumePDU() | Default destructor |
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 |
FClockTime RealWorldTime
The real-world time at which the entity/exercise is to start/resume in the exercise.
Category: GRILL DIS|Structs|PDUs|StartResume
int64 RequestID
The specific and unique start/resume request being made by the simulation.
Category: GRILL DIS|Structs|PDUs|StartResume
FClockTime SimulationTime
The shared time being simulated within a simulation exercise.
Category: GRILL DIS|Structs|PDUs|StartResume
FStartResumePDU() : FSimulationManagementFamilyPDU()
Default constructor.
virtual ~FStartResumePDU()
Default destructor.
void SetupFromOpenDIS
(
DIS::StartResumePdu* StartResumePDUIn
)
Converts an OpenDIS StartResumePdu struct to an FStartResumePDU struct.
Parameter | Description |
---|---|
StartResumePDUIn | The OpenDIS StartResumePdu struct to convert. |
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. |
virtual TArray<uint8> ToBytes() override
Conversion to OpenDIS StartResumePdu struct
Returns |
---|
An array of bytes containing the information from this FStartResumePDU. |