public class PointObjectStatePdu extends SyntheticEnvironmentFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected ForceID |
forceID
force ID uid 6
|
protected ObjectStateAppearanceGeneral |
generObjectAppearance
General object apperance uid 229
|
protected ObjectStateModificationPointObject |
modifications
modifications uid 240
|
protected EntityID |
objectID
Object in synthetic environment
|
protected Vector3Double |
objectLocation
Object location
|
protected EulerAngles |
objectOrientation
Object orientation
|
protected ObjectType |
objectType
Object type
|
protected int |
pad2
padding
|
protected short |
padding1 |
protected SimulationAddress |
receivingID
receiver ID
|
protected ObjectIdentifier |
referencedObjectID
Object with which this point object is associated
|
protected SimulationAddress |
requesterID
requesterID
|
protected int |
specificObjectAppearance
Specific object apperance
|
protected int |
updateNumber
unique update number of each state transition of an object
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
PointObjectStatePdu()
Constructor
|
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID objectID
protected ObjectIdentifier referencedObjectID
protected int updateNumber
protected ForceID forceID
protected ObjectStateModificationPointObject modifications
protected ObjectType objectType
protected Vector3Double objectLocation
protected EulerAngles objectOrientation
protected int specificObjectAppearance
protected ObjectStateAppearanceGeneral generObjectAppearance
protected short padding1
protected SimulationAddress requesterID
protected SimulationAddress receivingID
protected int pad2
public int getMarshalledSize()
getMarshalledSize
in class SyntheticEnvironmentFamilyPdu
public PointObjectStatePdu setObjectID(EntityID pObjectID)
objectID
public PointObjectStatePdu setReferencedObjectID(ObjectIdentifier pReferencedObjectID)
referencedObjectID
public ObjectIdentifier getReferencedObjectID()
referencedObjectID
public PointObjectStatePdu setUpdateNumber(int pUpdateNumber)
updateNumber
public int getUpdateNumber()
updateNumber
public PointObjectStatePdu setForceID(ForceID pForceID)
forceID
public PointObjectStatePdu setModifications(ObjectStateModificationPointObject pModifications)
modifications
public ObjectStateModificationPointObject getModifications()
modifications
public PointObjectStatePdu setObjectType(ObjectType pObjectType)
objectType
public ObjectType getObjectType()
objectType
public PointObjectStatePdu setObjectLocation(Vector3Double pObjectLocation)
objectLocation
public Vector3Double getObjectLocation()
objectLocation
public PointObjectStatePdu setObjectOrientation(EulerAngles pObjectOrientation)
objectOrientation
public EulerAngles getObjectOrientation()
objectOrientation
public PointObjectStatePdu setSpecificObjectAppearance(int pSpecificObjectAppearance)
specificObjectAppearance
public int getSpecificObjectAppearance()
specificObjectAppearance
public PointObjectStatePdu setGenerObjectAppearance(ObjectStateAppearanceGeneral pGenerObjectAppearance)
generObjectAppearance
public ObjectStateAppearanceGeneral getGenerObjectAppearance()
generObjectAppearance
public PointObjectStatePdu setPadding1(short pPadding1)
padding1
public short getPadding1()
padding1
public PointObjectStatePdu setRequesterID(SimulationAddress pRequesterID)
requesterID
public SimulationAddress getRequesterID()
requesterID
public PointObjectStatePdu setReceivingID(SimulationAddress pReceivingID)
receivingID
public SimulationAddress getReceivingID()
receivingID
public PointObjectStatePdu setPad2(int pPad2)
pad2
public int getPad2()
pad2
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