public class ElectronicEmitter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<EmitterBeam> |
beams
Electronic emmission beams
|
protected EmitterSystem |
emitterSystem
information about a particular emitter system and shall be represented by an Emitter System record (see 6.2.23).
|
protected Vector3Float |
location
the location of the antenna beam source with respect to the emitting entity's coordinate system.
|
protected byte |
numberOfBeams
the number of beams being described in the current PDU for the emitter system being described.
|
protected byte |
systemDataLength
this field shall specify the length of this emitter system's data in 32-bit words.
|
Constructor and Description |
---|
ElectronicEmitter()
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 |
java.util.List<EmitterBeam> |
getBeams()
Getter for
beams |
EmitterSystem |
getEmitterSystem()
Getter for
emitterSystem |
Vector3Float |
getLocation()
Getter for
location |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
byte |
getSystemDataLength()
Getter for
systemDataLength |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
ElectronicEmitter |
setBeams(java.util.List<EmitterBeam> pBeams)
Setter for
beams |
ElectronicEmitter |
setEmitterSystem(EmitterSystem pEmitterSystem)
Setter for
emitterSystem |
ElectronicEmitter |
setLocation(Vector3Float pLocation)
Setter for
location |
ElectronicEmitter |
setSystemDataLength(byte pSystemDataLength)
Setter for
systemDataLength |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.
|
protected byte systemDataLength
protected byte numberOfBeams
protected EmitterSystem emitterSystem
protected Vector3Float location
protected java.util.List<EmitterBeam> beams
public int getMarshalledSize()
public ElectronicEmitter setSystemDataLength(byte pSystemDataLength)
systemDataLength
public byte getSystemDataLength()
systemDataLength
public ElectronicEmitter setEmitterSystem(EmitterSystem pEmitterSystem)
emitterSystem
public EmitterSystem getEmitterSystem()
emitterSystem
public ElectronicEmitter setLocation(Vector3Float pLocation)
location
public Vector3Float getLocation()
location
public ElectronicEmitter setBeams(java.util.List<EmitterBeam> pBeams)
beams
public java.util.List<EmitterBeam> getBeams()
beams
public void marshal(java.io.DataOutputStream dos)
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyjava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smalljava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
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