public class GriddedDataPdu extends SyntheticEnvironmentFamilyPdu implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected GriddedDataConstantGrid |
constantGrid
are domain grid axes identidal to those of the priveious domain update? uid 245
|
protected GriddedDataCoordinateSystem |
coordinateSystem
coordinate system of the grid uid 244
|
protected SimulationIdentifier |
environmentalSimulationApplicationID
environmental simulation application ID
|
protected EntityType |
environmentType
type of environment
|
protected short |
fieldNumber
unique identifier for each piece of environmental data
|
protected java.util.List<GridAxisDescriptor> |
gridAxisDescriptors |
protected java.util.List<GridData> |
gridDataRecords |
protected byte |
numberOfGridAxes
number of grid axes for the environmental data
|
protected EulerAngles |
orientation
orientation of the data grid
|
protected byte |
padding1
padding
|
protected short |
padding2
padding
|
protected short |
pduNumber
sequence number for the total set of PDUS used to transmit the data
|
protected short |
pduTotal
Total number of PDUS used to transmit the data
|
protected ClockTime |
sampleTime
valid time of the enviormental data sample, 64 bit unsigned int
|
protected int |
totalValues
total number of all data values for all pdus for an environmental sample
|
protected byte |
vectorDimension
total number of data values at each grid point.
|
exerciseID, length, pduType, protocolFamily, protocolVersion, timestamp
Constructor and Description |
---|
GriddedDataPdu()
Constructor
|
getPadding, getPduStatus, setPadding, setPduStatus
getExerciseID, getLength, getPduType, getProtocolFamily, getProtocolVersion, getTimestamp, marshal, setExerciseID, setLength, setPduType, setProtocolFamily, setProtocolVersion, setTimestamp
protected SimulationIdentifier environmentalSimulationApplicationID
protected short fieldNumber
protected short pduNumber
protected short pduTotal
protected GriddedDataCoordinateSystem coordinateSystem
protected byte numberOfGridAxes
protected GriddedDataConstantGrid constantGrid
protected EntityType environmentType
protected EulerAngles orientation
protected ClockTime sampleTime
protected int totalValues
protected byte vectorDimension
protected byte padding1
protected short padding2
protected java.util.List<GridAxisDescriptor> gridAxisDescriptors
protected java.util.List<GridData> gridDataRecords
public int getMarshalledSize()
getMarshalledSize
in class SyntheticEnvironmentFamilyPdu
public GriddedDataPdu setEnvironmentalSimulationApplicationID(SimulationIdentifier pEnvironmentalSimulationApplicationID)
environmentalSimulationApplicationID
public SimulationIdentifier getEnvironmentalSimulationApplicationID()
environmentalSimulationApplicationID
public GriddedDataPdu setFieldNumber(short pFieldNumber)
fieldNumber
public short getFieldNumber()
fieldNumber
public GriddedDataPdu setPduNumber(short pPduNumber)
pduNumber
public short getPduNumber()
pduNumber
public GriddedDataPdu setPduTotal(short pPduTotal)
pduTotal
public short getPduTotal()
pduTotal
public GriddedDataPdu setCoordinateSystem(GriddedDataCoordinateSystem pCoordinateSystem)
coordinateSystem
public GriddedDataCoordinateSystem getCoordinateSystem()
coordinateSystem
public GriddedDataPdu setConstantGrid(GriddedDataConstantGrid pConstantGrid)
constantGrid
public GriddedDataConstantGrid getConstantGrid()
constantGrid
public GriddedDataPdu setEnvironmentType(EntityType pEnvironmentType)
environmentType
public EntityType getEnvironmentType()
environmentType
public GriddedDataPdu setOrientation(EulerAngles pOrientation)
orientation
public EulerAngles getOrientation()
orientation
public GriddedDataPdu setSampleTime(ClockTime pSampleTime)
sampleTime
public ClockTime getSampleTime()
sampleTime
public GriddedDataPdu setTotalValues(int pTotalValues)
totalValues
public int getTotalValues()
totalValues
public GriddedDataPdu setVectorDimension(byte pVectorDimension)
vectorDimension
public byte getVectorDimension()
vectorDimension
public GriddedDataPdu setPadding1(byte pPadding1)
padding1
public byte getPadding1()
padding1
public GriddedDataPdu setPadding2(short pPadding2)
padding2
public short getPadding2()
padding2
public GriddedDataPdu setGridAxisDescriptors(java.util.List<GridAxisDescriptor> pGridAxisDescriptors)
gridAxisDescriptors
public java.util.List<GridAxisDescriptor> getGridAxisDescriptors()
gridAxisDescriptors
public GriddedDataPdu setGridDataRecords(java.util.List<GridData> pGridDataRecords)
gridDataRecords
public java.util.List<GridData> getGridDataRecords()
gridDataRecords
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