Class FirePdu

All Implemented Interfaces:
Marshaller, Serializable

public class FirePdu extends WarfareFamilyPdu implements Serializable
7.3.2 Used to communicate the firing of a weapon or expendable.
See Also:
  • Field Details

    • NAME

      public static final String NAME
      The name of this PDU type
      See Also:
    • firingEntityID

      protected EntityID firingEntityID
      ID of the entity that shot
    • targetEntityID

      protected EntityID targetEntityID
      ID of the entity that is being shot at
    • munitionExpendibleID

      protected EntityID munitionExpendibleID
      This field shall specify the entity identification of the fired munition or expendable. This field shall be represented by an Entity Identifier record (see 6.2.28).
    • eventID

      protected EventIdentifier eventID
      This field shall contain an identification generated by the firing entity to associate related firing and detonation events. This field shall be represented by an Event Identifier record (see 6.2.34).
    • fireMissionIndex

      protected int fireMissionIndex
      This field shall identify the fire mission (see 5.4.3.3). This field shall be represented by a 32-bit unsigned integer.
    • locationInWorldCoordinates

      protected Vector3Double locationInWorldCoordinates
      This field shall specify the location, in world coordinates, from which the munition was launched, and shall be represented by a World Coordinates record (see 6.2.97).
    • descriptor

      protected MunitionDescriptor descriptor
      This field shall describe the firing or launch of a munition or expendable represented by one of the following types of Descriptor records: Munition Descriptor (6.2.20.2) or Expendable Descriptor (6.2.20.4).
    • velocity

      protected Vector3Float velocity
      This field shall specify the velocity of the fired munition at the point when the issuing simulation application intends the externally visible effects of the launch (e.g. exhaust plume or muzzle blast) to first become apparent. The velocity shall be represented in world coordinates. This field shall be represented by a Linear Velocity Vector record [see 6.2.95 item c)].
    • range

      protected float range
      This field shall specify the range that an entity's fire control system has assumed in computing the fire control solution. This field shall be represented by a 32-bit floating point number in meters. For systems where range is unknown or unavailable, this field shall contain a value of zero.
    • byteArrayOutputStream

      protected ByteArrayOutputStream byteArrayOutputStream
      byteArrayOutputStream (baos) is used for marshal/unmarshal serialization
      See Also:
    • dataOutputStream

      protected DataOutputStream dataOutputStream
      dataOutputStream (dos) is used for marshal/unmarshal serialization
      See Also:
  • Constructor Details

    • FirePdu

      public FirePdu()
      Constructor creates and configures a new instance object
  • Method Details