public class ArealObjectStatePdu extends SyntheticEnvironmentFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected ForceID |
forceID
force ID uid 6
|
protected short |
generalObjectAppearance
Object appearance
|
protected ObjectStateModificationArealObject |
modifications
modifications enumeration uid 242
|
protected short |
numberOfPoints
Number of points
|
protected ObjectIdentifier |
objectID
Object in synthetic environment
|
protected java.util.List<Vector3Double> |
objectLocation
location of object
|
protected ObjectType |
objectType
Object type
|
protected SimulationAddress |
receivingID
receiver ID
|
protected ObjectIdentifier |
referencedObjectID
Object with which this point object is associated
|
protected SimulationAddress |
requesterID
requesterID
|
protected int |
specificObjectAppearance
Object appearance
|
protected short |
updateNumber
unique update number of each state transition of an object
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
ArealObjectStatePdu()
Constructor
|
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected ObjectIdentifier objectID
protected ObjectIdentifier referencedObjectID
protected short updateNumber
protected ForceID forceID
protected ObjectStateModificationArealObject modifications
protected ObjectType objectType
protected int specificObjectAppearance
protected short generalObjectAppearance
protected short numberOfPoints
protected SimulationAddress requesterID
protected SimulationAddress receivingID
protected java.util.List<Vector3Double> objectLocation
public int getMarshalledSize()
getMarshalledSize
in class SyntheticEnvironmentFamilyPdu
public ArealObjectStatePdu setObjectID(ObjectIdentifier pObjectID)
objectID
public ObjectIdentifier getObjectID()
objectID
public ArealObjectStatePdu setReferencedObjectID(ObjectIdentifier pReferencedObjectID)
referencedObjectID
public ObjectIdentifier getReferencedObjectID()
referencedObjectID
public ArealObjectStatePdu setUpdateNumber(short pUpdateNumber)
updateNumber
public short getUpdateNumber()
updateNumber
public ArealObjectStatePdu setForceID(ForceID pForceID)
forceID
public ArealObjectStatePdu setModifications(ObjectStateModificationArealObject pModifications)
modifications
public ObjectStateModificationArealObject getModifications()
modifications
public ArealObjectStatePdu setObjectType(ObjectType pObjectType)
objectType
public ObjectType getObjectType()
objectType
public ArealObjectStatePdu setSpecificObjectAppearance(int pSpecificObjectAppearance)
specificObjectAppearance
public int getSpecificObjectAppearance()
specificObjectAppearance
public ArealObjectStatePdu setGeneralObjectAppearance(short pGeneralObjectAppearance)
generalObjectAppearance
public short getGeneralObjectAppearance()
generalObjectAppearance
public ArealObjectStatePdu setRequesterID(SimulationAddress pRequesterID)
requesterID
public SimulationAddress getRequesterID()
requesterID
public ArealObjectStatePdu setReceivingID(SimulationAddress pReceivingID)
receivingID
public SimulationAddress getReceivingID()
receivingID
public ArealObjectStatePdu setObjectLocation(java.util.List<Vector3Double> pObjectLocation)
objectLocation
public java.util.List<Vector3Double> getObjectLocation()
objectLocation
public void marshal(java.io.DataOutputStream dos)
marshal
in class SyntheticEnvironmentFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class SyntheticEnvironmentFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
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 onlyjava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
public int unmarshal(java.nio.ByteBuffer buff) throws java.lang.Exception
unmarshal
in class SyntheticEnvironmentFamilyPdu
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smalljava.lang.Exception
- ByteBuffer-generated exceptionByteBuffer
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