///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _orginatingEntityID.marshal(dos);
                _recevingEntityID.marshal(dos);
                dos.writeUint((uint)_requestID);
                dos.writeByte((byte)_requiredReliabilityService);
                dos.writeByte((byte)_tranferType);
                _transferEntityID.marshal(dos);
                dos.writeByte((byte)_recordSets.Count);

                for (int idx = 0; idx < _recordSets.Count; idx++)
                {
                    RecordSet aRecordSet = (RecordSet)_recordSets[idx];
                    aRecordSet.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
Beispiel #2
0
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _orginatingEntityID.marshal(dos);
                dos.writeUshort((ushort)_infraredSignatureRepresentationIndex);
                dos.writeUshort((ushort)_acousticSignatureRepresentationIndex);
                dos.writeUshort((ushort)_radarCrossSectionSignatureRepresentationIndex);
                dos.writeUshort((ushort)_propulsionSystemData.Count);
                dos.writeUshort((ushort)_vectoringSystemData.Count);

                for (int idx = 0; idx < _propulsionSystemData.Count; idx++)
                {
                    PropulsionSystemData aPropulsionSystemData = (PropulsionSystemData)_propulsionSystemData[idx];
                    aPropulsionSystemData.marshal(dos);
                } // end of list marshalling


                for (int idx = 0; idx < _vectoringSystemData.Count; idx++)
                {
                    VectoringNozzleSystemData aVectoringNozzleSystemData = (VectoringNozzleSystemData)_vectoringSystemData[idx];
                    aVectoringNozzleSystemData.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
Beispiel #3
0
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _minefieldID.marshal(dos);
                _requestingEntityID.marshal(dos);
                dos.writeByte((byte)_requestID);
                dos.writeByte((byte)_requestedPerimeterPoints.Count);
                dos.writeByte((byte)_pad2);
                dos.writeByte((byte)_sensorTypes.Count);
                dos.writeUint((uint)_dataFilter);
                _requestedMineType.marshal(dos);

                for (int idx = 0; idx < _requestedPerimeterPoints.Count; idx++)
                {
                    Point aPoint = (Point)_requestedPerimeterPoints[idx];
                    aPoint.marshal(dos);
                } // end of list marshalling


                for (int idx = 0; idx < _sensorTypes.Count; idx++)
                {
                    TwoByteChunk aTwoByteChunk = (TwoByteChunk)_sensorTypes[idx];
                    aTwoByteChunk.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _environmentalSimulationApplicationID.marshal(dos);
                dos.writeUshort((ushort)_fieldNumber);
                dos.writeUshort((ushort)_pduNumber);
                dos.writeUshort((ushort)_pduTotal);
                dos.writeUshort((ushort)_coordinateSystem);
                dos.writeByte((byte)_gridDataList.Count);
                dos.writeByte((byte)_constantGrid);
                _environmentType.marshal(dos);
                _orientation.marshal(dos);
                dos.writeLong((long)_sampleTime);
                dos.writeUint((uint)_totalValues);
                dos.writeByte((byte)_vectorDimension);
                dos.writeUshort((ushort)_padding1);
                dos.writeByte((byte)_padding2);

                for (int idx = 0; idx < _gridDataList.Count; idx++)
                {
                    GridAxisRecord aGridAxisRecord = (GridAxisRecord)_gridDataList[idx];
                    aGridAxisRecord.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _objectID.marshal(dos);
                _referencedObjectID.marshal(dos);
                dos.writeUshort((ushort)_updateNumber);
                dos.writeByte((byte)_forceID);
                dos.writeByte((byte)_linearSegmentParameters.Count);
                _requesterID.marshal(dos);
                _receivingID.marshal(dos);
                _objectType.marshal(dos);

                for (int idx = 0; idx < _linearSegmentParameters.Count; idx++)
                {
                    LinearSegmentParameter aLinearSegmentParameter = (LinearSegmentParameter)_linearSegmentParameters[idx];
                    aLinearSegmentParameter.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
Beispiel #6
0
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _minefieldID.marshal(dos);
                dos.writeUshort((ushort)_minefieldSequence);
                dos.writeByte((byte)_forceID);
                dos.writeByte((byte)_perimeterPoints.Count);
                _minefieldType.marshal(dos);
                dos.writeUshort((ushort)_mineType.Count);
                _minefieldLocation.marshal(dos);
                _minefieldOrientation.marshal(dos);
                dos.writeUshort((ushort)_appearance);
                dos.writeUshort((ushort)_protocolMode);

                for (int idx = 0; idx < _perimeterPoints.Count; idx++)
                {
                    Point aPoint = (Point)_perimeterPoints[idx];
                    aPoint.marshal(dos);
                } // end of list marshalling


                for (int idx = 0; idx < _mineType.Count; idx++)
                {
                    EntityType aEntityType = (EntityType)_mineType[idx];
                    aEntityType.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _entityID.marshal(dos);
                dos.writeByte((byte)_forceId);
                dos.writeByte((byte)_articulationParameters.Count);
                _entityType.marshal(dos);
                _alternativeEntityType.marshal(dos);
                _entityLinearVelocity.marshal(dos);
                _entityLocation.marshal(dos);
                _entityOrientation.marshal(dos);
                dos.writeUint((uint)_entityAppearance);
                _deadReckoningParameters.marshal(dos);
                _marking.marshal(dos);
                dos.writeUint((uint)_capabilities);

                for (int idx = 0; idx < _articulationParameters.Count; idx++)
                {
                    ArticulationParameter aArticulationParameter = (ArticulationParameter)_articulationParameters[idx];
                    aArticulationParameter.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _munitionID.marshal(dos);
                _eventID.marshal(dos);
                _velocity.marshal(dos);
                _locationInWorldCoordinates.marshal(dos);
                _burstDescriptor.marshal(dos);
                _locationInEntityCoordinates.marshal(dos);
                dos.writeByte((byte)_detonationResult);
                dos.writeByte((byte)_articulationParameters.Count);
                dos.writeShort((short)_pad);

                for (int idx = 0; idx < _articulationParameters.Count; idx++)
                {
                    ArticulationParameter aArticulationParameter = (ArticulationParameter)_articulationParameters[idx];
                    aArticulationParameter.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _objectID.marshal(dos);
                _referencedObjectID.marshal(dos);
                dos.writeUshort((ushort)_updateNumber);
                dos.writeByte((byte)_forceID);
                dos.writeByte((byte)_modifications);
                _objectType.marshal(dos);
                _objectAppearance.marshal(dos);
                dos.writeUshort((ushort)_objectLocation.Count);
                _requesterID.marshal(dos);
                _receivingID.marshal(dos);

                for (int idx = 0; idx < _objectLocation.Count; idx++)
                {
                    Vector3Double aVector3Double = (Vector3Double)_objectLocation[idx];
                    aVector3Double.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
Beispiel #10
0
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                dos.writeByte((byte)_controlType);
                dos.writeByte((byte)_communicationsChannelType);
                _sourceEntityID.marshal(dos);
                dos.writeByte((byte)_sourceCommunicationsDeviceID);
                dos.writeByte((byte)_sourceLineID);
                dos.writeByte((byte)_transmitPriority);
                dos.writeByte((byte)_transmitLineState);
                dos.writeByte((byte)_command);
                _masterEntityID.marshal(dos);
                dos.writeUshort((ushort)_masterCommunicationsDeviceID);
                dos.writeUint((uint)_intercomParameters.Count);

                for (int idx = 0; idx < _intercomParameters.Count; idx++)
                {
                    IntercomCommunicationsParameters aIntercomCommunicationsParameters = (IntercomCommunicationsParameters)_intercomParameters[idx];
                    aIntercomCommunicationsParameters.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 new public void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _issuingEntityID.marshal(dos);
         _collidingEntityID.marshal(dos);
         _collisionEventID.marshal(dos);
         dos.writeShort((short)_pad);
         _contactVelocity.marshal(dos);
         dos.writeFloat((float)_mass);
         _location.marshal(dos);
         dos.writeFloat((float)_collisionResultXX);
         dos.writeFloat((float)_collisionResultXY);
         dos.writeFloat((float)_collisionResultXZ);
         dos.writeFloat((float)_collisionResultYY);
         dos.writeFloat((float)_collisionResultYZ);
         dos.writeFloat((float)_collisionResultZZ);
         _unitSurfaceNormal.marshal(dos);
         dos.writeFloat((float)_coefficientOfRestitution);
     } // end try
     catch (Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 } // end of marshal method
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 public void marshal(DataOutputStream dos)
 {
     try
     {
         _trackJam.marshal(dos);
         dos.writeByte((byte)_emitterID);
         dos.writeByte((byte)_beamID);
     } // end try
     catch (Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 } // end of marshal method
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 new public void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _entityId.marshal(dos);
         dos.writeUshort((ushort)_radioId);
     } // end try
     catch (Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 } // end of marshal method
Beispiel #14
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 new public void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _firingEntityID.marshal(dos);
         _targetEntityID.marshal(dos);
     } // end try
     catch (Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 } // end of marshal method
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 new public void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _receivingEntityID.marshal(dos);
         _repairingEntityID.marshal(dos);
         dos.writeUshort((ushort)_repair);
         dos.writeShort((short)_padding2);
     } // end try
     catch (Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 } // end of marshal method
Beispiel #16
0
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                dos.writeUshort((ushort)_receiverState);
                dos.writeUshort((ushort)_padding1);
                dos.writeFloat((float)_receivedPoser);
                _transmitterEntityId.marshal(dos);
                dos.writeUshort((ushort)_transmitterRadioId);
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _emittingEntityId.marshal(dos);
                _eventID.marshal(dos);
                _location.marshal(dos);
                _systemID.marshal(dos);
                dos.writeUshort((ushort)_pad2);
                _fundamentalParameters.marshal(dos);
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
Beispiel #18
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 new public void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _orginatingEntityID.marshal(dos);
         _receivingEntityID.marshal(dos);
         _relationship.marshal(dos);
         _partLocation.marshal(dos);
         _namedLocationID.marshal(dos);
         _partEntityType.marshal(dos);
     } // end try
     catch (Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 } // end of marshal method
Beispiel #19
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 new public void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _munitionID.marshal(dos);
         _eventID.marshal(dos);
         dos.writeUint((uint)_fireMissionIndex);
         _locationInWorldCoordinates.marshal(dos);
         _burstDescriptor.marshal(dos);
         _velocity.marshal(dos);
         dos.writeFloat((float)_range);
     } // end try
     catch (Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 } // end of marshal method
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _entityID.marshal(dos);
                dos.writeUshort((ushort)_communicationsDeviceID);
                dos.writeUshort((ushort)_encodingScheme);
                dos.writeUshort((ushort)_tdlType);
                dos.writeUint((uint)_sampleRate);
                dos.writeUshort((ushort)_data.Length);
                dos.writeUshort((ushort)_samples);
                dos.writeByte(_data);
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
Beispiel #21
0
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _issuingEntityID.marshal(dos);
                _collidingEntityID.marshal(dos);
                _eventID.marshal(dos);
                dos.writeByte((byte)_collisionType);
                dos.writeByte((byte)_pad);
                _velocity.marshal(dos);
                dos.writeFloat((float)_mass);
                _location.marshal(dos);
            } // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
Beispiel #22
0
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _emittingEntityID.marshal(dos);
                _eventID.marshal(dos);
                dos.writeByte((byte)_stateChangeIndicator);
                dos.writeByte((byte)_pad);
                dos.writeUshort((ushort)_passiveParameterIndex);
                dos.writeByte((byte)_propulsionPlantConfiguration);
                dos.writeByte((byte)_shaftRPMs.Count);
                dos.writeByte((byte)_apaData.Count);
                dos.writeByte((byte)_emitterSystems.Count);

                for (int idx = 0; idx < _shaftRPMs.Count; idx++)
                {
                    ShaftRPMs aShaftRPMs = (ShaftRPMs)_shaftRPMs[idx];
                    aShaftRPMs.marshal(dos);
                } // end of list marshalling


                for (int idx = 0; idx < _apaData.Count; idx++)
                {
                    ApaData aApaData = (ApaData)_apaData[idx];
                    aApaData.marshal(dos);
                } // end of list marshalling


                for (int idx = 0; idx < _emitterSystems.Count; idx++)
                {
                    AcousticEmitterSystemData aAcousticEmitterSystemData = (AcousticEmitterSystemData)_emitterSystems[idx];
                    aAcousticEmitterSystemData.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _minefieldID.marshal(dos);
                _requestingEntityID.marshal(dos);
                dos.writeByte((byte)_requestID);
                dos.writeByte((byte)_missingPduSequenceNumbers.Count);

                for (int idx = 0; idx < _missingPduSequenceNumbers.Count; idx++)
                {
                    EightByteChunk aEightByteChunk = (EightByteChunk)_missingPduSequenceNumbers[idx];
                    aEightByteChunk.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _emittingEntityID.marshal(dos);
                _eventID.marshal(dos);
                dos.writeByte((byte)_stateUpdateIndicator);
                dos.writeByte((byte)_systems.Count);
                dos.writeUshort((ushort)_paddingForEmissionsPdu);

                for (int idx = 0; idx < _systems.Count; idx++)
                {
                    ElectronicEmissionSystemData aElectronicEmissionSystemData = (ElectronicEmissionSystemData)_systems[idx];
                    aElectronicEmissionSystemData.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
///<summary>
///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _receivingEntityID.marshal(dos);
                _supplyingEntityID.marshal(dos);
                dos.writeByte((byte)_supplies.Count);
                dos.writeShort((short)_padding1);
                dos.writeByte((byte)_padding2);

                for (int idx = 0; idx < _supplies.Count; idx++)
                {
                    SupplyQuantity aSupplyQuantity = (SupplyQuantity)_supplies[idx];
                    aSupplyQuantity.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _minefieldID.marshal(dos);
                _requestingEntityID.marshal(dos);
                dos.writeUshort((ushort)_minefieldSequenceNumbeer);
                dos.writeByte((byte)_requestID);
                dos.writeByte((byte)_pduSequenceNumber);
                dos.writeByte((byte)_numberOfPdus);
                dos.writeByte((byte)_mineLocation.Count);
                dos.writeByte((byte)_sensorTypes.Count);
                dos.writeByte((byte)_pad2);
                dos.writeUint((uint)_dataFilter);
                _mineType.marshal(dos);

                for (int idx = 0; idx < _sensorTypes.Count; idx++)
                {
                    TwoByteChunk aTwoByteChunk = (TwoByteChunk)_sensorTypes[idx];
                    aTwoByteChunk.marshal(dos);
                } // end of list marshalling

                dos.writeByte((byte)_pad3);

                for (int idx = 0; idx < _mineLocation.Count; idx++)
                {
                    Vector3Float aVector3Float = (Vector3Float)_mineLocation[idx];
                    aVector3Float.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _environementalProcessID.marshal(dos);
                _environmentType.marshal(dos);
                dos.writeByte((byte)_modelType);
                dos.writeByte((byte)_environmentStatus);
                dos.writeByte((byte)_environmentRecords.Count);
                dos.writeUshort((ushort)_sequenceNumber);

                for (int idx = 0; idx < _environmentRecords.Count; idx++)
                {
                    Environment aEnvironment = (Environment)_environmentRecords[idx];
                    aEnvironment.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
Beispiel #28
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 new public void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _designatingEntityID.marshal(dos);
         dos.writeUshort((ushort)_codeName);
         _designatedEntityID.marshal(dos);
         dos.writeUshort((ushort)_designatorCode);
         dos.writeFloat((float)_designatorPower);
         dos.writeFloat((float)_designatorWavelength);
         _designatorSpotWrtDesignated.marshal(dos);
         _designatorSpotLocation.marshal(dos);
         dos.writeByte((byte)_deadReckoningAlgorithm);
         dos.writeUshort((ushort)_padding1);
         dos.writeByte((byte)_padding2);
         _entityLinearAcceleration.marshal(dos);
     } // end try
     catch (Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 } // end of marshal method
Beispiel #29
0
        ///<summary>
        ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
        ///</summary>
        new public void marshal(DataOutputStream dos)
        {
            base.marshal(dos);
            try
            {
                _groupEntityID.marshal(dos);
                dos.writeByte((byte)_groupedEntityCategory);
                dos.writeByte((byte)_groupedEntityDescriptions.Count);
                dos.writeUint((uint)_pad2);
                dos.writeDouble((double)_latitude);
                dos.writeDouble((double)_longitude);

                for (int idx = 0; idx < _groupedEntityDescriptions.Count; idx++)
                {
                    VariableDatum aVariableDatum = (VariableDatum)_groupedEntityDescriptions[idx];
                    aVariableDatum.marshal(dos);
                } // end of list marshalling
            }     // end try
            catch (Exception e)
            {
                Trace.WriteLine(e);
                Trace.Flush();
            }
        } // end of marshal method
Beispiel #30
0
 ///<summary>
 ///Marshal the data to the DataOutputStream.  Note: Length needs to be set before calling this method
 ///</summary>
 new public void marshal(DataOutputStream dos)
 {
     base.marshal(dos);
     try
     {
         _objectID.marshal(dos);
         _referencedObjectID.marshal(dos);
         dos.writeUshort((ushort)_updateNumber);
         dos.writeByte((byte)_forceID);
         dos.writeByte((byte)_modifications);
         _objectType.marshal(dos);
         _objectLocation.marshal(dos);
         _objectOrientation.marshal(dos);
         dos.writeDouble((double)_objectAppearance);
         _requesterID.marshal(dos);
         _receivingID.marshal(dos);
         dos.writeUint((uint)_pad2);
     } // end try
     catch (Exception e)
     {
         Trace.WriteLine(e);
         Trace.Flush();
     }
 } // end of marshal method