Class FalseTargetsAttribute
java.lang.Object
edu.nps.moves.dis7.pdus.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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte
This field indicates the jamming beam generating the false targets.protected float
This field shall specify the distance between false targets in meters.protected byte
This field indicates the emitter system generating the false targets.protected short
This field indicates the jamming beam generating the false targets.protected float
Sets the position of the first false target relative to the jamming entity in meters.protected float
This field shall specify the time (in seconds) that a false target is to be held at the Maxi- mum Walk Distance before it resets to its initial position.protected float
This field shall specify the distance (in meters) that a false target is to walk before it pauses in range.protected short
zero-filled array of padding bits for byte alignment and consistent sizing of PDU dataprotected byte
paddingprotected short
padding3 is an undescribed parameter...protected short
The length of the record in octets.protected int
record typeprotected EEAttributeStateIndicator
This field shall be used to indicate if false target data have changed since issuance of the last False Targets attribute record for this beam, if the False Targets attribute record is part of a heartbeat update to meet periodic update requirements or if false target data for the beam has ceased. uid 300protected float
This field shall specify the rate (in meters per second squared) at which false tar- gets accelerate toward the victim radar.protected float
This field shall specify the speed (in meters per second) at which false targets move toward the victim radar. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor creates and configures a new instance object -
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 objectbyte
Getter forbeamNumber
float
Getter forechoSpacing
byte
Getter foremitterNumber
short
Getter forfalseTargetCount
float
Getter forfirstTargetOffset
float
Getter forkeepTime
int
Returns size of this serialized (marshalled) object in bytesfloat
Getter formaximumWalkDistance
short
Getter forpadding
byte
Getter forpadding2
short
Getter forpadding3
short
Getter forrecordLength
int
Getter forrecordType
Getter forstateIndicator
float
Getter forwalkAcceleration
float
Getter forwalkSpeed
int
hashCode()
void
marshal
(DataOutputStream dos) Serializes an object to a DataOutputStream.void
marshal
(ByteBuffer byteBuffer) Packs an object into the ByteBuffer.setBeamNumber
(byte pBeamNumber) Setter forbeamNumber
setBeamNumber
(int pBeamNumber) Utility setter forbeamNumber
setEchoSpacing
(float pEchoSpacing) Setter forechoSpacing
setEmitterNumber
(byte pEmitterNumber) Setter foremitterNumber
setEmitterNumber
(int pEmitterNumber) Utility setter foremitterNumber
setFalseTargetCount
(int pFalseTargetCount) Utility setter forfalseTargetCount
setFalseTargetCount
(short pFalseTargetCount) Setter forfalseTargetCount
setFirstTargetOffset
(float pFirstTargetOffset) Setter forfirstTargetOffset
setKeepTime
(float pKeepTime) Setter forkeepTime
setMaximumWalkDistance
(float pMaximumWalkDistance) Setter formaximumWalkDistance
setPadding
(int pPadding) Utility setter forpadding
setPadding
(short pPadding) Setter forpadding
setPadding2
(byte pPadding2) Setter forpadding2
setPadding2
(int pPadding2) Utility setter forpadding2
setPadding3
(int pPadding3) Utility setter forpadding3
setPadding3
(short pPadding3) Setter forpadding3
setRecordLength
(int pRecordLength) Utility setter forrecordLength
setRecordLength
(short pRecordLength) Setter forrecordLength
setRecordType
(int pRecordType) Setter forrecordType
setStateIndicator
(EEAttributeStateIndicator pStateIndicator) Setter forstateIndicator
setWalkAcceleration
(float pWalkAcceleration) Setter forwalkAcceleration
setWalkSpeed
(float pWalkSpeed) Setter forwalkSpeed
toString()
int
unmarshal
(DataInputStream dis) Deserializes an object from a DataInputStream.int
unmarshal
(ByteBuffer byteBuffer) Unpacks a Pdu from the underlying data.
-
Field Details
-
recordType
protected int recordTyperecord type -
recordLength
protected short recordLengthThe length of the record in octets. -
padding
protected short paddingzero-filled array of padding bits for byte alignment and consistent sizing of PDU data -
emitterNumber
protected byte emitterNumberThis field indicates the emitter system generating the false targets. -
beamNumber
protected byte beamNumberThis field indicates the jamming beam generating the false targets. -
stateIndicator
This field shall be used to indicate if false target data have changed since issuance of the last False Targets attribute record for this beam, if the False Targets attribute record is part of a heartbeat update to meet periodic update requirements or if false target data for the beam has ceased. uid 300 -
padding2
protected byte padding2padding -
padding3
protected short padding3padding3 is an undescribed parameter... -
falseTargetCount
protected short falseTargetCountThis field indicates the jamming beam generating the false targets. -
walkSpeed
protected float walkSpeedThis field shall specify the speed (in meters per second) at which false targets move toward the victim radar. Negative values shall indicate a velocity away from the victim radar. -
walkAcceleration
protected float walkAccelerationThis field shall specify the rate (in meters per second squared) at which false tar- gets accelerate toward the victim radar. Negative values shall indicate an acceleration direction away from the victim radar. -
maximumWalkDistance
protected float maximumWalkDistanceThis field shall specify the distance (in meters) that a false target is to walk before it pauses in range. -
keepTime
protected float keepTimeThis field shall specify the time (in seconds) that a false target is to be held at the Maxi- mum Walk Distance before it resets to its initial position. -
echoSpacing
protected float echoSpacingThis field shall specify the distance between false targets in meters. Positive values for this field shall indicate that second and subsequent false targets are initially placed at increasing ranges from the victim radar. -
firstTargetOffset
protected float firstTargetOffsetSets the position of the first false target relative to the jamming entity in meters.
-
-
Constructor Details
-
FalseTargetsAttribute
public FalseTargetsAttribute()Constructor creates and configures a new instance object
-
-
Method Details
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Returns:
- serialized size in bytes
- See Also:
-
setRecordType
Setter forrecordType
- Parameters:
pRecordType
- new value of interest- Returns:
- same object to permit progressive setters
-
getRecordType
-
setRecordLength
Setter forrecordLength
- Parameters:
pRecordLength
- new value of interest- Returns:
- same object to permit progressive setters
-
setRecordLength
Utility setter forrecordLength
- Parameters:
pRecordLength
- new value of interest- Returns:
- same object to permit progressive setters
-
getRecordLength
-
setPadding
Setter forpadding
- Parameters:
pPadding
- new value of interest- Returns:
- same object to permit progressive setters
-
setPadding
Utility setter forpadding
- Parameters:
pPadding
- new value of interest- Returns:
- same object to permit progressive setters
-
getPadding
-
setEmitterNumber
Setter foremitterNumber
- Parameters:
pEmitterNumber
- new value of interest- Returns:
- same object to permit progressive setters
-
setEmitterNumber
Utility setter foremitterNumber
- Parameters:
pEmitterNumber
- new value of interest- Returns:
- same object to permit progressive setters
-
getEmitterNumber
-
setBeamNumber
Setter forbeamNumber
- Parameters:
pBeamNumber
- new value of interest- Returns:
- same object to permit progressive setters
-
setBeamNumber
Utility setter forbeamNumber
- Parameters:
pBeamNumber
- new value of interest- Returns:
- same object to permit progressive setters
-
getBeamNumber
-
setStateIndicator
Setter forstateIndicator
- Parameters:
pStateIndicator
- new value of interest- Returns:
- same object to permit progressive setters
-
getStateIndicator
Getter forstateIndicator
- Returns:
- value of interest
-
setPadding2
Setter forpadding2
- Parameters:
pPadding2
- new value of interest- Returns:
- same object to permit progressive setters
-
setPadding2
Utility setter forpadding2
- Parameters:
pPadding2
- new value of interest- Returns:
- same object to permit progressive setters
-
getPadding2
-
setPadding3
Setter forpadding3
- Parameters:
pPadding3
- new value of interest- Returns:
- same object to permit progressive setters
-
setPadding3
Utility setter forpadding3
- Parameters:
pPadding3
- new value of interest- Returns:
- same object to permit progressive setters
-
getPadding3
-
setFalseTargetCount
Setter forfalseTargetCount
- Parameters:
pFalseTargetCount
- new value of interest- Returns:
- same object to permit progressive setters
-
setFalseTargetCount
Utility setter forfalseTargetCount
- Parameters:
pFalseTargetCount
- new value of interest- Returns:
- same object to permit progressive setters
-
getFalseTargetCount
-
setWalkSpeed
Setter forwalkSpeed
- Parameters:
pWalkSpeed
- new value of interest- Returns:
- same object to permit progressive setters
-
getWalkSpeed
-
setWalkAcceleration
Setter forwalkAcceleration
- Parameters:
pWalkAcceleration
- new value of interest- Returns:
- same object to permit progressive setters
-
getWalkAcceleration
-
setMaximumWalkDistance
Setter formaximumWalkDistance
- Parameters:
pMaximumWalkDistance
- new value of interest- Returns:
- same object to permit progressive setters
-
getMaximumWalkDistance
-
setKeepTime
Setter forkeepTime
- Parameters:
pKeepTime
- new value of interest- Returns:
- same object to permit progressive setters
-
getKeepTime
-
setEchoSpacing
Setter forechoSpacing
- Parameters:
pEchoSpacing
- new value of interest- Returns:
- same object to permit progressive setters
-
getEchoSpacing
-
setFirstTargetOffset
Setter forfirstTargetOffset
- Parameters:
pFirstTargetOffset
- new value of interest- Returns:
- same object to permit progressive setters
-
getFirstTargetOffset
-
marshal
Serializes an object to a DataOutputStream.- Parameters:
dos
- the OutputStream- Throws:
Exception
- if something goes wrong- See Also:
-
unmarshal
Deserializes an object from a DataInputStream.- Parameters:
dis
- the InputStream- Returns:
- marshalled serialized size in bytes
- Throws:
Exception
- if something goes wrong- See Also:
-
marshal
Packs an object into the ByteBuffer.- Parameters:
byteBuffer
- The ByteBuffer at the position to begin writing- Throws:
BufferOverflowException
- if byteBuffer is too smallReadOnlyBufferException
- if byteBuffer is read onlyException
- ByteBuffer-generated exception- See Also:
-
unmarshal
Unpacks a Pdu from the underlying data.- Parameters:
byteBuffer
- The ByteBuffer at the position to begin reading- Returns:
- marshalled serialized size in bytes
- Throws:
BufferUnderflowException
- if byteBuffer is too smallException
- ByteBuffer-generated exception- 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.
-
toString
-
hashCode
-