Exemplo n.º 1
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);
        }
        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);
        }
Exemplo n.º 3
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);
        }
Exemplo n.º 4
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 + _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);
        }
Exemplo n.º 6
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);
        }
Exemplo n.º 7
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);
        }