public class ElectronicEmissionsPdu extends DistributedEmissionsFamilyPdu implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected EmitterSystem |
emitterSystem
information about a particular emitter system and shall be represented by an Emitter System record (see 6.2.23).
|
protected EntityID |
emittingEntityID
ID of the entity emitting
|
protected EventIdentifier |
eventID
ID of event
|
protected Vector3Float |
location
the location of the antenna beam source with respect to the emitting entity's coordinate system.
|
protected short |
numberOfBeams
the number of beams being described in the current PDU for the emitter system being described.
|
protected short |
numberOfSystems
This field shall specify the number of emission systems being described in the current PDU.
|
protected int |
paddingForEmissionsPdu
padding
|
protected short |
stateUpdateIndicator
This field shall be used to indicate if the data in the PDU represents a state update or just data that has changed since issuance of the last Electromagnetic Emission PDU [relative to the identified entity and emission system(s)].
|
protected short |
systemDataLength
this field shall specify the length of this emitter system's data in 32-bit words.
|
protected java.util.List<Vector3Float> |
systems
Electronic emmissions systems THIS IS WRONG.
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp| Constructor and Description |
|---|
ElectronicEmissionsPdu()
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 |
EmitterSystem |
getEmitterSystem() |
EntityID |
getEmittingEntityID() |
EventIdentifier |
getEventID() |
Vector3Float |
getLocation() |
int |
getMarshalledSize() |
short |
getNumberOfBeams() |
short |
getNumberOfSystems() |
int |
getPaddingForEmissionsPdu() |
short |
getStateUpdateIndicator() |
short |
getSystemDataLength() |
java.util.List<Vector3Float> |
getSystems() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setEmitterSystem(EmitterSystem pEmitterSystem) |
void |
setEmittingEntityID(EntityID pEmittingEntityID) |
void |
setEventID(EventIdentifier pEventID) |
void |
setLocation(Vector3Float pLocation) |
void |
setNumberOfBeams(short pNumberOfBeams) |
void |
setNumberOfSystems(short pNumberOfSystems)
Note that setting this value will not change the marshalled value.
|
void |
setPaddingForEmissionsPdu(int pPaddingForEmissionsPdu) |
void |
setStateUpdateIndicator(short pStateUpdateIndicator) |
void |
setSystemDataLength(short pSystemDataLength) |
void |
setSystems(java.util.List<Vector3Float> pSystems) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
getPadding, getPduStatus, marshal, setPadding, setPduStatusgetExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestampprotected EntityID emittingEntityID
protected EventIdentifier eventID
protected short stateUpdateIndicator
protected short numberOfSystems
protected int paddingForEmissionsPdu
protected short systemDataLength
protected short numberOfBeams
protected EmitterSystem emitterSystem
protected Vector3Float location
protected java.util.List<Vector3Float> systems
public int getMarshalledSize()
getMarshalledSize in class DistributedEmissionsFamilyPdupublic void setEmittingEntityID(EntityID pEmittingEntityID)
public EntityID getEmittingEntityID()
public void setEventID(EventIdentifier pEventID)
public EventIdentifier getEventID()
public void setStateUpdateIndicator(short pStateUpdateIndicator)
public short getStateUpdateIndicator()
public short getNumberOfSystems()
public void setNumberOfSystems(short pNumberOfSystems)
public void setPaddingForEmissionsPdu(int pPaddingForEmissionsPdu)
public int getPaddingForEmissionsPdu()
public void setSystemDataLength(short pSystemDataLength)
public short getSystemDataLength()
public void setNumberOfBeams(short pNumberOfBeams)
public short getNumberOfBeams()
public void setEmitterSystem(EmitterSystem pEmitterSystem)
public EmitterSystem getEmitterSystem()
public void setLocation(Vector3Float pLocation)
public Vector3Float getLocation()
public void setSystems(java.util.List<Vector3Float> pSystems)
public java.util.List<Vector3Float> getSystems()
public void marshal(java.io.DataOutputStream dos)
marshal in class DistributedEmissionsFamilyPdupublic void unmarshal(java.io.DataInputStream dis)
unmarshal in class DistributedEmissionsFamilyPdupublic void marshal(java.nio.ByteBuffer buff)
marshal in class DistributedEmissionsFamilyPdubuff - The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException - if buff is too smalljava.nio.ReadOnlyBufferException - if buff is read onlyByteBufferpublic void unmarshal(java.nio.ByteBuffer buff)
unmarshal in class DistributedEmissionsFamilyPdubuff - The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException - if buff is too smallByteBufferpublic boolean equals(java.lang.Object obj)
equals in class DistributedEmissionsFamilyPdupublic boolean equalsImpl(java.lang.Object obj)
PduSuperclassthis and the supplied objectequalsImpl in class DistributedEmissionsFamilyPduobj - the object to compare to