dynamic data

4 posts / 0 new
Last post
Last seen: 4 months 5 days ago
Joined: 07/26/2021
Posts: 2
DynamicData: get name of optional members modern C++

we're developing an test interface to test some DDS applications, which parses JSON-Topics to IDL-Topics.

2 posts / 0 new
Last post
Ucf bader's picture
Last seen: 8 months 3 weeks ago
Joined: 03/10/2021
Posts: 1
Concurrent threads limitation collecting dynamic data


I have written code that periodically takes specific number of samples (complex data) each time. I am traversing the received samples to collect dynamic data (read only) building a json object that will be sent to a db.
I am facing a series issue with network blocking/delay.

My assumption is that several concurrent threads (take thread and other conversion threads) are accessing the rti infrastructure resulting some sort of network blocking.

Further info:
I've got several threads:

1) Thread responsible for the take operation.

2 posts / 0 new
Last post
Last seen: 7 years 7 months ago
Joined: 01/03/2014
Posts: 2
Converting to a DynamicData object

Is there a way to easily convert a user-defined topic sample as a DynamicData object?

It appears that the Routing Service Transform API only deals with DynamicData for input and output. The particular plugin I am trying to write should take in a serialized object, turn it into a user-defined object, and then send that out over DDS.

This seems to be the 'correct' way to do it, according to the few examples I've found (using the ShapeType.idl as the 'user type'):

10 posts / 0 new
Last post
Last seen: 6 years 9 months ago
Joined: 03/08/2013
Posts: 8
DynamicData API usage for receiving arbitrary data on a topic


I am trying to solve the following problem in C++ and would need some input on how to do this:
I want to create a data reader which listens on a specific topic name for arbitrary data coming in on this topic during runtime. Then I want to access a specific field of the received message (if it exists). I believe that this should be possible via the DynamicData API, but I just cannot figure out how to use it. A stripped down example would be like this (please consider it pseudo-code, it´s just there to illustrate the points I don´t get):

Subscribe to RSS - dynamic data