|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.dismobile.Pdu
edu.nps.moves.dismobile.RadioCommunicationsFamilyPdu
edu.nps.moves.dismobile.TransmitterPdu
public class TransmitterPdu
Section 5.3.8.1. Detailed information about a radio transmitter. This PDU requires manually written code to complete, since the modulation parameters are of variable length. UNFINISHED 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
Field Summary | |
---|---|
protected Vector3Double |
antennaLocation
Location of antenna |
protected int |
antennaPatternCount
atenna pattern length |
protected java.util.List<Vector3Float> |
antennaPatternList
variable length list of antenna pattern records |
protected int |
antennaPatternType
antenna pattern type |
protected int |
cryptoKeyId
crypto system key identifer |
protected int |
cryptoSystem
crypto system enumeration |
protected long |
frequency
frequency |
protected short |
inputSource
input source |
protected short |
modulationParameterCount
how many modulation parameters we have |
protected java.util.List<Vector3Float> |
modulationParametersList
variable length list of modulation parameters |
protected ModulationType |
modulationType
modulation |
protected int |
padding1
padding |
protected int |
padding2
padding2 |
protected short |
padding3
padding3 |
protected float |
power
transmission power |
protected RadioEntityType |
radioEntityType
linear accelleration of entity |
protected Vector3Float |
relativeAntennaLocation
relative location of antenna |
protected float |
transmitFrequencyBandwidth
transmit frequency Bandwidth |
protected short |
transmitState
transmit state |
Fields inherited from class edu.nps.moves.dismobile.RadioCommunicationsFamilyPdu |
---|
entityId, radioId |
Fields inherited from class edu.nps.moves.dismobile.Pdu |
---|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp |
Constructor Summary | |
---|---|
TransmitterPdu()
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 |
Vector3Double |
getAntennaLocation()
|
int |
getAntennaPatternCount()
|
java.util.List<Vector3Float> |
getAntennaPatternList()
|
int |
getAntennaPatternType()
|
int |
getCryptoKeyId()
|
int |
getCryptoSystem()
|
long |
getFrequency()
|
short |
getInputSource()
|
int |
getMarshalledSize()
|
short |
getModulationParameterCount()
|
java.util.List<Vector3Float> |
getModulationParametersList()
|
ModulationType |
getModulationType()
|
int |
getPadding1()
|
int |
getPadding2()
|
short |
getPadding3()
|
float |
getPower()
|
RadioEntityType |
getRadioEntityType()
|
Vector3Float |
getRelativeAntennaLocation()
|
float |
getTransmitFrequencyBandwidth()
|
short |
getTransmitState()
|
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer. |
void |
marshal(java.io.DataOutputStream dos)
|
void |
setAntennaLocation(Vector3Double pAntennaLocation)
|
void |
setAntennaPatternCount(int pAntennaPatternCount)
Note that setting this value will not change the marshalled value. |
void |
setAntennaPatternList(java.util.List<Vector3Float> pAntennaPatternList)
|
void |
setAntennaPatternType(int pAntennaPatternType)
|
void |
setCryptoKeyId(int pCryptoKeyId)
|
void |
setCryptoSystem(int pCryptoSystem)
|
void |
setFrequency(long pFrequency)
|
void |
setInputSource(short pInputSource)
|
void |
setModulationParameterCount(short pModulationParameterCount)
Note that setting this value will not change the marshalled value. |
void |
setModulationParametersList(java.util.List<Vector3Float> pModulationParametersList)
|
void |
setModulationType(ModulationType pModulationType)
|
void |
setPadding1(int pPadding1)
|
void |
setPadding2(int pPadding2)
|
void |
setPadding3(short pPadding3)
|
void |
setPower(float pPower)
|
void |
setRadioEntityType(RadioEntityType pRadioEntityType)
|
void |
setRelativeAntennaLocation(Vector3Float pRelativeAntennaLocation)
|
void |
setTransmitFrequencyBandwidth(float pTransmitFrequencyBandwidth)
|
void |
setTransmitState(short pTransmitState)
|
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data. |
void |
unmarshal(java.io.DataInputStream dis)
|
Methods inherited from class edu.nps.moves.dismobile.RadioCommunicationsFamilyPdu |
---|
getEntityId, getRadioId, setEntityId, setRadioId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RadioEntityType radioEntityType
protected short transmitState
protected short inputSource
protected int padding1
protected Vector3Double antennaLocation
protected Vector3Float relativeAntennaLocation
protected int antennaPatternType
protected int antennaPatternCount
protected long frequency
protected float transmitFrequencyBandwidth
protected float power
protected ModulationType modulationType
protected int cryptoSystem
protected int cryptoKeyId
protected short modulationParameterCount
protected int padding2
protected short padding3
protected java.util.List<Vector3Float> modulationParametersList
protected java.util.List<Vector3Float> antennaPatternList
Constructor Detail |
---|
public TransmitterPdu()
Method Detail |
---|
public int getMarshalledSize()
getMarshalledSize
in class RadioCommunicationsFamilyPdu
public void setRadioEntityType(RadioEntityType pRadioEntityType)
public RadioEntityType getRadioEntityType()
public void setTransmitState(short pTransmitState)
public short getTransmitState()
public void setInputSource(short pInputSource)
public short getInputSource()
public void setPadding1(int pPadding1)
public int getPadding1()
public void setAntennaLocation(Vector3Double pAntennaLocation)
public Vector3Double getAntennaLocation()
public void setRelativeAntennaLocation(Vector3Float pRelativeAntennaLocation)
public Vector3Float getRelativeAntennaLocation()
public void setAntennaPatternType(int pAntennaPatternType)
public int getAntennaPatternType()
public int getAntennaPatternCount()
public void setAntennaPatternCount(int pAntennaPatternCount)
public void setFrequency(long pFrequency)
public long getFrequency()
public void setTransmitFrequencyBandwidth(float pTransmitFrequencyBandwidth)
public float getTransmitFrequencyBandwidth()
public void setPower(float pPower)
public float getPower()
public void setModulationType(ModulationType pModulationType)
public ModulationType getModulationType()
public void setCryptoSystem(int pCryptoSystem)
public int getCryptoSystem()
public void setCryptoKeyId(int pCryptoKeyId)
public int getCryptoKeyId()
public short getModulationParameterCount()
public void setModulationParameterCount(short pModulationParameterCount)
public void setPadding2(int pPadding2)
public int getPadding2()
public void setPadding3(short pPadding3)
public short getPadding3()
public void setModulationParametersList(java.util.List<Vector3Float> pModulationParametersList)
public java.util.List<Vector3Float> getModulationParametersList()
public void setAntennaPatternList(java.util.List<Vector3Float> pAntennaPatternList)
public java.util.List<Vector3Float> getAntennaPatternList()
public void marshal(java.io.DataOutputStream dos)
marshal
in class RadioCommunicationsFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class RadioCommunicationsFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class RadioCommunicationsFamilyPdu
buff
- The ByteBuffer at the position to begin writing
java.nio.BufferOverflowException
- if buff is too small
java.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
unmarshal
in class RadioCommunicationsFamilyPdu
buff
- The ByteBuffer at the position to begin reading
java.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class RadioCommunicationsFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied object
equalsImpl
in class RadioCommunicationsFamilyPdu
obj
- the object to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |