public class TransmitterPdu extends RadioCommunicationsFamilyPdu implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Vector3Double |
antennaLocation
Location of antenna
|
protected int |
antennaPatternCount
atenna pattern length
|
protected java.util.List<BeamAntennaPattern> |
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 EntityID |
entityId
ID of the entity that is the source of the communication, ie contains the radio
|
protected long |
frequency
frequency
|
protected short |
inputSource
input source
|
protected short |
modulationParameterCount
how many modulation parameters we have
|
protected java.util.List<ModulationType> |
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 int |
radioId
particular radio within an entity
|
protected Vector3Float |
relativeAntennaLocation
relative location of antenna, in entity coordinates
|
protected float |
transmitFrequencyBandwidth
transmit frequency Bandwidth
|
protected short |
transmitState
transmit state
|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp| Constructor and Description |
|---|
TransmitterPdu()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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<BeamAntennaPattern> |
getAntennaPatternList() |
int |
getAntennaPatternType() |
int |
getCryptoKeyId() |
int |
getCryptoSystem() |
EntityID |
getEntityId() |
long |
getFrequency() |
short |
getInputSource() |
int |
getMarshalledSize() |
short |
getModulationParameterCount() |
java.util.List<ModulationType> |
getModulationParametersList() |
ModulationType |
getModulationType() |
int |
getPadding1() |
int |
getPadding2() |
short |
getPadding3() |
float |
getPower() |
RadioEntityType |
getRadioEntityType() |
int |
getRadioId() |
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<BeamAntennaPattern> pAntennaPatternList) |
void |
setAntennaPatternType(int pAntennaPatternType) |
void |
setCryptoKeyId(int pCryptoKeyId) |
void |
setCryptoSystem(int pCryptoSystem) |
void |
setEntityId(EntityID pEntityId) |
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<ModulationType> 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 |
setRadioId(int pRadioId) |
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) |
getExerciseID, getLength, getPadding, getPduLength, getPduType, getPduTypeEnum, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, marshalWithDisAbsoluteTimestamp, marshalWithDisAbsoluteTimestamp, marshalWithDisRelativeTimestamp, marshalWithDisRelativeTimestamp, marshalWithNpsTimestamp, marshalWithNpsTimestamp, marshalWithUnixTimestamp, marshalWithUnixTimestamp, readUnsignedInt, readUnsignedInt, setExerciseID, setPadding, setPduLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestampprotected EntityID entityId
protected int radioId
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<ModulationType> modulationParametersList
protected java.util.List<BeamAntennaPattern> antennaPatternList
public int getMarshalledSize()
getMarshalledSize in class RadioCommunicationsFamilyPdupublic void setEntityId(EntityID pEntityId)
public EntityID getEntityId()
public void setRadioId(int pRadioId)
public int getRadioId()
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<ModulationType> pModulationParametersList)
public java.util.List<ModulationType> getModulationParametersList()
public void setAntennaPatternList(java.util.List<BeamAntennaPattern> pAntennaPatternList)
public java.util.List<BeamAntennaPattern> getAntennaPatternList()
public void marshal(java.io.DataOutputStream dos)
marshal in class RadioCommunicationsFamilyPdupublic void unmarshal(java.io.DataInputStream dis)
unmarshal in class RadioCommunicationsFamilyPdupublic void marshal(java.nio.ByteBuffer buff)
marshal in class RadioCommunicationsFamilyPdubuff - The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException - if buff is too smalljava.nio.ReadOnlyBufferException - if buff is read onlyByteBufferpublic void unmarshal(java.nio.ByteBuffer buff)
unmarshal in class RadioCommunicationsFamilyPdubuff - The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException - if buff is too smallByteBufferpublic boolean equals(java.lang.Object obj)
equals in class RadioCommunicationsFamilyPdupublic boolean equalsImpl(java.lang.Object obj)
Pduthis and the supplied objectequalsImpl in class RadioCommunicationsFamilyPduobj - the object to compare to