idl

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

Hi,

 

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
Offline
Last seen: 10 months 5 days 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.

Thanks.

CB.

1 post / 0 new
kss
Offline
Last seen: 2 years 8 months ago
Joined: 12/07/2016
Posts: 1
rtiddsgen Bitfield Question

Hi,

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
Offline
Last seen: 1 year 7 months ago
Joined: 08/13/2014
Posts: 53
Translation for IDL types problem

Hi

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.

Bonjefir

5 posts / 0 new
Last post
Offline
Last seen: 2 years 10 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
Offline
Last seen: 6 months 1 week ago
Joined: 09/24/2013
Posts: 53
ANN: IDL to C++11 language mapping for RTI Connext DDS

As part of the AXCIOMA product 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
Offline
Last seen: 5 years 5 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 MAX_BUFFER_SIZE.java 

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

LabVIEW 2012; LabVIEW Integration 1.0.0.86; 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

Keywords:
2 posts / 0 new
Last post
Offline
Last seen: 5 years 3 months ago
Joined: 07/29/2013
Posts: 7
IDL and abstract types

Hello,

Does the IDL format support abstract types? How would I go about implementing that?


The following does not work, unfortunately. rtiddsgen seems to fail when parsing struct A.

Keywords:
10 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 03/27/2013
Posts: 28
[Reposted] How to add an idl file to the project

Hello everybody

I use an evaluation license and I want to use an idl file in my MFC project, but once I add the idl file to source filter of my project  I get MIDL error and the project does not build.

Could you tell what exact steps I should take to build such a project? I add the idl file to "source files" filter; then add another filter to the project and add the autogenerated files to that.

Subscribe to RSS - idl