TEX 1.1 RTF Avatar
  1. OMG Issue

TEX11 — Repeated base attributes in PSM Mappings for specialization inheritance

  • Key: TEX11-6
  • Status: closed  
  • Source: BAE SYSTEMS ( Mr. Simon Mettrick)
  • Summary:

    The PSM Mapping for DDS repeats the base attributes for classes such as EntityType in each of its specializations. Particularly as EntityType has an extensive inheritance tree this leads to inefficient code in the users of the interface.

  • Reported: TEX 1.0 — Mon, 5 Dec 2022 10:56 GMT
  • Disposition: Resolved — $issue.fixedSpecification.name
  • Disposition Summary:

    Refactor Mapping of Inheritance Relations to IDL as per OARIS

    Create a base struct and a variants union for each generalization class, with the generalization class having a base and variants attribute.
    The variants union is a union of each of specializations
    The base struct contains the attributes of the generalization class.
    This has the benefit that the base attributes can be referred to independently of the particular specialization that the object in question is, leading to simpler client code.
    This impacts class EntityPayload and its specializations in the EntityPayload IDL package and class CategorizationData and its specializations in the CategorizationData IDL package.

  • Updated: Tue, 9 Jan 2024 19:40 GMT
  • Attachments: