-
Notifications
You must be signed in to change notification settings - Fork 20
StartResumePDU
huggins edited this page Apr 10, 2025
·
6 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(const 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 RealWorldTimeThe real-world time at which the entity/exercise is to start/resume in the exercise.
Category: GRILL DIS|Structs|PDUs|StartResume
int64 RequestIDThe specific and unique start/resume request being made by the simulation.
Category: GRILL DIS|Structs|PDUs|StartResume
Range: [0, 4294967295]
FClockTime SimulationTimeThe shared time being simulated within a simulation exercise.
Category: GRILL DIS|Structs|PDUs|StartResume
FStartResumePDU() : FSimulationManagementFamilyPDU()Default constructor.
virtual ~FStartResumePDU()Default destructor.
void SetupFromOpenDIS
(
const DIS::StartResumePdu& StartResumePDUIn
)Converts an OpenDIS StartResumePdu struct to an FStartResumePDU struct.
| Parameter | Description |
|---|---|
| StartResumePDUIn | The OpenDIS StartResumePdu struct to convert. |
virtual TArray<uint8> ToBytes() overrideConversion to OpenDIS StartResumePdu struct
| Returns |
|---|
| An array of bytes containing the information from this FStartResumePDU. |
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. |