Class EEFundamentalParameterData
java.lang.Object
edu.nps.moves.dis7.pdus.EEFundamentalParameterData
- All Implemented Interfaces:
Serializable
Contains electromagnetic emission regeneration parameters that are variable throught a scenario. Section 6.2.22.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
Effective radiated power for the emission in DdBm.protected float
center frequency of the emission in hertz.protected float
Bandwidth of the frequencies corresponding to the fequency field.protected float
Average repetition frequency of the emission in hertz.protected float
Average pulse width of the emission in microseconds. -
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 objectfloat
Getter foreffectiveRadiatedPower
float
Getter forfrequency
float
Getter forfrequencyRange
int
Returns size of this serialized (marshalled) object in bytesfloat
Getter forpulseRepetitionFrequency
float
Getter forpulseWidth
int
hashCode()
void
marshal
(DataOutputStream dos) Serializes an object to a DataOutputStream.void
marshal
(ByteBuffer byteBuffer) Packs an object into the ByteBuffer.setEffectiveRadiatedPower
(float pEffectiveRadiatedPower) Setter foreffectiveRadiatedPower
setFrequency
(float pFrequency) Setter forfrequency
setFrequencyRange
(float pFrequencyRange) Setter forfrequencyRange
setPulseRepetitionFrequency
(float pPulseRepetitionFrequency) Setter forpulseRepetitionFrequency
setPulseWidth
(float pPulseWidth) Setter forpulseWidth
toString()
int
unmarshal
(DataInputStream dis) Deserializes an object from a DataInputStream.int
unmarshal
(ByteBuffer byteBuffer) Unpacks a Pdu from the underlying data.
-
Field Details
-
frequency
protected float frequencycenter frequency of the emission in hertz. -
frequencyRange
protected float frequencyRangeBandwidth of the frequencies corresponding to the fequency field. -
effectiveRadiatedPower
protected float effectiveRadiatedPowerEffective radiated power for the emission in DdBm. For a radar noise jammer, indicates the peak of the transmitted power. -
pulseRepetitionFrequency
protected float pulseRepetitionFrequencyAverage repetition frequency of the emission in hertz. -
pulseWidth
protected float pulseWidthAverage pulse width of the emission in microseconds.
-
-
Constructor Details
-
EEFundamentalParameterData
public EEFundamentalParameterData()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:
-
setFrequency
Setter forfrequency
- Parameters:
pFrequency
- new value of interest- Returns:
- same object to permit progressive setters
-
getFrequency
-
setFrequencyRange
Setter forfrequencyRange
- Parameters:
pFrequencyRange
- new value of interest- Returns:
- same object to permit progressive setters
-
getFrequencyRange
-
setEffectiveRadiatedPower
Setter foreffectiveRadiatedPower
- Parameters:
pEffectiveRadiatedPower
- new value of interest- Returns:
- same object to permit progressive setters
-
getEffectiveRadiatedPower
public float getEffectiveRadiatedPower()Getter foreffectiveRadiatedPower
- Returns:
- value of interest
-
setPulseRepetitionFrequency
Setter forpulseRepetitionFrequency
- Parameters:
pPulseRepetitionFrequency
- new value of interest- Returns:
- same object to permit progressive setters
-
getPulseRepetitionFrequency
public float getPulseRepetitionFrequency()Getter forpulseRepetitionFrequency
- Returns:
- value of interest
-
setPulseWidth
Setter forpulseWidth
- Parameters:
pPulseWidth
- new value of interest- Returns:
- same object to permit progressive setters
-
getPulseWidth
-
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
-