Book a Demo

Author Topic: IDL (Interface Description Language) Generate Code  (Read 3806 times)

Chris Allport

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
IDL (Interface Description Language) Generate Code
« on: November 06, 2014, 01:02:31 am »
Is there a way to get relationships (generalization/specialization) to be reflected in generated IDL code?  Our model is generated by importing an XSD and there are a number of relationships that the IDL does not appear to reflect.

We have tried a couple of generalizations, but the generated code does not reflect this relationship.  Is there a particular stereotype/rolename/etc missing?

Thanks!


Chris Allport

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: IDL (Interface Description Language) Generate
« Reply #1 on: November 12, 2014, 04:07:33 am »
From what I can find, X-types was not approved until 2012.  The plugin seems to predate that.  Furthermore, even though ddsgen can properly compile the IDL into objects, that does not meet that polymorphism works through DDS.  My understanding is that DDS topics are bound to a single concrete type.  Although this may change, this potentially breaks one of the pillars of DDS.  By not constantly allocating memory (which is possible when the type is fixed), the memory does not fragment over time.  This is a significant concern in high volume (many million messages per second) systems - particularly when the garbage collector cannot keep up.