public class AggregateStatePdu extends EntityManagementFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected AggregateIdentifier |
aggregateID
ID of aggregated entities
|
protected java.util.List<AggregateIdentifier> |
aggregateIDList
aggregates list
|
protected AggregateMarking |
aggregateMarking
marking for aggregate; first char is charset type, rest is char data
|
protected AggregateStateAggregateState |
aggregateState
state of aggregate uid 204
|
protected AggregateType |
aggregateType
entity type of the aggregated entities
|
protected Vector3Double |
centerOfMass
center of mass of the aggregation
|
protected Vector3Float |
dimensions
dimensions of bounding box for the aggregated entities, origin at the center of mass
|
protected java.util.List<EntityID> |
entityIDList
entity ID list
|
protected ForceID |
forceID
force ID uid 6
|
protected AggregateStateFormation |
formation
formation of aggregated entities uid 205
|
protected short |
numberOfDisAggregates
number of aggregates
|
protected short |
numberOfDisEntities
number of entities
|
protected short |
numberOfSilentAggregateTypes
number of silent aggregate types
|
protected short |
numberOfSilentEntityTypes
number of silent entity types
|
protected int |
numberOfVariableDatumRecords
number of variable datum records
|
protected Vector3Float |
orientation
orientation of the bounding box
|
protected java.util.List<EntityType> |
silentAggregateSystemList
silent entity types
|
protected java.util.List<EntityType> |
silentEntitySystemList
silent entity types
|
protected java.util.List<VariableDatum> |
variableDatumList
variableDatums
|
protected Vector3Float |
velocity
velocity of aggregation
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
AggregateStatePdu()
Constructor
|
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected AggregateIdentifier aggregateID
protected ForceID forceID
protected AggregateStateAggregateState aggregateState
protected AggregateType aggregateType
protected AggregateStateFormation formation
protected AggregateMarking aggregateMarking
protected Vector3Float dimensions
protected Vector3Float orientation
protected Vector3Double centerOfMass
protected Vector3Float velocity
protected short numberOfDisAggregates
protected short numberOfDisEntities
protected short numberOfSilentAggregateTypes
protected short numberOfSilentEntityTypes
protected java.util.List<AggregateIdentifier> aggregateIDList
protected java.util.List<EntityID> entityIDList
protected java.util.List<EntityType> silentAggregateSystemList
protected java.util.List<EntityType> silentEntitySystemList
protected int numberOfVariableDatumRecords
protected java.util.List<VariableDatum> variableDatumList
public int getMarshalledSize()
getMarshalledSize
in class EntityManagementFamilyPdu
public AggregateStatePdu setAggregateID(AggregateIdentifier pAggregateID)
aggregateID
public AggregateIdentifier getAggregateID()
aggregateID
public AggregateStatePdu setForceID(ForceID pForceID)
forceID
public AggregateStatePdu setAggregateState(AggregateStateAggregateState pAggregateState)
aggregateState
public AggregateStateAggregateState getAggregateState()
aggregateState
public AggregateStatePdu setAggregateType(AggregateType pAggregateType)
aggregateType
public AggregateType getAggregateType()
aggregateType
public AggregateStatePdu setFormation(AggregateStateFormation pFormation)
formation
public AggregateStateFormation getFormation()
formation
public AggregateStatePdu setAggregateMarking(AggregateMarking pAggregateMarking)
aggregateMarking
public AggregateMarking getAggregateMarking()
aggregateMarking
public AggregateStatePdu setDimensions(Vector3Float pDimensions)
dimensions
public Vector3Float getDimensions()
dimensions
public AggregateStatePdu setOrientation(Vector3Float pOrientation)
orientation
public Vector3Float getOrientation()
orientation
public AggregateStatePdu setCenterOfMass(Vector3Double pCenterOfMass)
centerOfMass
public Vector3Double getCenterOfMass()
centerOfMass
public AggregateStatePdu setVelocity(Vector3Float pVelocity)
velocity
public Vector3Float getVelocity()
velocity
public AggregateStatePdu setAggregateIDList(java.util.List<AggregateIdentifier> pAggregateIDList)
aggregateIDList
public java.util.List<AggregateIdentifier> getAggregateIDList()
aggregateIDList
public AggregateStatePdu setEntityIDList(java.util.List<EntityID> pEntityIDList)
entityIDList
public java.util.List<EntityID> getEntityIDList()
entityIDList
public AggregateStatePdu setSilentAggregateSystemList(java.util.List<EntityType> pSilentAggregateSystemList)
silentAggregateSystemList
public java.util.List<EntityType> getSilentAggregateSystemList()
silentAggregateSystemList
public AggregateStatePdu setSilentEntitySystemList(java.util.List<EntityType> pSilentEntitySystemList)
silentEntitySystemList
public java.util.List<EntityType> getSilentEntitySystemList()
silentEntitySystemList
public AggregateStatePdu setVariableDatumList(java.util.List<VariableDatum> pVariableDatumList)
variableDatumList
public java.util.List<VariableDatum> getVariableDatumList()
variableDatumList
public void marshal(java.io.DataOutputStream dos)
marshal
in class EntityManagementFamilyPdu
dos
- The DataOutputStreamDataOutputStream
public int unmarshal(java.io.DataInputStream dis)
unmarshal
in class EntityManagementFamilyPdu
dis
- The DataInputStreamDataInputStream
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
marshal
in class EntityManagementFamilyPdu
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 EntityManagementFamilyPdu
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 EntityManagementFamilyPdu
public boolean equalsImpl(java.lang.Object obj)
Pdu
this
and the supplied objectequalsImpl
in class EntityManagementFamilyPdu
obj
- the object to compare to