edu.nps.moves.dis7mobile
Class FalseTargetsAttribute

java.lang.Object
  extended by edu.nps.moves.dis7mobile.FalseTargetsAttribute
All Implemented Interfaces:
java.io.Serializable

public class FalseTargetsAttribute
extends java.lang.Object
implements java.io.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.12.3 Copyright (c) 2008-2010, 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:
Serialized Form

Field Summary
protected  short beamNumber
           
protected  float echoSpacing
           
protected  short emitterNumber
           
protected  float falseTargetCount
           
protected  float keepTime
           
protected  float maximumWalkDistance
           
protected  int padding
           
protected  short padding2
           
protected  long padding3
           
protected  int recordLength
           
protected  long recordType
           
protected  short stateIndicator
           
protected  float walkAcceleration
           
protected  float walkSpeed
           
 
Constructor Summary
FalseTargetsAttribute()
          Constructor
 
Method Summary
 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
 short getBeamNumber()
           
 float getEchoSpacing()
           
 short getEmitterNumber()
           
 float getFalseTargetCount()
           
 float getKeepTime()
           
 int getMarshalledSize()
           
 float getMaximumWalkDistance()
           
 int getPadding()
           
 short getPadding2()
           
 long getPadding3()
           
 int getRecordLength()
           
 long getRecordType()
           
 short getStateIndicator()
           
 float getWalkAcceleration()
           
 float getWalkSpeed()
           
 void marshal(java.nio.ByteBuffer buff)
          Packs a Pdu into the ByteBuffer.
 void marshal(java.io.DataOutputStream dos)
           
 void setBeamNumber(short pBeamNumber)
           
 void setEchoSpacing(float pEchoSpacing)
           
 void setEmitterNumber(short pEmitterNumber)
           
 void setFalseTargetCount(float pFalseTargetCount)
           
 void setKeepTime(float pKeepTime)
           
 void setMaximumWalkDistance(float pMaximumWalkDistance)
           
 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 setWalkAcceleration(float pWalkAcceleration)
           
 void setWalkSpeed(float pWalkSpeed)
           
 void unmarshal(java.nio.ByteBuffer buff)
          Unpacks a Pdu from the underlying data.
 void unmarshal(java.io.DataInputStream dis)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 float falseTargetCount

walkSpeed

protected float walkSpeed

walkAcceleration

protected float walkAcceleration

maximumWalkDistance

protected float maximumWalkDistance

keepTime

protected float keepTime

echoSpacing

protected float echoSpacing

padding3

protected long padding3
Constructor Detail

FalseTargetsAttribute

public FalseTargetsAttribute()
Constructor

Method Detail

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(float pFalseTargetCount)

getFalseTargetCount

public float 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()

setPadding3

public void setPadding3(long pPadding3)

getPadding3

public long getPadding3()

marshal

public void marshal(java.io.DataOutputStream dos)

unmarshal

public void unmarshal(java.io.DataInputStream dis)

marshal

public void marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.

Parameters:
buff - The ByteBuffer at the position to begin writing
Throws:
java.nio.BufferOverflowException - if buff is too small
java.nio.ReadOnlyBufferException - if buff is read only
Since:
??
See Also:
ByteBuffer

unmarshal

public void unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.

Parameters:
buff - The ByteBuffer at the position to begin reading
Throws:
java.nio.BufferUnderflowException - if buff is too small
Since:
??
See Also:
ByteBuffer

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

equalsImpl

public 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

Parameters:
obj - the object to compare to
Returns:
true if the objects are equal, false otherwise.