} // end of marshal method

        new public void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _entityID.unmarshal(dis);
                _forceId = dis.readByte();
                _numberOfArticulationParameters = dis.readByte();
                _entityType.unmarshal(dis);
                _alternativeEntityType.unmarshal(dis);
                _entityLinearVelocity.unmarshal(dis);
                _entityLocation.unmarshal(dis);
                _entityOrientation.unmarshal(dis);
                _entityAppearance = dis.readUint();
                _deadReckoningParameters.unmarshal(dis);
                _marking.unmarshal(dis);
                _capabilities = dis.readUint();
                for (int idx = 0; idx < _numberOfArticulationParameters; idx++)
                {
                    ArticulationParameter anX = new ArticulationParameter();
                    anX.unmarshal(dis);
                    _articulationParameters.Add(anX);
                }
                ;
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
Exemple #2
0
        } // end of marshal method

        new public void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _objectID.unmarshal(dis);
                _referencedObjectID.unmarshal(dis);
                _updateNumber  = dis.readUshort();
                _forceID       = dis.readByte();
                _modifications = dis.readByte();
                _objectType.unmarshal(dis);
                _objectLocation.unmarshal(dis);
                _objectOrientation.unmarshal(dis);
                _objectAppearance = dis.readDouble();
                _requesterID.unmarshal(dis);
                _receivingID.unmarshal(dis);
                _pad2 = dis.readUint();
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
        } // end of marshal method

        new public void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _environmentalSimulationApplicationID.unmarshal(dis);
                _fieldNumber      = dis.readUshort();
                _pduNumber        = dis.readUshort();
                _pduTotal         = dis.readUshort();
                _coordinateSystem = dis.readUshort();
                _numberOfGridAxes = dis.readByte();
                _constantGrid     = dis.readByte();
                _environmentType.unmarshal(dis);
                _orientation.unmarshal(dis);
                _sampleTime      = dis.readLong();
                _totalValues     = dis.readUint();
                _vectorDimension = dis.readByte();
                _padding1        = dis.readUshort();
                _padding2        = dis.readByte();
                for (int idx = 0; idx < _numberOfGridAxes; idx++)
                {
                    GridAxisRecord anX = new GridAxisRecord();
                    anX.unmarshal(dis);
                    _gridDataList.Add(anX);
                }
                ;
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
        } // end of marshal method

        public void unmarshal(DataInputStream dis)
        {
            try
            {
                _beamDirection.unmarshal(dis);
                _azimuthBeamwidth = dis.readFloat();
                _referenceSystem  = dis.readFloat();
                _padding1         = dis.readShort();
                _padding2         = dis.readByte();
                _ez    = dis.readFloat();
                _ex    = dis.readFloat();
                _phase = dis.readFloat();
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
Exemple #5
0
        } // end of marshal method

        public void unmarshal(DataInputStream dis)
        {
            try
            {
                _segmentNumber = dis.readByte();
                _segmentAppearance.unmarshal(dis);
                _location.unmarshal(dis);
                _orientation.unmarshal(dis);
                _segmentLength = dis.readUshort();
                _segmentWidth  = dis.readUshort();
                _segmentHeight = dis.readUshort();
                _segmentDepth  = dis.readUshort();
                _pad1          = dis.readUint();
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
Exemple #6
0
        } // end of marshal method

        new public void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _minefieldID.unmarshal(dis);
                _minefieldSequence       = dis.readUshort();
                _forceID                 = dis.readByte();
                _numberOfPerimeterPoints = dis.readByte();
                _minefieldType.unmarshal(dis);
                _numberOfMineTypes = dis.readUshort();
                _minefieldLocation.unmarshal(dis);
                _minefieldOrientation.unmarshal(dis);
                _appearance   = dis.readUshort();
                _protocolMode = dis.readUshort();
                for (int idx = 0; idx < _numberOfPerimeterPoints; idx++)
                {
                    Point anX = new Point();
                    anX.unmarshal(dis);
                    _perimeterPoints.Add(anX);
                }
                ;

                for (int idx = 0; idx < _numberOfMineTypes; idx++)
                {
                    EntityType anX = new EntityType();
                    anX.unmarshal(dis);
                    _mineType.Add(anX);
                }
                ;
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method
Exemple #7
0
        } // end of marshal method

        new public void unmarshal(DataInputStream dis)
        {
            base.unmarshal(dis);

            try
            {
                _aggregateID.unmarshal(dis);
                _forceID        = dis.readByte();
                _aggregateState = dis.readByte();
                _aggregateType.unmarshal(dis);
                _formation = dis.readUint();
                _aggregateMarking.unmarshal(dis);
                _dimensions.unmarshal(dis);
                _orientation.unmarshal(dis);
                _centerOfMass.unmarshal(dis);
                _velocity.unmarshal(dis);
                _numberOfDisAggregates        = dis.readUshort();
                _numberOfDisEntities          = dis.readUshort();
                _numberOfSilentAggregateTypes = dis.readUshort();
                _numberOfSilentEntityTypes    = dis.readUshort();
                for (int idx = 0; idx < _numberOfDisAggregates; idx++)
                {
                    AggregateID anX = new AggregateID();
                    anX.unmarshal(dis);
                    _aggregateIDList.Add(anX);
                }
                ;

                for (int idx = 0; idx < _numberOfDisEntities; idx++)
                {
                    EntityID anX = new EntityID();
                    anX.unmarshal(dis);
                    _entityIDList.Add(anX);
                }
                ;

                _pad2 = dis.readByte();
                for (int idx = 0; idx < _numberOfSilentAggregateTypes; idx++)
                {
                    EntityType anX = new EntityType();
                    anX.unmarshal(dis);
                    _silentAggregateSystemList.Add(anX);
                }
                ;

                for (int idx = 0; idx < _numberOfSilentEntityTypes; idx++)
                {
                    EntityType anX = new EntityType();
                    anX.unmarshal(dis);
                    _silentEntitySystemList.Add(anX);
                }
                ;

                _numberOfVariableDatumRecords = dis.readUint();
                for (int idx = 0; idx < _numberOfVariableDatumRecords; idx++)
                {
                    VariableDatum anX = new VariableDatum();
                    anX.unmarshal(dis);
                    _variableDatumList.Add(anX);
                }
                ;
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of unmarshal method