edu.nps.moves.dismobile
Class ElectronicEmissionBeamData

java.lang.Object
  extended by edu.nps.moves.dismobile.ElectronicEmissionBeamData
All Implemented Interfaces:
java.io.Serializable

public class ElectronicEmissionBeamData
extends java.lang.Object
implements java.io.Serializable

Description of one electronic emission beam 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 beamDataLength
          This field shall specify the length of this beams data in 32 bit words
protected  short beamFunction
          beam function of a particular beam
protected  short beamIDNumber
          This field shall specify a unique emitter database number assigned to differentiate between otherwise similar or identical emitter beams within an emitter system.
protected  int beamParameterIndex
          This field shall specify a Beam Parameter Index number that shall be used by receiving entities in conjunction with the Emitter Name field to provide a pointer to the stored database parameters required to regenerate the beam.
protected  FundamentalParameterData fundamentalParameterData
          Fundamental parameter data such as frequency range, beam sweep, etc.
protected  short highDensityTrackJam
          wheher or not the receiving simulation apps can assume all the targets in the scan pattern are being tracked/jammed
protected  long jammingModeSequence
          identify jamming techniques used
protected  short numberOfTrackJamTargets
          Number of track/jam targets
protected  short pad4
          padding
protected  java.util.List<TrackJamTarget> trackJamTargets
          variable length list of track/jam targets
 
Constructor Summary
ElectronicEmissionBeamData()
          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 getBeamDataLength()
           
 short getBeamFunction()
           
 short getBeamIDNumber()
           
 int getBeamParameterIndex()
           
 FundamentalParameterData getFundamentalParameterData()
           
 short getHighDensityTrackJam()
           
 long getJammingModeSequence()
           
 int getMarshalledSize()
           
 short getNumberOfTrackJamTargets()
           
 short getPad4()
           
 java.util.List<TrackJamTarget> getTrackJamTargets()
           
 void marshal(java.nio.ByteBuffer buff)
          Packs a Pdu into the ByteBuffer.
 void marshal(java.io.DataOutputStream dos)
           
 void setBeamDataLength(short pBeamDataLength)
           
 void setBeamFunction(short pBeamFunction)
           
 void setBeamIDNumber(short pBeamIDNumber)
           
 void setBeamParameterIndex(int pBeamParameterIndex)
           
 void setFundamentalParameterData(FundamentalParameterData pFundamentalParameterData)
           
 void setHighDensityTrackJam(short pHighDensityTrackJam)
           
 void setJammingModeSequence(long pJammingModeSequence)
           
 void setNumberOfTrackJamTargets(short pNumberOfTrackJamTargets)
          Note that setting this value will not change the marshalled value.
 void setPad4(short pPad4)
           
 void setTrackJamTargets(java.util.List<TrackJamTarget> pTrackJamTargets)
           
 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

beamDataLength

protected short beamDataLength
This field shall specify the length of this beams data in 32 bit words


beamIDNumber

protected short beamIDNumber
This field shall specify a unique emitter database number assigned to differentiate between otherwise similar or identical emitter beams within an emitter system.


beamParameterIndex

protected int beamParameterIndex
This field shall specify a Beam Parameter Index number that shall be used by receiving entities in conjunction with the Emitter Name field to provide a pointer to the stored database parameters required to regenerate the beam.


fundamentalParameterData

protected FundamentalParameterData fundamentalParameterData
Fundamental parameter data such as frequency range, beam sweep, etc.


beamFunction

protected short beamFunction
beam function of a particular beam


numberOfTrackJamTargets

protected short numberOfTrackJamTargets
Number of track/jam targets


highDensityTrackJam

protected short highDensityTrackJam
wheher or not the receiving simulation apps can assume all the targets in the scan pattern are being tracked/jammed


pad4

protected short pad4
padding


jammingModeSequence

protected long jammingModeSequence
identify jamming techniques used


trackJamTargets

protected java.util.List<TrackJamTarget> trackJamTargets
variable length list of track/jam targets

Constructor Detail

ElectronicEmissionBeamData

public ElectronicEmissionBeamData()
Constructor

Method Detail

getMarshalledSize

public int getMarshalledSize()

setBeamDataLength

public void setBeamDataLength(short pBeamDataLength)

getBeamDataLength

public short getBeamDataLength()

setBeamIDNumber

public void setBeamIDNumber(short pBeamIDNumber)

getBeamIDNumber

public short getBeamIDNumber()

setBeamParameterIndex

public void setBeamParameterIndex(int pBeamParameterIndex)

getBeamParameterIndex

public int getBeamParameterIndex()

setFundamentalParameterData

public void setFundamentalParameterData(FundamentalParameterData pFundamentalParameterData)

getFundamentalParameterData

public FundamentalParameterData getFundamentalParameterData()

setBeamFunction

public void setBeamFunction(short pBeamFunction)

getBeamFunction

public short getBeamFunction()

getNumberOfTrackJamTargets

public short getNumberOfTrackJamTargets()

setNumberOfTrackJamTargets

public void setNumberOfTrackJamTargets(short pNumberOfTrackJamTargets)
Note that setting this value will not change the marshalled value. The list whose length this describes is used for that purpose. The getnumberOfTrackJamTargets method will also be based on the actual list length rather than this value. The method is simply here for java bean completeness.


setHighDensityTrackJam

public void setHighDensityTrackJam(short pHighDensityTrackJam)

getHighDensityTrackJam

public short getHighDensityTrackJam()

setPad4

public void setPad4(short pPad4)

getPad4

public short getPad4()

setJammingModeSequence

public void setJammingModeSequence(long pJammingModeSequence)

getJammingModeSequence

public long getJammingModeSequence()

setTrackJamTargets

public void setTrackJamTargets(java.util.List<TrackJamTarget> pTrackJamTargets)

getTrackJamTargets

public java.util.List<TrackJamTarget> getTrackJamTargets()

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.