modern C++

4 posts / 0 new
Last post
Offline
Last seen: 2 months 3 weeks 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.

1 post / 0 new
Offline
Last seen: 6 months 2 weeks ago
Joined: 04/03/2021
Posts: 1
Get/set external data buffer for DynamicData

Hello,

I generate a topic during runtime from a user description (rti dds 6.0.1) with C++ 17, just like in the tutorial and I want to memcpy the contiguous data that I have in a buffer to the dynamic data (underlying) memory buffer in order to avoid looping. I don't want to shuffle the data from the buffer to individual sections of the dynamic data manually.

2 posts / 0 new
Last post
Offline
Last seen: 2 years 9 months ago
Joined: 02/03/2017
Posts: 2
Modern C++ pub, traditional C++ sub, on_samples_lost method problem

 

Hi,

I have come across an odd problem that perhaps someone could shed some light on.

I have a subscriber program written with the traditional API, I implement the on_sample_lost method to simply print to terminal status.total_count and I use a listener to retrieve samples. I have my publisher written in both the traditional API and the Modern API. When I send for example 10000 messages with the traditional API on_sample_lost never fires.

2 posts / 0 new
Last post
Offline
Last seen: 3 years 9 months ago
Joined: 10/18/2017
Posts: 13
Modern C++ Request-Reply pattern

Hello everyone,

I was wondering if the Request-Reply pattern will be available for Modern C++ (C++11).

In this forum I read that it should have been available with the 2017 RTI major realease (I guess it is the 5.3.0) but it isn't.

Always in this forum I found a way to implement a Request-Reply pattern in C++11 using the additional library "rticonnextmsgcpp2z.lib" but I know that this library is not supported yet, but just a prototype (is it true?).

4 posts / 0 new
Last post
Offline
Last seen: 1 year 12 months ago
Joined: 08/13/2014
Posts: 55
Using of RTI Persistence Service API in Modern C++

Hi

I want to use RTI Persistence Service API in Modern C++. I'm using RTI v 5.2.0 in linux 64 bit. I have followed the examples in RTI documentation but I have some link errors like below:

error: undefined reference to `RTI_PersistenceServiceProperty_INITIALIZER'

What should I do? I cannot find related library for rti persistence service in its folder. Is there any example for using this API in Modern C++?

Thanks in advance for your helps.

Bonjefir

4 posts / 0 new
Last post
Offline
Last seen: 1 year 12 months ago
Joined: 08/13/2014
Posts: 55
Converting XML to Code

 

Hi everybody,

I want to know the equivalent code of below xml in Modern C++ RTI V 5.2.0. 

Keywords:
8 posts / 0 new
Last post
Offline
Last seen: 2 years 7 months ago
Joined: 10/01/2015
Posts: 17
Modern C++: Migration path / interacting with traditional C++ API

Is there a migration path or compatibility layer to assist in using the modern C++ API in existing code bases?

Keywords:
Subscribe to RSS - modern C++