public class BeamData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected float |
beamAzimuthCenter
Specifies the beam azimuth an elevation centers and corresponding half-angles to describe the scan volume
|
protected float |
beamAzimuthSweep
Specifies the beam azimuth sweep to determine scan volume
|
protected float |
beamElevationCenter
Specifies the beam elevation center to determine scan volume
|
protected float |
beamElevationSweep
Specifies the beam elevation sweep to determine scan volume
|
protected float |
beamSweepSync
allows receiver to synchronize its regenerated scan pattern to that of the emmitter.
|
Constructor and Description |
---|
BeamData()
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 |
float |
getBeamAzimuthCenter()
Getter for
beamAzimuthCenter |
float |
getBeamAzimuthSweep()
Getter for
beamAzimuthSweep |
float |
getBeamElevationCenter()
Getter for
beamElevationCenter |
float |
getBeamElevationSweep()
Getter for
beamElevationSweep |
float |
getBeamSweepSync()
Getter for
beamSweepSync |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
BeamData |
setBeamAzimuthCenter(float pBeamAzimuthCenter)
Setter for
beamAzimuthCenter |
BeamData |
setBeamAzimuthSweep(float pBeamAzimuthSweep)
Setter for
beamAzimuthSweep |
BeamData |
setBeamElevationCenter(float pBeamElevationCenter)
Setter for
beamElevationCenter |
BeamData |
setBeamElevationSweep(float pBeamElevationSweep)
Setter for
beamElevationSweep |
BeamData |
setBeamSweepSync(float pBeamSweepSync)
Setter for
beamSweepSync |
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 float beamAzimuthCenter
protected float beamAzimuthSweep
protected float beamElevationCenter
protected float beamElevationSweep
protected float beamSweepSync
public int getMarshalledSize()
public BeamData setBeamAzimuthCenter(float pBeamAzimuthCenter)
beamAzimuthCenter
public float getBeamAzimuthCenter()
beamAzimuthCenter
public BeamData setBeamAzimuthSweep(float pBeamAzimuthSweep)
beamAzimuthSweep
public float getBeamAzimuthSweep()
beamAzimuthSweep
public BeamData setBeamElevationCenter(float pBeamElevationCenter)
beamElevationCenter
public float getBeamElevationCenter()
beamElevationCenter
public BeamData setBeamElevationSweep(float pBeamElevationSweep)
beamElevationSweep
public float getBeamElevationSweep()
beamElevationSweep
public BeamData setBeamSweepSync(float pBeamSweepSync)
beamSweepSync
public float getBeamSweepSync()
beamSweepSync
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