-
Notifications
You must be signed in to change notification settings - Fork 20
DesignatorPDU
Struct container for all information that is contained inside of a DIS Designator PDU.
struct FDesignatorPDU
: public FDistributedEmissionsFamilyPDU- CoreMinimal
- UObject/NoExportTypes.h
- <dis6/DesignatorPdu.h>
- PDUs/DistributedEmissionsFamily/GRILL_DistributedEmissionsFamilyPDU.h
| Type | Name | Description |
|---|---|---|
| int32 | CodeName | This field shall identify the code name for the designator system. |
| EDeadReckoningAlgorithm | DeadReckoningAlgorithm | This field will be used to provide parameters for dead reckoning the position of the designator spot. |
| FEntityID | DesignatedEntityID | The site, application, and unique identifier for the entity that is currently being designated. |
| FEntityID | DesignatingEntityID | The site, application, and unique identifier for the entity that is positioning the designator. |
| int32 | DesignatorCode | This field shall identify the designator code being used by the designating entity. |
| float | DesignatorPower | This field shall identify the designator output power in watts. |
| FVector | DesignatorSpotLocation | This field shall identify the location of the designator spot with respect to the world coordinate system. |
| FVector | DesignatorSpotWrtDesignated | This field shall specify the location of the designator spot with respect to the designated entity's coordinate system when the spot is on an entity. If the Designated Entity is D-SPOT_NO_ENTITY, then this field shall contain the location [0, 0, 0]. |
| float | DesignatorWavelength | This field shall identify the designator wavelength in units of microns. |
| FVector | EntityLinearAcceleration | This field shall specify the designator spot's linear acceleration. |
| int32 | Padding1 | Padding. |
| uint8 | Padding2 | Padding. |
| Name | Description |
|---|---|
| FDesignatorPDU() | Default constructor |
| Name | Description |
|---|---|
| ~FDesignatorPDU() | Default destructor |
| Return | Name | Description |
|---|---|---|
| SetupFromOpenDIS(const DIS::DesignatorPdu& DesignatorPDUIn) | Converts an OpenDIS DesignatorPdu struct to an FDesignatorPDU struct. | |
| TArray<uint8> | ToBytes() | Conversion to an array of bytes. Allows for an FDesignatorPDU struct to be sent out with a UDP send socket. |
| ToOpenDIS(DIS::ElectromagneticEmissionBeamData& out) | Conversion to OpenDIS DesignatorPdu struct |
int32 CodeName = 0This field shall identify the code name for the designator system.
Category: GRILL DIS|Structs|PDUs|Designator
EDeadReckoningAlgorithm DeadReckoningAlgorithm = EDeadReckoningAlgorithm::StaticThis field will be used to provide parameters for dead reckoning the position of the designator spot.
Category: GRILL DIS|Structs|PDUs|Designator
FEntityID DesignatedEntityIDThe site, application, and unique identifier for the entity that is currently being designated.
Category: GRILL DIS|Structs|PDUs|Designator
FEntityID DesignatingEntityIDThe site, application, and unique identifier for the entity that is positioning the designator.
Category: GRILL DIS|Structs|PDUs|Designator
int32 DesignatorCode = 0This field shall identify the designator code being used by the designating entity.
Category: GRILL DIS|Structs|PDUs|Designator
float DesignatorPower = 0This field shall identify the designator output power in watts.
Category: GRILL DIS|Structs|PDUs|Designator
FVector DesignatorSpotLocationThis field shall identify the location of the designator spot with respect to the world coordinate system.
Category: GRILL DIS|Structs|PDUs|Designator
FVector DesignatorSpotWrtDesignatedThis field shall specify the location of the designator spot with respect to the designated entity's coordinate system when the spot is on an entity. If the Designated Entity is D-SPOT_NO_ENTITY, then this field shall contain the location [0, 0, 0].
Category: GRILL DIS|Structs|PDUs|Designator
float DesignatorWavelength = 0This field shall identify the designator wavelength in units of microns.
Category: GRILL DIS|Structs|PDUs|Designator
FVector EntityLinearAccelerationThis field shall specify the designator spot's linear acceleration.
Category: GRILL DIS|Structs|PDUs|Designator
int32 Padding1 = 0Padding
Category: GRILL DIS|Structs|PDUs|Designator
uint8 Padding2 = 0Padding
Category: GRILL DIS|Structs|PDUs|Designator
FDesignatorPDU()
: FDistributedEmissionsFamilyPDU()Default constructor.
virtual ~FDesignatorPDU()Default constructor.
SetupFromOpenDIS
(
const DIS::DesignatorPdu& Data
)Converts an OpenDIS DesignatorPdu struct to an FDesignatorPDU struct.
| Parameter | Description |
|---|---|
| Data | The OpenDIS DesignatorPdu struct to convert. |
virtual TArray<uint8> ToBytes() overrideConversion to OpenDIS DesignatorPdu struct
| Returns |
|---|
| An array of bytes containing the information from this FDesignatorPDU. |
void ToOpenDIS
(
DIS::DesignatorPdu& out
)Conversion to an array of bytes. Allows for an FDesignatorPDU struct to be sent out with a UDP send socket.
| Parameter | Description |
|---|---|
| out | The OpenDIS DesignatorPdu struct representation of this FDesignatorPDU. |