idl

4 posts / 0 new
Last post
Offline
Last seen: 1 year 3 months ago
Joined: 03/13/2022
Posts: 11
userData QosPolicy constraint

Hi

We want to define the idl with the user data (@copy). but meet to the userData constraint, that say the total of userData character into the IDL can not be more than 255 character.

How can set the "DDS_DomainParticipantQos.resource_limits.reader_user_data_max_length" ?

In the following example we get the corresponding error (the total of character can not be more than 255 character)

2 posts / 0 new
Last post
ilya_1725's picture
Offline
Last seen: 1 year 10 months ago
Joined: 04/20/2020
Posts: 24
Reading Admin topic in python or traditional C++

I'm trying to make the python code work with the RTI Remote Administration interface. Python module requires XML type representation. A regular RTI release comes with the IDL type for the Remote Platform (inside rti_connext_dds-6.0.1/resource/idl/). The ServiceAdmin.idl has these types:

Keywords:
2 posts / 0 new
Last post
Offline
Last seen: 3 years 2 months ago
Joined: 02/04/2021
Posts: 1
Sequences in IDL

Given the following example of a typedef sequence in IDL:  (this is not actual IDL, just an example)

module data {

typedef sequence <MyData, 10> MyDataSequence;

struct MyStruct {

MyDataSequence  field;

};

};

module message {

valuetype ThisMessage {

public MyDataSequence data;

};

};

Organization:
1 post / 0 new
jferguson75's picture
Offline
Last seen: 4 years 1 month ago
Joined: 01/28/2020
Posts: 4
Generating StructType from XML

Modern C++

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

Hello,

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 dds.xyz -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
Offline
Last seen: 4 years 3 months ago
Joined: 07/22/2019
Posts: 11
Can't reference an xml into the xml used by recording service

Hi, 

 

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

main_folder/

|---xml/

|------image.xml

|------image_types.xml

|------coordinate_systems.xml

|---MY_RECORDING_SERVICE.xml

 

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

 

4 posts / 0 new
Last post
Offline
Last seen: 5 years 6 months 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: 5 years 6 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.

Thanks.

CB.

1 post / 0 new
kss
Offline
Last seen: 7 years 4 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: 4 years 5 months ago
Joined: 08/13/2014
Posts: 55
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

Subscribe to RSS - idl