Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mil.navy.nps.dis.PduElement | +--mil.navy.nps.dis.ProtocolDataUnit | +--mil.navy.nps.dis.DetonationPdu
Field Summary | |
java.util.Vector | articulationParameters
List of articulation parameters. |
BurstDescriptor | burstDescription
Burst Descriptor - This field shall describe the type of munition impacting or detonating, the warhead, the fuse, the quantity, and the rate. |
mil.navy.nps.util.UnsignedByte | detonationResult
Detonation Result - This field shall specify the result of the detonation. |
EventID | eventID
Event Identification - This field shall contain the same data as in the Event Identification field of the Fire PDU that communicated the launch of the munition. |
EntityID | firingEntityID
Firing Entity Identification - This field shall identify the firing entity. |
EntityCoordinate | locationInEntityCoordinates
Location in Entity's coordinates - This field shall specify the location of the detonation or impact in the target entity's coordinate system. |
WorldCoordinate | locationInWorldCoordinate
Location in World Coordinate - This field shall specify the location of the detonation in world coordinates. |
EntityID | munitionID
Munition Identification - This field shall specify the entity ID of the fired munition if tracking data is required. |
static int | sizeOf
Constant value--size of an Detonation PDU with header, without the articulation parameters. |
EntityID | targetEntityID
Target Entity Identification - This field shall identify the target entity. |
LinearVelocity | velocity
Velocity - This field shall specify the velocity of the munition immediately before detonation/impact. |
Fields inherited from class mil.navy.nps.dis.ProtocolDataUnit | |
DEBUG, exerciseID, pduType, protocolFamily, protocolVersion, sizeOf, timestamp |
Constructor Summary | |
DetonationPdu()
Default constructor--fills with zeros for all values. |
Method Summary | |
void | addArticulationParameter(ArticulationParameter pParameter)
Inserts a Articulation Parameter at the end of the list. |
java.lang.Object | clone()
|
void | deSerialize(java.io.DataInputStream inputStream)
|
ArticulationParameter | getArticulationParameterAt(int pIdx)
Returns the Articulation Parameter at the index given in parameter. |
BurstDescriptor | getBurstDescription()
|
mil.navy.nps.util.UnsignedByte | getDetonationResult()
|
EventID | getEventID()
|
EntityID | getFiringEntityID()
|
EntityCoordinate | getLocationInEntityCoordinates()
|
WorldCoordinate | getLocationInWorldCoordinate()
|
EntityID | getMunitionID()
|
EntityID | getTargetEntityID()
|
LinearVelocity | getVelocity()
|
int | length()
|
java.lang.String | PDUName()
|
void | printValues(int indentLevel,
java.io.PrintStream printStream)
|
void | serialize(java.io.DataOutputStream outputStream)
|
void | setBurstDescription(BurstDescriptor pBurstDescription)
|
void | setDetonationResult(mil.navy.nps.util.UnsignedByte pDetonationResult)
|
void | setDetonationResult(int pDetonationResult)
|
void | setEventID(EventID pEventID)
|
void | setFiringEntityID(EntityID pFiringEntityID)
|
void | setLocationInEntityCoordinates(EntityCoordinate pLocationInEntityCoordinates)
|
void | setLocationInEntityCoordinates(float x,
float y,
float z)
|
void | setLocationInWorldCoordinate(WorldCoordinate pLocation)
|
void | setLocationInWorldCoordinate(double x,
double y,
double z)
|
void | setMunitionID(EntityID pMunitionID)
|
void | setTargetEntityID(EntityID pTargetEntityID)
|
void | setVelocity(LinearVelocity pVelocity)
|
void | setVelocity(float x,
float y,
float z)
|
Methods inherited from class mil.navy.nps.dis.ProtocolDataUnit | |
Methods inherited from class mil.navy.nps.dis.PduElement | |
clone, deSerialize, length, printValues, serialize |
Methods inherited from class java.lang.Object | |
Field Detail |
protected EntityID firingEntityID
protected EntityID targetEntityID
protected EntityID munitionID
protected EventID eventID
protected LinearVelocity velocity
protected WorldCoordinate locationInWorldCoordinate
protected BurstDescriptor burstDescription
protected EntityCoordinate locationInEntityCoordinates
protected mil.navy.nps.util.UnsignedByte detonationResult
protected java.util.Vector articulationParameters
public static final int sizeOf
sizeOf = 104 bytes
Constructor Detail |
public DetonationPdu()
Method Detail |
public java.lang.Object clone()
public void serialize(java.io.DataOutputStream outputStream)
public void deSerialize(java.io.DataInputStream inputStream)
public int length()
public java.lang.String PDUName()
public void printValues(int indentLevel, java.io.PrintStream printStream)
public EntityID getFiringEntityID()
public void setFiringEntityID(EntityID pFiringEntityID)
public EntityID getTargetEntityID()
public void setTargetEntityID(EntityID pTargetEntityID)
public EntityID getMunitionID()
public void setMunitionID(EntityID pMunitionID)
public EventID getEventID()
public void setEventID(EventID pEventID)
public LinearVelocity getVelocity()
public void setVelocity(LinearVelocity pVelocity)
public void setVelocity(float x, float y, float z)
public WorldCoordinate getLocationInWorldCoordinate()
public void setLocationInWorldCoordinate(WorldCoordinate pLocation)
public void setLocationInWorldCoordinate(double x, double y, double z)
public BurstDescriptor getBurstDescription()
public void setBurstDescription(BurstDescriptor pBurstDescription)
public EntityCoordinate getLocationInEntityCoordinates()
public void setLocationInEntityCoordinates(EntityCoordinate pLocationInEntityCoordinates)
public void setLocationInEntityCoordinates(float x, float y, float z)
public mil.navy.nps.util.UnsignedByte getDetonationResult()
public void setDetonationResult(mil.navy.nps.util.UnsignedByte pDetonationResult)
public void setDetonationResult(int pDetonationResult)
public ArticulationParameter getArticulationParameterAt(int pIdx)
pIdx
- the index of the Articulation Parameter we want to obtainpublic void addArticulationParameter(ArticulationParameter pParameter)
pParameter
- the Articulation Parameter to be inserted in the listOverview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |