public class DirectedEnergyDamage
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected short |
componentDamageStatus
enumeration
|
protected short |
componentIdentification
enumeration
|
protected short |
componentVisualDamageStatus
enumeration
|
protected short |
componentVisualSmokeColor
enumeration
|
protected float |
damageDiameter
Size of damaged area, in meters.
|
protected Vector3Float |
damageLocation
location of damage, relative to center of entity
|
protected EventIdentifier |
fireEventID
For any component damage resulting this field shall be set to the fire event ID from that PDU.
|
protected int |
padding
padding.
|
protected int |
padding2
padding
|
protected int |
recordLength
DE Record Length (bytes).
|
protected long |
recordType
DE Record Type.
|
protected float |
temperature
average temp of the damaged area, in degrees celsius.
|
Constructor and Description |
---|
DirectedEnergyDamage()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsImpl(java.lang.Object obj)
Compare all fields that contribute to the state, ignoring
transient and static fields, for
this and the supplied object |
short |
getComponentDamageStatus() |
short |
getComponentIdentification() |
short |
getComponentVisualDamageStatus() |
short |
getComponentVisualSmokeColor() |
float |
getDamageDiameter() |
Vector3Float |
getDamageLocation() |
EventIdentifier |
getFireEventID() |
int |
getMarshalledSize() |
int |
getPadding() |
int |
getPadding2() |
int |
getRecordLength() |
long |
getRecordType() |
float |
getTemperature() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setComponentDamageStatus(short pComponentDamageStatus) |
void |
setComponentIdentification(short pComponentIdentification) |
void |
setComponentVisualDamageStatus(short pComponentVisualDamageStatus) |
void |
setComponentVisualSmokeColor(short pComponentVisualSmokeColor) |
void |
setDamageDiameter(float pDamageDiameter) |
void |
setDamageLocation(Vector3Float pDamageLocation) |
void |
setFireEventID(EventIdentifier pFireEventID) |
void |
setPadding(int pPadding) |
void |
setPadding2(int pPadding2) |
void |
setRecordLength(int pRecordLength) |
void |
setRecordType(long pRecordType) |
void |
setTemperature(float pTemperature) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
protected long recordType
protected int recordLength
protected int padding
protected Vector3Float damageLocation
protected float damageDiameter
protected float temperature
protected short componentIdentification
protected short componentDamageStatus
protected short componentVisualDamageStatus
protected short componentVisualSmokeColor
protected EventIdentifier fireEventID
protected int padding2
public int getMarshalledSize()
public void setRecordType(long pRecordType)
public long getRecordType()
public void setRecordLength(int pRecordLength)
public int getRecordLength()
public void setPadding(int pPadding)
public int getPadding()
public void setDamageLocation(Vector3Float pDamageLocation)
public Vector3Float getDamageLocation()
public void setDamageDiameter(float pDamageDiameter)
public float getDamageDiameter()
public void setTemperature(float pTemperature)
public float getTemperature()
public void setComponentIdentification(short pComponentIdentification)
public short getComponentIdentification()
public void setComponentDamageStatus(short pComponentDamageStatus)
public short getComponentDamageStatus()
public void setComponentVisualDamageStatus(short pComponentVisualDamageStatus)
public short getComponentVisualDamageStatus()
public void setComponentVisualSmokeColor(short pComponentVisualSmokeColor)
public short getComponentVisualSmokeColor()
public void setFireEventID(EventIdentifier pFireEventID)
public EventIdentifier getFireEventID()
public void setPadding2(int pPadding2)
public int getPadding2()
public void marshal(java.io.DataOutputStream dos)
public void unmarshal(java.io.DataInputStream dis)
public void marshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equalsImpl(java.lang.Object obj)
this
and the supplied objectobj
- the object to compare to