|
|||||||||
| 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.DistributedEmissionsFamilyPdu
edu.nps.moves.dismobile.DesignatorPdu
public class DesignatorPdu
Section 5.3.7.2. Handles designating operations. COMPLETE 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 int |
codeName
This field shall specify a unique emitter database number assigned to differentiate between otherwise similar or identical emitter beams within an emitter system. |
protected byte |
deadReckoningAlgorithm
Dead reckoning algorithm |
protected EntityID |
designatedEntityID
ID of the entity being designated |
protected EntityID |
designatingEntityID
ID of the entity designating |
protected int |
designatorCode
This field shall identify the designator code being used by the designating entity |
protected float |
designatorPower
This field shall identify the designator output power in watts |
protected Vector3Double |
designatorSpotLocation
designtor spot wrt the designated entity |
protected Vector3Float |
designatorSpotWrtDesignated
designtor spot wrt the designated entity |
protected float |
designatorWavelength
This field shall identify the designator wavelength in units of microns |
protected Vector3Float |
entityLinearAcceleration
linear accelleration of entity |
protected int |
padding1
padding |
protected byte |
padding2
padding |
| Fields inherited from class edu.nps.moves.dismobile.Pdu |
|---|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp |
| Constructor Summary | |
|---|---|
DesignatorPdu()
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 |
int |
getCodeName()
|
byte |
getDeadReckoningAlgorithm()
|
EntityID |
getDesignatedEntityID()
|
EntityID |
getDesignatingEntityID()
|
int |
getDesignatorCode()
|
float |
getDesignatorPower()
|
Vector3Double |
getDesignatorSpotLocation()
|
Vector3Float |
getDesignatorSpotWrtDesignated()
|
float |
getDesignatorWavelength()
|
Vector3Float |
getEntityLinearAcceleration()
|
int |
getMarshalledSize()
|
int |
getPadding1()
|
byte |
getPadding2()
|
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer. |
void |
marshal(java.io.DataOutputStream dos)
|
void |
setCodeName(int pCodeName)
|
void |
setDeadReckoningAlgorithm(byte pDeadReckoningAlgorithm)
|
void |
setDesignatedEntityID(EntityID pDesignatedEntityID)
|
void |
setDesignatingEntityID(EntityID pDesignatingEntityID)
|
void |
setDesignatorCode(int pDesignatorCode)
|
void |
setDesignatorPower(float pDesignatorPower)
|
void |
setDesignatorSpotLocation(Vector3Double pDesignatorSpotLocation)
|
void |
setDesignatorSpotWrtDesignated(Vector3Float pDesignatorSpotWrtDesignated)
|
void |
setDesignatorWavelength(float pDesignatorWavelength)
|
void |
setEntityLinearAcceleration(Vector3Float pEntityLinearAcceleration)
|
void |
setPadding1(int pPadding1)
|
void |
setPadding2(byte pPadding2)
|
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 |
|---|
protected EntityID designatingEntityID
protected int codeName
protected EntityID designatedEntityID
protected int designatorCode
protected float designatorPower
protected float designatorWavelength
protected Vector3Float designatorSpotWrtDesignated
protected Vector3Double designatorSpotLocation
protected byte deadReckoningAlgorithm
protected int padding1
protected byte padding2
protected Vector3Float entityLinearAcceleration
| Constructor Detail |
|---|
public DesignatorPdu()
| Method Detail |
|---|
public int getMarshalledSize()
getMarshalledSize in class DistributedEmissionsFamilyPdupublic void setDesignatingEntityID(EntityID pDesignatingEntityID)
public EntityID getDesignatingEntityID()
public void setCodeName(int pCodeName)
public int getCodeName()
public void setDesignatedEntityID(EntityID pDesignatedEntityID)
public EntityID getDesignatedEntityID()
public void setDesignatorCode(int pDesignatorCode)
public int getDesignatorCode()
public void setDesignatorPower(float pDesignatorPower)
public float getDesignatorPower()
public void setDesignatorWavelength(float pDesignatorWavelength)
public float getDesignatorWavelength()
public void setDesignatorSpotWrtDesignated(Vector3Float pDesignatorSpotWrtDesignated)
public Vector3Float getDesignatorSpotWrtDesignated()
public void setDesignatorSpotLocation(Vector3Double pDesignatorSpotLocation)
public Vector3Double getDesignatorSpotLocation()
public void setDeadReckoningAlgorithm(byte pDeadReckoningAlgorithm)
public byte getDeadReckoningAlgorithm()
public void setPadding1(int pPadding1)
public int getPadding1()
public void setPadding2(byte pPadding2)
public byte getPadding2()
public void setEntityLinearAcceleration(Vector3Float pEntityLinearAcceleration)
public Vector3Float getEntityLinearAcceleration()
public void marshal(java.io.DataOutputStream dos)
marshal in class DistributedEmissionsFamilyPdupublic void unmarshal(java.io.DataInputStream dis)
unmarshal in class DistributedEmissionsFamilyPdupublic void marshal(java.nio.ByteBuffer buff)
marshal in class DistributedEmissionsFamilyPdubuff - The ByteBuffer at the position to begin writing
java.nio.BufferOverflowException - if buff is too small
java.nio.ReadOnlyBufferException - if buff is read onlyByteBufferpublic void unmarshal(java.nio.ByteBuffer buff)
unmarshal in class DistributedEmissionsFamilyPdubuff - The ByteBuffer at the position to begin reading
java.nio.BufferUnderflowException - if buff is too smallByteBufferpublic boolean equals(java.lang.Object obj)
equals in class DistributedEmissionsFamilyPdupublic boolean equalsImpl(java.lang.Object obj)
Pduthis and the supplied object
equalsImpl in class DistributedEmissionsFamilyPduobj - the object to compare to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||