5 posts / 0 new
Last post
Last seen: 4 months 3 weeks ago
Joined: 08/22/2019
Posts: 4
Compilation failure with Java classes generated by rtiddsgen


I'm using rtiddsgen (from the 6.0.0 distribution) to generate Java classes from an IDL file.

rtiddsgen -d output -inputidl ida.idl -language Java -package -ppDisable -update typefiles

The Java classes are generated successfully, but some of them cannot be compiled. The errors reported by the Java compiler mainly have to do with converting to either a Sequence or a List. Here are a couple of examples:

3 posts / 0 new
Last post
Last seen: 3 days 20 hours ago
Joined: 07/22/2019
Posts: 11
Can't reference an xml into the xml used by recording service



I generated my xml files from my idl's and stored them in a folder called xml. This folder lives in the same directory as my MY_RECORDING_SERVICE.xml. It looks like this








Inside my MY_RECORDING_SERVICE.xml I'm including these xml generated as follow: 


4 posts / 0 new
Last post
Last seen: 1 year 3 months ago
Joined: 03/25/2018
Posts: 10
IDL converts sequence<> to struct?



I have a question of using sequence. I added in seqence in IDL, for example below:

struct myTestSequence_T {

double myFirstVar; //@key

seqence<long,10> mySeqLong;


After convertion to C using rtiddsgen, the sequence was translated to struct. See below. 

typedef struct myTestSequence_T{

CDR_double myFirstVar;

struct CDR_LongSeq seqLong;

3 posts / 0 new
Last post
Last seen: 1 year 3 months ago
Joined: 03/25/2018
Posts: 10
Redefinition error of TSeq

I have an IDL included all the topics, typedef and enum. When I compile, it gave error: redefinition of 'struct IdentifierType_TSeq'. It appears that there are multiple #define TSeq IdentifierType_TSeq in the .h file.

I suspect is may be wrong in the way I constructed the IDL. Can you give me some advices? Attached is the IDL.



1 post / 0 new
Last seen: 3 years 1 month ago
Joined: 12/07/2016
Posts: 1
rtiddsgen Bitfield Question


I'm new to DDS and I was looking through the rtiddsgen release notes and found that bitfields are no longer supported.

I have several messages I'm interested in creating IDL files for that have a format similar to:

6 posts / 0 new
Last post
Last seen: 2 months 2 weeks ago
Joined: 08/13/2014
Posts: 55
Translation for IDL types problem


I have two questions:

1- Is it possible to stop translation for enum types in rtiddsgen? I mean something like "@resolve-name off" but for the whole enum. 

2- Does "rti recording service" have any problems with the types in IDL file indicated with "@resolve-name off" directive?

Thanks in advance for your help.


5 posts / 0 new
Last post
Last seen: 3 years 3 months ago
Joined: 03/02/2015
Posts: 2
Nested IDL

I would like to be able to re-use types in multiple IDL files and use rtiddsgen. For example

File header.idl

struct header {...}

File message1.idl

#include "header.idl"

struct message1 { header h; ...}

File message2.idl

#include "header.idl"

struct message2 {header h; ...}

2 posts / 0 new
Last post
jwillemsen's picture
Last seen: 2 months 1 week ago
Joined: 09/24/2013
Posts: 53
ANN: IDL to C++11 language mapping for RTI Connext DDS

As part AXCIOMA Remedy IT is providing an IDL to C++11 language mapping for RTI Connext DDS. This language mapping provides the API and type system as defined by the OMG IDL to C++11 language mapping.

2 posts / 0 new
Last post
Last seen: 5 years 10 months ago
Joined: 09/21/2013
Posts: 3
Multiple Java class generated for const in IDL

I am trying to generate Java sources from VideoData.idl , from the Streaming Video demo.  The Java sources got generated, but each const result in an individual Java class:

Java source generated

This is te content of one of the generated Java class source file 

5 posts / 0 new
Last post
johnk's picture
Last seen: 4 years 9 months ago
Joined: 09/10/2013
Posts: 4
IDL for Cluster Names

LabVIEW 2012; LabVIEW Integration; Windows 7 AGM

I have tested native DDS publishers and suscribers integrated with LabVIEW Cluster Reader/Writers and they work great!

For nested clusters, however, I am running into an issue when subscribing to a non-LabVIEW publisher.

Using RTI Analyzer while both the Native Publsiher and LabVIEW subscriber are running, I can verify that "Type" is added to LabVIEW types differentiate between the type and the member in the LabVIEW structures, as in this mini example

** Native DDS IDL:

struct UH60M_Pilot

Subscribe to RSS - idl