예제 #1
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _entityID.getMarshalledSize();                // _entityID
            marshalSize = marshalSize + 1;                                            // _forceId
            marshalSize = marshalSize + 1;                                            // _numberOfArticulationParameters
            marshalSize = marshalSize + _entityType.getMarshalledSize();              // _entityType
            marshalSize = marshalSize + _alternativeEntityType.getMarshalledSize();   // _alternativeEntityType
            marshalSize = marshalSize + _entityLinearVelocity.getMarshalledSize();    // _entityLinearVelocity
            marshalSize = marshalSize + _entityLocation.getMarshalledSize();          // _entityLocation
            marshalSize = marshalSize + _entityOrientation.getMarshalledSize();       // _entityOrientation
            marshalSize = marshalSize + 4;                                            // _entityAppearance
            marshalSize = marshalSize + _deadReckoningParameters.getMarshalledSize(); // _deadReckoningParameters
            marshalSize = marshalSize + _marking.getMarshalledSize();                 // _marking
            marshalSize = marshalSize + 4;                                            // _capabilities
            for (int idx = 0; idx < _articulationParameters.Count; idx++)
            {
                ArticulationParameter listElement = (ArticulationParameter)_articulationParameters[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #2
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _radioEntityType.getMarshalledSize();         // _radioEntityType
            marshalSize = marshalSize + 1;                                            // _transmitState
            marshalSize = marshalSize + 1;                                            // _inputSource
            marshalSize = marshalSize + 2;                                            // _padding1
            marshalSize = marshalSize + _antennaLocation.getMarshalledSize();         // _antennaLocation
            marshalSize = marshalSize + _relativeAntennaLocation.getMarshalledSize(); // _relativeAntennaLocation
            marshalSize = marshalSize + 2;                                            // _antennaPatternType
            marshalSize = marshalSize + 2;                                            // _antennaPatternCount
            marshalSize = marshalSize + 8;                                            // _frequency
            marshalSize = marshalSize + 4;                                            // _transmitFrequencyBandwidth
            marshalSize = marshalSize + 4;                                            // _power
            marshalSize = marshalSize + _modulationType.getMarshalledSize();          // _modulationType
            marshalSize = marshalSize + 2;                                            // _cryptoSystem
            marshalSize = marshalSize + 2;                                            // _cryptoKeyId
            marshalSize = marshalSize + 1;                                            // _modulationParameterCount
            marshalSize = marshalSize + 2;                                            // _padding2
            marshalSize = marshalSize + 1;                                            // _padding3
            for (int idx = 0; idx < _modulationParametersList.Count; idx++)
            {
                Vector3Float listElement = (Vector3Float)_modulationParametersList[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            for (int idx = 0; idx < _antennaPatternList.Count; idx++)
            {
                Vector3Float listElement = (Vector3Float)_antennaPatternList[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #3
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _minefieldID.getMarshalledSize();        // _minefieldID
            marshalSize = marshalSize + _requestingEntityID.getMarshalledSize(); // _requestingEntityID
            marshalSize = marshalSize + 2;                                       // _minefieldSequenceNumbeer
            marshalSize = marshalSize + 1;                                       // _requestID
            marshalSize = marshalSize + 1;                                       // _pduSequenceNumber
            marshalSize = marshalSize + 1;                                       // _numberOfPdus
            marshalSize = marshalSize + 1;                                       // _numberOfMinesInThisPdu
            marshalSize = marshalSize + 1;                                       // _numberOfSensorTypes
            marshalSize = marshalSize + 1;                                       // _pad2
            marshalSize = marshalSize + 4;                                       // _dataFilter
            marshalSize = marshalSize + _mineType.getMarshalledSize();           // _mineType
            for (int idx = 0; idx < _sensorTypes.Count; idx++)
            {
                TwoByteChunk listElement = (TwoByteChunk)_sensorTypes[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            marshalSize = marshalSize + 1;  // _pad3
            for (int idx = 0; idx < _mineLocation.Count; idx++)
            {
                Vector3Float listElement = (Vector3Float)_mineLocation[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #4
0
        public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = marshalSize + _antennaLocation.getMarshalledSize();         // _antennaLocation
            marshalSize = marshalSize + _relativeAntennaLocation.getMarshalledSize(); // _relativeAntennaLocation

            return(marshalSize);
        }
예제 #5
0
        public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = marshalSize + 1;                                             // _deadReckoningAlgorithm
            marshalSize = marshalSize + 15 * 1;                                        // _otherParameters
            marshalSize = marshalSize + _entityLinearAcceleration.getMarshalledSize(); // _entityLinearAcceleration
            marshalSize = marshalSize + _entityAngularVelocity.getMarshalledSize();    // _entityAngularVelocity

            return(marshalSize);
        }
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _emittingEntityId.getMarshalledSize();      // _emittingEntityId
            marshalSize = marshalSize + _eventID.getMarshalledSize();               // _eventID
            marshalSize = marshalSize + _location.getMarshalledSize();              // _location
            marshalSize = marshalSize + _systemID.getMarshalledSize();              // _systemID
            marshalSize = marshalSize + 2;                                          // _pad2
            marshalSize = marshalSize + _fundamentalParameters.getMarshalledSize(); // _fundamentalParameters

            return(marshalSize);
        }
예제 #7
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _orginatingEntityID.getMarshalledSize(); // _orginatingEntityID
            marshalSize = marshalSize + _receivingEntityID.getMarshalledSize();  // _receivingEntityID
            marshalSize = marshalSize + _relationship.getMarshalledSize();       // _relationship
            marshalSize = marshalSize + _partLocation.getMarshalledSize();       // _partLocation
            marshalSize = marshalSize + _namedLocationID.getMarshalledSize();    // _namedLocationID
            marshalSize = marshalSize + _partEntityType.getMarshalledSize();     // _partEntityType

            return(marshalSize);
        }
예제 #8
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _aggregateID.getMarshalledSize();      // _aggregateID
            marshalSize = marshalSize + 1;                                     // _forceID
            marshalSize = marshalSize + 1;                                     // _aggregateState
            marshalSize = marshalSize + _aggregateType.getMarshalledSize();    // _aggregateType
            marshalSize = marshalSize + 4;                                     // _formation
            marshalSize = marshalSize + _aggregateMarking.getMarshalledSize(); // _aggregateMarking
            marshalSize = marshalSize + _dimensions.getMarshalledSize();       // _dimensions
            marshalSize = marshalSize + _orientation.getMarshalledSize();      // _orientation
            marshalSize = marshalSize + _centerOfMass.getMarshalledSize();     // _centerOfMass
            marshalSize = marshalSize + _velocity.getMarshalledSize();         // _velocity
            marshalSize = marshalSize + 2;                                     // _numberOfDisAggregates
            marshalSize = marshalSize + 2;                                     // _numberOfDisEntities
            marshalSize = marshalSize + 2;                                     // _numberOfSilentAggregateTypes
            marshalSize = marshalSize + 2;                                     // _numberOfSilentEntityTypes
            for (int idx = 0; idx < _aggregateIDList.Count; idx++)
            {
                AggregateID listElement = (AggregateID)_aggregateIDList[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            for (int idx = 0; idx < _entityIDList.Count; idx++)
            {
                EntityID listElement = (EntityID)_entityIDList[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            marshalSize = marshalSize + 1; // _pad2
            for (int idx = 0; idx < _silentAggregateSystemList.Count; idx++)
            {
                EntityType listElement = (EntityType)_silentAggregateSystemList[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            for (int idx = 0; idx < _silentEntitySystemList.Count; idx++)
            {
                EntityType listElement = (EntityType)_silentEntitySystemList[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            marshalSize = marshalSize + 4; // _numberOfVariableDatumRecords
            for (int idx = 0; idx < _variableDatumList.Count; idx++)
            {
                VariableDatum listElement = (VariableDatum)_variableDatumList[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #9
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _munitionID.getMarshalledSize();                 // _munitionID
            marshalSize = marshalSize + _eventID.getMarshalledSize();                    // _eventID
            marshalSize = marshalSize + 4;                                               // _fireMissionIndex
            marshalSize = marshalSize + _locationInWorldCoordinates.getMarshalledSize(); // _locationInWorldCoordinates
            marshalSize = marshalSize + _burstDescriptor.getMarshalledSize();            // _burstDescriptor
            marshalSize = marshalSize + _velocity.getMarshalledSize();                   // _velocity
            marshalSize = marshalSize + 4;                                               // _range

            return(marshalSize);
        }
예제 #10
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _issuingEntityID.getMarshalledSize();   // _issuingEntityID
            marshalSize = marshalSize + _collidingEntityID.getMarshalledSize(); // _collidingEntityID
            marshalSize = marshalSize + _eventID.getMarshalledSize();           // _eventID
            marshalSize = marshalSize + 1;                                      // _collisionType
            marshalSize = marshalSize + 1;                                      // _pad
            marshalSize = marshalSize + _velocity.getMarshalledSize();          // _velocity
            marshalSize = marshalSize + 4;                                      // _mass
            marshalSize = marshalSize + _location.getMarshalledSize();          // _location

            return(marshalSize);
        }
        public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = marshalSize + 1;                                          // _emitterSystemDataLength
            marshalSize = marshalSize + 1;                                          // _numberOfBeams
            marshalSize = marshalSize + 2;                                          // _pad2
            marshalSize = marshalSize + _acousticEmitterSystem.getMarshalledSize(); // _acousticEmitterSystem
            marshalSize = marshalSize + _emitterLocation.getMarshalledSize();       // _emitterLocation
            for (int idx = 0; idx < _beamRecords.Count; idx++)
            {
                AcousticBeamData listElement = (AcousticBeamData)_beamRecords[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
        public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = marshalSize + 1;                                  // _systemDataLength
            marshalSize = marshalSize + 1;                                  // _numberOfBeams
            marshalSize = marshalSize + 2;                                  // _emissionsPadding2
            marshalSize = marshalSize + _emitterSystem.getMarshalledSize(); // _emitterSystem
            marshalSize = marshalSize + _location.getMarshalledSize();      // _location
            for (int idx = 0; idx < _beamDataRecords.Count; idx++)
            {
                ElectronicEmissionBeamData listElement = (ElectronicEmissionBeamData)_beamDataRecords[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #13
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _designatingEntityID.getMarshalledSize();         // _designatingEntityID
            marshalSize = marshalSize + 2;                                                // _codeName
            marshalSize = marshalSize + _designatedEntityID.getMarshalledSize();          // _designatedEntityID
            marshalSize = marshalSize + 2;                                                // _designatorCode
            marshalSize = marshalSize + 4;                                                // _designatorPower
            marshalSize = marshalSize + 4;                                                // _designatorWavelength
            marshalSize = marshalSize + _designatorSpotWrtDesignated.getMarshalledSize(); // _designatorSpotWrtDesignated
            marshalSize = marshalSize + _designatorSpotLocation.getMarshalledSize();      // _designatorSpotLocation
            marshalSize = marshalSize + 1;                                                // _deadReckoningAlgorithm
            marshalSize = marshalSize + 2;                                                // _padding1
            marshalSize = marshalSize + 1;                                                // _padding2
            marshalSize = marshalSize + _entityLinearAcceleration.getMarshalledSize();    // _entityLinearAcceleration

            return(marshalSize);
        }
예제 #14
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _entityID.getMarshalledSize();             // _entityID
            marshalSize = marshalSize + 1;                                         // _padding1
            marshalSize = marshalSize + 1;                                         // _numberOfArticulationParameters
            marshalSize = marshalSize + _entityLinearVelocity.getMarshalledSize(); // _entityLinearVelocity
            marshalSize = marshalSize + _entityLocation.getMarshalledSize();       // _entityLocation
            marshalSize = marshalSize + _entityOrientation.getMarshalledSize();    // _entityOrientation
            marshalSize = marshalSize + 4;                                         // _entityAppearance
            for (int idx = 0; idx < _articulationParameters.Count; idx++)
            {
                ArticulationParameter listElement = (ArticulationParameter)_articulationParameters[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #15
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _munitionID.getMarshalledSize();                  // _munitionID
            marshalSize = marshalSize + _eventID.getMarshalledSize();                     // _eventID
            marshalSize = marshalSize + _velocity.getMarshalledSize();                    // _velocity
            marshalSize = marshalSize + _locationInWorldCoordinates.getMarshalledSize();  // _locationInWorldCoordinates
            marshalSize = marshalSize + _burstDescriptor.getMarshalledSize();             // _burstDescriptor
            marshalSize = marshalSize + _locationInEntityCoordinates.getMarshalledSize(); // _locationInEntityCoordinates
            marshalSize = marshalSize + 1;                                                // _detonationResult
            marshalSize = marshalSize + 1;                                                // _numberOfArticulationParameters
            marshalSize = marshalSize + 2;                                                // _pad
            for (int idx = 0; idx < _articulationParameters.Count; idx++)
            {
                ArticulationParameter listElement = (ArticulationParameter)_articulationParameters[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #16
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _issuingEntityID.getMarshalledSize();   // _issuingEntityID
            marshalSize = marshalSize + _collidingEntityID.getMarshalledSize(); // _collidingEntityID
            marshalSize = marshalSize + _collisionEventID.getMarshalledSize();  // _collisionEventID
            marshalSize = marshalSize + 2;                                      // _pad
            marshalSize = marshalSize + _contactVelocity.getMarshalledSize();   // _contactVelocity
            marshalSize = marshalSize + 4;                                      // _mass
            marshalSize = marshalSize + _location.getMarshalledSize();          // _location
            marshalSize = marshalSize + 4;                                      // _collisionResultXX
            marshalSize = marshalSize + 4;                                      // _collisionResultXY
            marshalSize = marshalSize + 4;                                      // _collisionResultXZ
            marshalSize = marshalSize + 4;                                      // _collisionResultYY
            marshalSize = marshalSize + 4;                                      // _collisionResultYZ
            marshalSize = marshalSize + 4;                                      // _collisionResultZZ
            marshalSize = marshalSize + _unitSurfaceNormal.getMarshalledSize(); // _unitSurfaceNormal
            marshalSize = marshalSize + 4;                                      // _coefficientOfRestitution

            return(marshalSize);
        }