public class ArealObjectStatePdu extends SyntheticEnvironmentFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected short |
forceID
force ID
|
protected short |
modifications
modifications enumeration
|
protected int |
numberOfPoints
Number of points
|
protected SixByteChunk |
objectAppearance
Object appearance
|
protected EntityID |
objectID
Object in synthetic environment
|
protected java.util.List<Vector3Double> |
objectLocation
location of object
|
protected EntityType |
objectType
Object type
|
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, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
ArealObjectStatePdu()
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() |
int |
getNumberOfPoints() |
SixByteChunk |
getObjectAppearance() |
EntityID |
getObjectID() |
java.util.List<Vector3Double> |
getObjectLocation() |
EntityType |
getObjectType() |
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 |
setNumberOfPoints(int pNumberOfPoints)
Note that setting this value will not change the marshalled value.
|
void |
setObjectAppearance(SixByteChunk pObjectAppearance) |
void |
setObjectID(EntityID pObjectID) |
void |
setObjectLocation(java.util.List<Vector3Double> pObjectLocation) |
void |
setObjectType(EntityType pObjectType) |
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) |
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, setTimestamp
protected EntityID objectID
protected EntityID referencedObjectID
protected int updateNumber
protected short forceID
protected short modifications
protected EntityType objectType
protected SixByteChunk objectAppearance
protected int numberOfPoints
protected SimulationAddress requesterID
protected SimulationAddress receivingID
protected java.util.List<Vector3Double> objectLocation
public int getMarshalledSize()
getMarshalledSize
in class SyntheticEnvironmentFamilyPdu
public 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(EntityType pObjectType)
public EntityType getObjectType()
public void setObjectAppearance(SixByteChunk pObjectAppearance)
public SixByteChunk getObjectAppearance()
public int getNumberOfPoints()
public void setNumberOfPoints(int pNumberOfPoints)
public void setRequesterID(SimulationAddress pRequesterID)
public SimulationAddress getRequesterID()
public void setReceivingID(SimulationAddress pReceivingID)
public SimulationAddress getReceivingID()
public void setObjectLocation(java.util.List<Vector3Double> pObjectLocation)
public java.util.List<Vector3Double> getObjectLocation()
public void marshal(java.io.DataOutputStream dos)
marshal
in class SyntheticEnvironmentFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class SyntheticEnvironmentFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class SyntheticEnvironmentFamilyPdu
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
unmarshal
in class SyntheticEnvironmentFamilyPdu
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class SyntheticEnvironmentFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class SyntheticEnvironmentFamilyPdu
obj
- the object to compare to