|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nps.moves.dis7mobile.PduSuperclass
edu.nps.moves.dis7mobile.Pdu
edu.nps.moves.dis7mobile.DistributedEmissionsFamilyPdu
edu.nps.moves.dis7mobile.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.dis7mobile.Pdu |
---|
padding, pduStatus |
Fields inherited from class edu.nps.moves.dis7mobile.PduSuperclass |
---|
exerciseID, length, 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 edu.nps.moves.dis7mobile.Pdu |
---|
getPadding, getPduStatus, marshal, setPadding, setPduStatus |
Methods inherited from class edu.nps.moves.dis7mobile.PduSuperclass |
---|
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp |
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 DistributedEmissionsFamilyPdu
public 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 DistributedEmissionsFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class DistributedEmissionsFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class DistributedEmissionsFamilyPdu
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 DistributedEmissionsFamilyPdu
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 DistributedEmissionsFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
PduSuperclass
this
and the supplied object
equalsImpl
in class DistributedEmissionsFamilyPdu
obj
- the object to compare to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |