Package edu.nps.moves.dis7
Class FalseTargetsAttribute
java.lang.Object
edu.nps.moves.dis7.FalseTargetsAttribute
- All Implemented Interfaces:
Serializable
The False Targets attribute record shall be used to communicate discrete
values that are associated with false targets jamming that cannot be
referenced to an emitter mode. The values provided in the False Targets
attri- bute record shall be considered valid only for the victim radar beams
listed in the jamming beam's Track/Jam Data records (provided in the
associated Electromagnetic Emission PDU). Section 6.2.21.3
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 short
protected float
protected short
protected int
protected float
protected float
protected int
protected short
protected int
protected long
protected short
protected float
protected float
-
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 objectshort
float
short
int
float
int
float
int
short
int
long
short
float
float
void
marshal
(DataOutputStream dos) void
marshal
(ByteBuffer buff) Packs a Pdu into the ByteBuffer.void
setBeamNumber
(short pBeamNumber) void
setEchoSpacing
(float pEchoSpacing) void
setEmitterNumber
(short pEmitterNumber) void
setFalseTargetCount
(int pFalseTargetCount) void
setKeepTime
(float pKeepTime) void
setMaximumWalkDistance
(float pMaximumWalkDistance) void
setPadding
(int pPadding) void
setPadding2
(short pPadding2) void
setRecordLength
(int pRecordLength) void
setRecordType
(long pRecordType) void
setStateIndicator
(short pStateIndicator) void
setWalkAcceleration
(float pWalkAcceleration) void
setWalkSpeed
(float pWalkSpeed) 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 -
falseTargetCount
protected int falseTargetCount -
walkSpeed
protected float walkSpeed -
walkAcceleration
protected float walkAcceleration -
maximumWalkDistance
protected float maximumWalkDistance -
keepTime
protected float keepTime -
echoSpacing
protected float echoSpacing
-
-
Constructor Details
-
FalseTargetsAttribute
public FalseTargetsAttribute()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() -
setFalseTargetCount
public void setFalseTargetCount(int pFalseTargetCount) -
getFalseTargetCount
public int getFalseTargetCount() -
setWalkSpeed
public void setWalkSpeed(float pWalkSpeed) -
getWalkSpeed
public float getWalkSpeed() -
setWalkAcceleration
public void setWalkAcceleration(float pWalkAcceleration) -
getWalkAcceleration
public float getWalkAcceleration() -
setMaximumWalkDistance
public void setMaximumWalkDistance(float pMaximumWalkDistance) -
getMaximumWalkDistance
public float getMaximumWalkDistance() -
setKeepTime
public void setKeepTime(float pKeepTime) -
getKeepTime
public float getKeepTime() -
setEchoSpacing
public void setEchoSpacing(float pEchoSpacing) -
getEchoSpacing
public float getEchoSpacing() -
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.
-