Package edu.nps.moves.dis7
Class AngleDeception
java.lang.Object
edu.nps.moves.dis7.AngleDeception
- All Implemented Interfaces:
Serializable
The Angle Deception attribute record may be used to communicate discrete
values that are associated with angle deception jamming that cannot be
referenced to an emitter mode. The values provided in the record records
(provided in the associated Electromagnetic Emission PDU). (The victim radar
beams are those that are targeted by the jammer.) Section 6.2.21.2.2
Copyright (c) 2008-2016, MOVES Institute, Naval Postgraduate School. All
rights reserved. This work is licensed under the BSD open source license,
available at https://www.movesinstitute.org/licenses/bsd.html
- Author:
- DMcG
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
protected float
protected float
protected float
protected short
protected float
protected float
protected float
protected float
protected short
protected int
protected short
protected long
protected int
protected long
protected short
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equalsImpl
(Object obj) Compare all fields that contribute to the state, ignoring transient and static fields, forthis
and the supplied objectfloat
float
float
float
short
float
float
float
float
short
int
int
short
long
int
long
short
void
marshal
(DataOutputStream dos) void
marshal
(ByteBuffer buff) Packs a Pdu into the ByteBuffer.void
setAzimuthOffset
(float pAzimuthOffset) void
setAzimuthPullAcceleration
(float pAzimuthPullAcceleration) void
setAzimuthPullRate
(float pAzimuthPullRate) void
setAzimuthWidth
(float pAzimuthWidth) void
setBeamNumber
(short pBeamNumber) void
setElevationOffset
(float pElevationOffset) void
setElevationPullAcceleration
(float pElevationPullAcceleration) void
setElevationPullRate
(float pElevationPullRate) void
setElevationWidth
(float pElevationWidth) void
setEmitterNumber
(short pEmitterNumber) void
setPadding
(int pPadding) void
setPadding2
(short pPadding2) void
setPadding3
(long pPadding3) void
setRecordLength
(int pRecordLength) void
setRecordType
(long pRecordType) void
setStateIndicator
(short pStateIndicator) void
unmarshal
(DataInputStream dis) void
unmarshal
(ByteBuffer buff) Unpacks a Pdu from the underlying data.
-
Field Details
-
recordType
protected long recordType -
recordLength
protected int recordLength -
padding
protected int padding -
emitterNumber
protected short emitterNumber -
beamNumber
protected short beamNumber -
stateIndicator
protected short stateIndicator -
padding2
protected short padding2 -
azimuthOffset
protected float azimuthOffset -
azimuthWidth
protected float azimuthWidth -
azimuthPullRate
protected float azimuthPullRate -
azimuthPullAcceleration
protected float azimuthPullAcceleration -
elevationOffset
protected float elevationOffset -
elevationWidth
protected float elevationWidth -
elevationPullRate
protected float elevationPullRate -
elevationPullAcceleration
protected float elevationPullAcceleration -
padding3
protected long padding3
-
-
Constructor Details
-
AngleDeception
public AngleDeception()Constructor
-
-
Method Details
-
getMarshalledSize
public int getMarshalledSize() -
setRecordType
public void setRecordType(long pRecordType) -
getRecordType
public long getRecordType() -
setRecordLength
public void setRecordLength(int pRecordLength) -
getRecordLength
public int getRecordLength() -
setPadding
public void setPadding(int pPadding) -
getPadding
public int getPadding() -
setEmitterNumber
public void setEmitterNumber(short pEmitterNumber) -
getEmitterNumber
public short getEmitterNumber() -
setBeamNumber
public void setBeamNumber(short pBeamNumber) -
getBeamNumber
public short getBeamNumber() -
setStateIndicator
public void setStateIndicator(short pStateIndicator) -
getStateIndicator
public short getStateIndicator() -
setPadding2
public void setPadding2(short pPadding2) -
getPadding2
public short getPadding2() -
setAzimuthOffset
public void setAzimuthOffset(float pAzimuthOffset) -
getAzimuthOffset
public float getAzimuthOffset() -
setAzimuthWidth
public void setAzimuthWidth(float pAzimuthWidth) -
getAzimuthWidth
public float getAzimuthWidth() -
setAzimuthPullRate
public void setAzimuthPullRate(float pAzimuthPullRate) -
getAzimuthPullRate
public float getAzimuthPullRate() -
setAzimuthPullAcceleration
public void setAzimuthPullAcceleration(float pAzimuthPullAcceleration) -
getAzimuthPullAcceleration
public float getAzimuthPullAcceleration() -
setElevationOffset
public void setElevationOffset(float pElevationOffset) -
getElevationOffset
public float getElevationOffset() -
setElevationWidth
public void setElevationWidth(float pElevationWidth) -
getElevationWidth
public float getElevationWidth() -
setElevationPullRate
public void setElevationPullRate(float pElevationPullRate) -
getElevationPullRate
public float getElevationPullRate() -
setElevationPullAcceleration
public void setElevationPullAcceleration(float pElevationPullAcceleration) -
getElevationPullAcceleration
public float getElevationPullAcceleration() -
setPadding3
public void setPadding3(long pPadding3) -
getPadding3
public long getPadding3() -
marshal
-
unmarshal
-
marshal
Packs a Pdu into the ByteBuffer.- Parameters:
buff
- The ByteBuffer at the position to begin writing- Throws:
BufferOverflowException
- if buff is too smallReadOnlyBufferException
- if buff is read only- Since:
- ??
- See Also:
-
unmarshal
Unpacks a Pdu from the underlying data.- Parameters:
buff
- The ByteBuffer at the position to begin reading- Throws:
BufferUnderflowException
- if buff is too small- Since:
- ??
- See Also:
-
equals
-
equalsImpl
Compare all fields that contribute to the state, ignoring transient and static fields, forthis
and the supplied object- Parameters:
obj
- the object to compare to- Returns:
- true if the objects are equal, false otherwise.
-