public class ArticulatedPartVP
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected byte |
changeIndicator
indicate the change of any parameter for any articulated part.
|
protected int |
padding |
protected int |
parameterType
the type of parameter represented, 32 bit enumeration
|
protected float |
parameterValue
The definition of the 64 bits shall be determined based on the type of parameter specified in the Parameter Type field
|
protected short |
partAttachedTo
the identification of the articulated part to which this articulation parameter is attached.
|
protected VariableParameterRecordType |
recordType
the identification of the Variable Parameter record.
|
Constructor and Description |
---|
ArticulatedPartVP()
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 |
byte |
getChangeIndicator()
Getter for
changeIndicator |
int |
getMarshalledSize()
Returns the size of this serialized object in bytes
|
int |
getPadding()
Getter for
padding |
int |
getParameterType()
Getter for
parameterType |
float |
getParameterValue()
Getter for
parameterValue |
short |
getPartAttachedTo()
Getter for
partAttachedTo |
VariableParameterRecordType |
getRecordType()
Getter for
recordType |
void |
marshal(java.nio.ByteBuffer buff)
Packs an object into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos)
Serializes an object to a DataOutputStream.
|
ArticulatedPartVP |
setChangeIndicator(byte pChangeIndicator)
Setter for
changeIndicator |
ArticulatedPartVP |
setPadding(int pPadding)
Setter for
padding |
ArticulatedPartVP |
setParameterType(int pParameterType)
Setter for
parameterType |
ArticulatedPartVP |
setParameterValue(float pParameterValue)
Setter for
parameterValue |
ArticulatedPartVP |
setPartAttachedTo(short pPartAttachedTo)
Setter for
partAttachedTo |
ArticulatedPartVP |
setRecordType(VariableParameterRecordType pRecordType)
Setter for
recordType |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis)
Unserializes an object from a DataInputStream.
|
protected VariableParameterRecordType recordType
protected byte changeIndicator
protected short partAttachedTo
protected int parameterType
protected float parameterValue
protected int padding
public int getMarshalledSize()
public ArticulatedPartVP setRecordType(VariableParameterRecordType pRecordType)
recordType
public VariableParameterRecordType getRecordType()
recordType
public ArticulatedPartVP setChangeIndicator(byte pChangeIndicator)
changeIndicator
public byte getChangeIndicator()
changeIndicator
public ArticulatedPartVP setPartAttachedTo(short pPartAttachedTo)
partAttachedTo
public short getPartAttachedTo()
partAttachedTo
public ArticulatedPartVP setParameterType(int pParameterType)
parameterType
public int getParameterType()
parameterType
public ArticulatedPartVP setParameterValue(float pParameterValue)
parameterValue
public float getParameterValue()
parameterValue
public ArticulatedPartVP setPadding(int pPadding)
padding
public int getPadding()
padding
public void marshal(java.io.DataOutputStream dos)
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
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
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 java.lang.Object
public boolean equalsImpl(java.lang.Object obj)
this
and the supplied objectobj
- the object to compare to