@Entity public class EntityStateUpdatePdu extends EntityInformationFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ArticulationParameter> |
articulationParameters |
protected int |
entityAppearance
a series of bit flags that are used to help draw the entity, such as smoking, on fire, etc.
|
protected EntityID |
entityID
This field shall identify the entity issuing the PDU
|
protected Vector3Float |
entityLinearVelocity
Describes the speed of the entity in the world
|
protected Vector3Double |
entityLocation
describes the location of the entity in the world
|
protected Orientation |
entityOrientation
describes the orientation of the entity, in euler angles
|
long |
fk_entityID |
long |
fk_entityLinearVelocity |
long |
fk_entityLocation |
long |
fk_entityOrientation |
protected short |
numberOfArticulationParameters
How many articulation parameters are in the variable length list
|
protected byte |
padding1
Padding
|
exerciseID, padding, pduLength, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
EntityStateUpdatePdu()
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 |
java.util.List<ArticulationParameter> |
getArticulationParameters() |
int |
getEntityAppearance() |
EntityID |
getEntityID() |
Vector3Float |
getEntityLinearVelocity() |
Vector3Double |
getEntityLocation() |
Orientation |
getEntityOrientation() |
int |
getMarshalledSize() |
short |
getNumberOfArticulationParameters() |
byte |
getPadding1() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setArticulationParameters(java.util.List<ArticulationParameter> pArticulationParameters) |
void |
setEntityAppearance(int pEntityAppearance) |
void |
setEntityID(EntityID pEntityID) |
void |
setEntityLinearVelocity(Vector3Float pEntityLinearVelocity) |
void |
setEntityLocation(Vector3Double pEntityLocation) |
void |
setEntityOrientation(Orientation pEntityOrientation) |
void |
setNumberOfArticulationParameters(short pNumberOfArticulationParameters)
Note that setting this value will not change the marshalled value.
|
void |
setPadding1(byte pPadding1) |
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, getPk_Pdu, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, marshalWithDisAbsoluteTimestamp, marshalWithDisAbsoluteTimestamp, marshalWithDisRelativeTimestamp, marshalWithDisRelativeTimestamp, marshalWithNpsTimestamp, marshalWithNpsTimestamp, marshalWithUnixTimestamp, marshalWithUnixTimestamp, readUnsignedInt, readUnsignedInt, setExerciseID, setPadding, setPduLength, setPduType, setPk_Pdu, setProtocolFamily, setProtocolVersion, setTimestamp
protected EntityID entityID
protected byte padding1
protected short numberOfArticulationParameters
protected Vector3Float entityLinearVelocity
protected Vector3Double entityLocation
protected Orientation entityOrientation
protected int entityAppearance
protected java.util.List<ArticulationParameter> articulationParameters
public long fk_entityID
public long fk_entityLinearVelocity
public long fk_entityLocation
public long fk_entityOrientation
public int getMarshalledSize()
getMarshalledSize
in class EntityInformationFamilyPdu
public void setEntityID(EntityID pEntityID)
public EntityID getEntityID()
public void setPadding1(byte pPadding1)
public byte getPadding1()
public short getNumberOfArticulationParameters()
public void setNumberOfArticulationParameters(short pNumberOfArticulationParameters)
public void setEntityLinearVelocity(Vector3Float pEntityLinearVelocity)
public Vector3Float getEntityLinearVelocity()
public void setEntityLocation(Vector3Double pEntityLocation)
public Vector3Double getEntityLocation()
public void setEntityOrientation(Orientation pEntityOrientation)
public Orientation getEntityOrientation()
public void setEntityAppearance(int pEntityAppearance)
public int getEntityAppearance()
public void setArticulationParameters(java.util.List<ArticulationParameter> pArticulationParameters)
public java.util.List<ArticulationParameter> getArticulationParameters()
public void marshal(java.io.DataOutputStream dos)
marshal
in class EntityInformationFamilyPdu
public void unmarshal(java.io.DataInputStream dis)
unmarshal
in class EntityInformationFamilyPdu
public void marshal(java.nio.ByteBuffer buff)
marshal
in class EntityInformationFamilyPdu
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 EntityInformationFamilyPdu
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 EntityInformationFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class EntityInformationFamilyPdu
obj
- the object to compare to