Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        new public int getMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize = base.getMarshalledSize();
            marshalSize = marshalSize + 2;      // _site
            marshalSize = marshalSize + 2;      // _application
            marshalSize = marshalSize + 2;      // _entity
            marshalSize = marshalSize + 1;      // _forceId
            marshalSize = marshalSize + 1;      // _numberOfArticulationParameters
            marshalSize = marshalSize + 1;      // _entityKind
            marshalSize = marshalSize + 1;      // _domain
            marshalSize = marshalSize + 2;      // _country
            marshalSize = marshalSize + 1;      // _category
            marshalSize = marshalSize + 1;      // _subcategory
            marshalSize = marshalSize + 1;      // _specific
            marshalSize = marshalSize + 1;      // _extra
            marshalSize = marshalSize + 1;      // _altEntityKind
            marshalSize = marshalSize + 1;      // _altDomain
            marshalSize = marshalSize + 2;      // _altCountry
            marshalSize = marshalSize + 1;      // _altCategory
            marshalSize = marshalSize + 1;      // _altSubcategory
            marshalSize = marshalSize + 1;      // _altSpecific
            marshalSize = marshalSize + 1;      // _altExtra
            marshalSize = marshalSize + 4;      // _xVelocity
            marshalSize = marshalSize + 4;      // _yVelocity
            marshalSize = marshalSize + 4;      // _zVelocity
            marshalSize = marshalSize + 8;      // _xLocation
            marshalSize = marshalSize + 8;      // _yLocation
            marshalSize = marshalSize + 8;      // _zLocation
            marshalSize = marshalSize + 4;      // _psi
            marshalSize = marshalSize + 4;      // _theta
            marshalSize = marshalSize + 4;      // _phi
            marshalSize = marshalSize + 4;      // _entityAppearance
            marshalSize = marshalSize + 1;      // _deadReckoningAlgorithm
            marshalSize = marshalSize + 15 * 1; // _otherParameters
            marshalSize = marshalSize + 4;      // _xAcceleration
            marshalSize = marshalSize + 4;      // _yAcceleration
            marshalSize = marshalSize + 4;      // _zAcceleration
            marshalSize = marshalSize + 4;      // _xAngularVelocity
            marshalSize = marshalSize + 4;      // _yAngularVelocity
            marshalSize = marshalSize + 4;      // _zAngularVelocity
            marshalSize = marshalSize + 12 * 1; // _marking
            marshalSize = marshalSize + 4;      // _capabilities
            for (int idx = 0; idx < _articulationParameters.Count; idx++)
            {
                ArticulationParameter listElement = (ArticulationParameter)_articulationParameters[idx];
                marshalSize = marshalSize + listElement.getMarshalledSize();
            }

            return(marshalSize);
        }
Ejemplo n.º 3
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);
        }
Ejemplo n.º 4
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);
        }