Book a Demo

Author Topic: IDL for DDS  (Read 5379 times)

VB

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
IDL for DDS
« on: April 07, 2009, 08:34:00 pm »
I am trying to define idl data types with the MDG DDS plugin. I have  defined an idl enum and use it in a separate idl struct as one of the field. When I perform a RTI transformation + code generation, only one idl file is generated which correspond to the idl struct and there is no enum definition in it.

The "Hello World" example is very simple and does not cover this

Can anybody help?

Thanks

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: IDL for DDS
« Reply #1 on: April 09, 2009, 10:33:00 pm »
Hi VB,


I think you need to drop your types into an idlModule.

You should be aware, however, that there are some fairly major problems with the IDL code generation and reverse-engineering in this tool. For instance, key fields are generated only in OpenSplice syntax, not RTI syntax, even when you specify RTIDDS as the target.
In other words you can't use it in production, at least in an RTI environment.
(But OpenSplice goes open source on April 20th... Yay!)


/Uffe
My theories are always correct, just apply them to the right reality.