public class PointObjectStatePdu extends SyntheticEnvironmentFamilyPdu implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected short |
forceID
force ID
|
protected short |
modifications
modifications
|
protected double |
objectAppearance
Object apperance
|
protected EntityID |
objectID
Object in synthetic environment
|
protected Vector3Double |
objectLocation
Object location
|
protected EulerAngles |
objectOrientation
Object orientation
|
protected ObjectType |
objectType
Object type
|
protected long |
pad2
padding
|
protected SimulationAddress |
receivingID
receiver ID
|
protected EntityID |
referencedObjectID
Object with which this point object is associated
|
protected SimulationAddress |
requesterID
requesterID
|
protected int |
updateNumber
unique update number of each state transition of an object
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp| Constructor and Description |
|---|
PointObjectStatePdu()
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 |
short |
getForceID() |
int |
getMarshalledSize() |
short |
getModifications() |
double |
getObjectAppearance() |
EntityID |
getObjectID() |
Vector3Double |
getObjectLocation() |
EulerAngles |
getObjectOrientation() |
ObjectType |
getObjectType() |
long |
getPad2() |
SimulationAddress |
getReceivingID() |
EntityID |
getReferencedObjectID() |
SimulationAddress |
getRequesterID() |
int |
getUpdateNumber() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setForceID(short pForceID) |
void |
setModifications(short pModifications) |
void |
setObjectAppearance(double pObjectAppearance) |
void |
setObjectID(EntityID pObjectID) |
void |
setObjectLocation(Vector3Double pObjectLocation) |
void |
setObjectOrientation(EulerAngles pObjectOrientation) |
void |
setObjectType(ObjectType pObjectType) |
void |
setPad2(long pPad2) |
void |
setReceivingID(SimulationAddress pReceivingID) |
void |
setReferencedObjectID(EntityID pReferencedObjectID) |
void |
setRequesterID(SimulationAddress pRequesterID) |
void |
setUpdateNumber(int pUpdateNumber) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
getPadding, getPduStatus, marshal, setPadding, setPduStatusgetExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestampprotected EntityID objectID
protected EntityID referencedObjectID
protected int updateNumber
protected short forceID
protected short modifications
protected ObjectType objectType
protected Vector3Double objectLocation
protected EulerAngles objectOrientation
protected double objectAppearance
protected SimulationAddress requesterID
protected SimulationAddress receivingID
protected long pad2
public int getMarshalledSize()
getMarshalledSize in class SyntheticEnvironmentFamilyPdupublic void setObjectID(EntityID pObjectID)
public EntityID getObjectID()
public void setReferencedObjectID(EntityID pReferencedObjectID)
public EntityID getReferencedObjectID()
public void setUpdateNumber(int pUpdateNumber)
public int getUpdateNumber()
public void setForceID(short pForceID)
public short getForceID()
public void setModifications(short pModifications)
public short getModifications()
public void setObjectType(ObjectType pObjectType)
public ObjectType getObjectType()
public void setObjectLocation(Vector3Double pObjectLocation)
public Vector3Double getObjectLocation()
public void setObjectOrientation(EulerAngles pObjectOrientation)
public EulerAngles getObjectOrientation()
public void setObjectAppearance(double pObjectAppearance)
public double getObjectAppearance()
public void setRequesterID(SimulationAddress pRequesterID)
public SimulationAddress getRequesterID()
public void setReceivingID(SimulationAddress pReceivingID)
public SimulationAddress getReceivingID()
public void setPad2(long pPad2)
public long getPad2()
public void marshal(java.io.DataOutputStream dos)
marshal in class SyntheticEnvironmentFamilyPdupublic void unmarshal(java.io.DataInputStream dis)
unmarshal in class SyntheticEnvironmentFamilyPdupublic void marshal(java.nio.ByteBuffer buff)
marshal in class SyntheticEnvironmentFamilyPdubuff - 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 SyntheticEnvironmentFamilyPdubuff - The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException - if buff is too smallByteBufferpublic boolean equals(java.lang.Object obj)
equals in class SyntheticEnvironmentFamilyPdupublic boolean equalsImpl(java.lang.Object obj)
PduSuperclassthis and the supplied objectequalsImpl in class SyntheticEnvironmentFamilyPduobj - the object to compare to