예제 #1
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);
        }
예제 #2
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _environmentalSimulationApplicationID.getMarshalledSize(); // _environmentalSimulationApplicationID
            marshalSize = marshalSize + 2;                                                         // _fieldNumber
            marshalSize = marshalSize + 2;                                                         // _pduNumber
            marshalSize = marshalSize + 2;                                                         // _pduTotal
            marshalSize = marshalSize + 2;                                                         // _coordinateSystem
            marshalSize = marshalSize + 1;                                                         // _numberOfGridAxes
            marshalSize = marshalSize + 1;                                                         // _constantGrid
            marshalSize = marshalSize + _environmentType.getMarshalledSize();                      // _environmentType
            marshalSize = marshalSize + _orientation.getMarshalledSize();                          // _orientation
            marshalSize = marshalSize + 8;                                                         // _sampleTime
            marshalSize = marshalSize + 4;                                                         // _totalValues
            marshalSize = marshalSize + 1;                                                         // _vectorDimension
            marshalSize = marshalSize + 2;                                                         // _padding1
            marshalSize = marshalSize + 1;                                                         // _padding2
            for (int idx = 0; idx < _gridDataList.Count; idx++)
            {
                GridAxisRecord listElement = (GridAxisRecord)_gridDataList[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #3
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);
        }
예제 #4
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _minefieldID.getMarshalledSize();        // _minefieldID
            marshalSize = marshalSize + _requestingEntityID.getMarshalledSize(); // _requestingEntityID
            marshalSize = marshalSize + 1;                                       // _requestID
            marshalSize = marshalSize + 1;                                       // _numberOfPerimeterPoints
            marshalSize = marshalSize + 1;                                       // _pad2
            marshalSize = marshalSize + 1;                                       // _numberOfSensorTypes
            marshalSize = marshalSize + 4;                                       // _dataFilter
            marshalSize = marshalSize + _requestedMineType.getMarshalledSize();  // _requestedMineType
            for (int idx = 0; idx < _requestedPerimeterPoints.Count; idx++)
            {
                Point listElement = (Point)_requestedPerimeterPoints[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            for (int idx = 0; idx < _sensorTypes.Count; idx++)
            {
                TwoByteChunk listElement = (TwoByteChunk)_sensorTypes[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _minefieldID.getMarshalledSize();          // _minefieldID
            marshalSize = marshalSize + 2;                                         // _minefieldSequence
            marshalSize = marshalSize + 1;                                         // _forceID
            marshalSize = marshalSize + 1;                                         // _numberOfPerimeterPoints
            marshalSize = marshalSize + _minefieldType.getMarshalledSize();        // _minefieldType
            marshalSize = marshalSize + 2;                                         // _numberOfMineTypes
            marshalSize = marshalSize + _minefieldLocation.getMarshalledSize();    // _minefieldLocation
            marshalSize = marshalSize + _minefieldOrientation.getMarshalledSize(); // _minefieldOrientation
            marshalSize = marshalSize + 2;                                         // _appearance
            marshalSize = marshalSize + 2;                                         // _protocolMode
            for (int idx = 0; idx < _perimeterPoints.Count; idx++)
            {
                Point listElement = (Point)_perimeterPoints[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            for (int idx = 0; idx < _mineType.Count; idx++)
            {
                EntityType listElement = (EntityType)_mineType[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _emittingEntityID.getMarshalledSize(); // _emittingEntityID
            marshalSize = marshalSize + _eventID.getMarshalledSize();          // _eventID
            marshalSize = marshalSize + 1;                                     // _stateChangeIndicator
            marshalSize = marshalSize + 1;                                     // _pad
            marshalSize = marshalSize + 2;                                     // _passiveParameterIndex
            marshalSize = marshalSize + 1;                                     // _propulsionPlantConfiguration
            marshalSize = marshalSize + 1;                                     // _numberOfShafts
            marshalSize = marshalSize + 1;                                     // _numberOfAPAs
            marshalSize = marshalSize + 1;                                     // _numberOfUAEmitterSystems
            for (int idx = 0; idx < _shaftRPMs.Count; idx++)
            {
                ShaftRPMs listElement = (ShaftRPMs)_shaftRPMs[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            for (int idx = 0; idx < _apaData.Count; idx++)
            {
                ApaData listElement = (ApaData)_apaData[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }
            for (int idx = 0; idx < _emitterSystems.Count; idx++)
            {
                AcousticEmitterSystemData listElement = (AcousticEmitterSystemData)_emitterSystems[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

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

            marshalSize = marshalSize + _trackJam.getMarshalledSize(); // _trackJam
            marshalSize = marshalSize + 1;                             // _emitterID
            marshalSize = marshalSize + 1;                             // _beamID

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _firingEntityID.getMarshalledSize();  // _firingEntityID
            marshalSize = marshalSize + _targetEntityID.getMarshalledSize();  // _targetEntityID

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _entityId.getMarshalledSize(); // _entityId
            marshalSize = marshalSize + 2;                             // _radioId

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _receivingEntityID.getMarshalledSize(); // _receivingEntityID
            marshalSize = marshalSize + _supplyingEntityID.getMarshalledSize(); // _supplyingEntityID

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _receivingEntityID.getMarshalledSize(); // _receivingEntityID
            marshalSize = marshalSize + _repairingEntityID.getMarshalledSize(); // _repairingEntityID
            marshalSize = marshalSize + 2;                                      // _repair
            marshalSize = marshalSize + 2;                                      // _padding2

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + 2;                                        // _receiverState
            marshalSize = marshalSize + 2;                                        // _padding1
            marshalSize = marshalSize + 4;                                        // _receivedPoser
            marshalSize = marshalSize + _transmitterEntityId.getMarshalledSize(); // _transmitterEntityId
            marshalSize = marshalSize + 2;                                        // _transmitterRadioId

            return(marshalSize);
        }
예제 #13
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);
        }
        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);
        }
예제 #15
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);
        }
예제 #16
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);
        }
예제 #17
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _entityID.getMarshalledSize(); // _entityID
            marshalSize = marshalSize + 2;                             // _communicationsDeviceID
            marshalSize = marshalSize + 2;                             // _encodingScheme
            marshalSize = marshalSize + 2;                             // _tdlType
            marshalSize = marshalSize + 4;                             // _sampleRate
            marshalSize = marshalSize + 2;                             // _dataLength
            marshalSize = marshalSize + 2;                             // _samples
            marshalSize = marshalSize + _data.Length;

            return(marshalSize);
        }
예제 #18
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);
        }
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _minefieldID.getMarshalledSize();        // _minefieldID
            marshalSize = marshalSize + _requestingEntityID.getMarshalledSize(); // _requestingEntityID
            marshalSize = marshalSize + 1;                                       // _requestID
            marshalSize = marshalSize + 1;                                       // _numberOfMissingPdus
            for (int idx = 0; idx < _missingPduSequenceNumbers.Count; idx++)
            {
                EightByteChunk listElement = (EightByteChunk)_missingPduSequenceNumbers[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _emittingEntityID.getMarshalledSize(); // _emittingEntityID
            marshalSize = marshalSize + _eventID.getMarshalledSize();          // _eventID
            marshalSize = marshalSize + 1;                                     // _stateUpdateIndicator
            marshalSize = marshalSize + 1;                                     // _numberOfSystems
            marshalSize = marshalSize + 2;                                     // _paddingForEmissionsPdu
            for (int idx = 0; idx < _systems.Count; idx++)
            {
                ElectronicEmissionSystemData listElement = (ElectronicEmissionSystemData)_systems[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _receivingEntityID.getMarshalledSize(); // _receivingEntityID
            marshalSize = marshalSize + _supplyingEntityID.getMarshalledSize(); // _supplyingEntityID
            marshalSize = marshalSize + 1;                                      // _numberOfSupplyTypes
            marshalSize = marshalSize + 2;                                      // _padding1
            marshalSize = marshalSize + 1;                                      // _padding2
            for (int idx = 0; idx < _supplies.Count; idx++)
            {
                SupplyQuantity listElement = (SupplyQuantity)_supplies[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _environementalProcessID.getMarshalledSize(); // _environementalProcessID
            marshalSize = marshalSize + _environmentType.getMarshalledSize();         // _environmentType
            marshalSize = marshalSize + 1;                                            // _modelType
            marshalSize = marshalSize + 1;                                            // _environmentStatus
            marshalSize = marshalSize + 1;                                            // _numberOfEnvironmentRecords
            marshalSize = marshalSize + 2;                                            // _sequenceNumber
            for (int idx = 0; idx < _environmentRecords.Count; idx++)
            {
                Environment listElement = (Environment)_environmentRecords[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _groupEntityID.getMarshalledSize(); // _groupEntityID
            marshalSize = marshalSize + 1;                                  // _groupedEntityCategory
            marshalSize = marshalSize + 1;                                  // _numberOfGroupedEntities
            marshalSize = marshalSize + 4;                                  // _pad2
            marshalSize = marshalSize + 8;                                  // _latitude
            marshalSize = marshalSize + 8;                                  // _longitude
            for (int idx = 0; idx < _groupedEntityDescriptions.Count; idx++)
            {
                VariableDatum listElement = (VariableDatum)_groupedEntityDescriptions[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _orginatingEntityID.getMarshalledSize(); // _orginatingEntityID
            marshalSize = marshalSize + _recevingEntityID.getMarshalledSize();   // _recevingEntityID
            marshalSize = marshalSize + 4;                                       // _requestID
            marshalSize = marshalSize + 1;                                       // _requiredReliabilityService
            marshalSize = marshalSize + 1;                                       // _tranferType
            marshalSize = marshalSize + _transferEntityID.getMarshalledSize();   // _transferEntityID
            marshalSize = marshalSize + 1;                                       // _numberOfRecordSets
            for (int idx = 0; idx < _recordSets.Count; idx++)
            {
                RecordSet listElement = (RecordSet)_recordSets[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #25
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);
        }
예제 #26
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);
        }
예제 #27
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _objectID.getMarshalledSize();           // _objectID
            marshalSize = marshalSize + _referencedObjectID.getMarshalledSize(); // _referencedObjectID
            marshalSize = marshalSize + 2;                                       // _updateNumber
            marshalSize = marshalSize + 1;                                       // _forceID
            marshalSize = marshalSize + 1;                                       // _modifications
            marshalSize = marshalSize + _objectType.getMarshalledSize();         // _objectType
            marshalSize = marshalSize + _objectLocation.getMarshalledSize();     // _objectLocation
            marshalSize = marshalSize + _objectOrientation.getMarshalledSize();  // _objectOrientation
            marshalSize = marshalSize + 8;                                       // _objectAppearance
            marshalSize = marshalSize + _requesterID.getMarshalledSize();        // _requesterID
            marshalSize = marshalSize + _receivingID.getMarshalledSize();        // _receivingID
            marshalSize = marshalSize + 4;                                       // _pad2

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

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _objectID.getMarshalledSize();           // _objectID
            marshalSize = marshalSize + _referencedObjectID.getMarshalledSize(); // _referencedObjectID
            marshalSize = marshalSize + 2;                                       // _updateNumber
            marshalSize = marshalSize + 1;                                       // _forceID
            marshalSize = marshalSize + 1;                                       // _numberOfSegments
            marshalSize = marshalSize + _requesterID.getMarshalledSize();        // _requesterID
            marshalSize = marshalSize + _receivingID.getMarshalledSize();        // _receivingID
            marshalSize = marshalSize + _objectType.getMarshalledSize();         // _objectType
            for (int idx = 0; idx < _linearSegmentParameters.Count; idx++)
            {
                LinearSegmentParameter listElement = (LinearSegmentParameter)_linearSegmentParameters[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
예제 #29
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);
        }
예제 #30
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + _objectID.getMarshalledSize();           // _objectID
            marshalSize = marshalSize + _referencedObjectID.getMarshalledSize(); // _referencedObjectID
            marshalSize = marshalSize + 2;                                       // _updateNumber
            marshalSize = marshalSize + 1;                                       // _forceID
            marshalSize = marshalSize + 1;                                       // _modifications
            marshalSize = marshalSize + _objectType.getMarshalledSize();         // _objectType
            marshalSize = marshalSize + _objectAppearance.getMarshalledSize();   // _objectAppearance
            marshalSize = marshalSize + 2;                                       // _numberOfPoints
            marshalSize = marshalSize + _requesterID.getMarshalledSize();        // _requesterID
            marshalSize = marshalSize + _receivingID.getMarshalledSize();        // _receivingID
            for (int idx = 0; idx < _objectLocation.Count; idx++)
            {
                Vector3Double listElement = (Vector3Double)_objectLocation[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }