C++

This example demonstrates the benefits of Zero Copy Transfer over Shared Memory and FlatData Language Binding using a large-data ping/pong latency application.
5209 reads — 0 comments
This example introduces two features: Zero Copy Transfer over Shared Memory and FlatData Language Binding. These features enable the middleware to reduce the number of copies involved in sending a sample, resulting in lower latencies regardless of the sample size.
6800 reads — 0 comments

The Asynchronous WaitSet (AsyncWaitSet) is a specialization of the WaitSet that performs the wait asynchronously using one or more separate threads of execution. Additionally, the AsyncWaitSet dispatches the attached and active conditions upon wakeup.

8287 reads — 0 comments
With this example you’ll learn how to implement a generic ContentFilter to create ContentFilteredTopics or QueryConditions using lambda expressions. The code is completely generic and you can easily include it in your applications.
9155 reads — 0 comments
Some data-types are recursive in the sense that they contain members elements of the same data-type as the containing structure. A classic example is a Tree. While recursive data-types are not officially supported by RTI Connext DDS it is possible to use them in RTI Connext DDS 5.2. This example illustrates an approach to represent them utilizing some advanced features of rtiddsgen.
8837 reads — 0 comments
Sometimes, you may want a set of data for the same DataWriter to be presented to the receiving DataReader only after ALL the elements of the set have been received. In this example we illustrate how to use Group access_scope for the order in which samples are presented to the subscribing application.
11027 reads — 2 comments
This is a simple example that shows how to receive notifications about data becoming available using a Query Condition. QueryConditions use the same SQL-based filtering syntax as ContentFilteredTopics for query expressions, parameters, etc. Unlike ContentFilteredTopics, QueryConditions are applied to data already received, so they do not affect the reception of data.
10019 reads — 0 comments
A Content Filtered Topic is a Topic with filtering properties. It makes it possible to subscribe to topics and at the same time specify that you are only interested in a subset of the Topic's data. This example explains how to use the built-in StringMatch filter that can be used with ContentFilteredTopics.
20718 reads — 4 comments
This example illustrates how to use coherency QoS to force writes to be grouped on the receiving side. Suppose the reader is tracking the state of an object with many fields. If changes to fields occur relatively infrequently, it is inefficient to send the entire state on every update. Instead, we send an ID for the object, an ID for the field to be updated, and the new value.
8640 reads — 0 comments
Batching can be used to decrease the amount of communication overhead associated with the transmission and acknowledgement of small samples, in order to increase throughput. In this example we explain how to use the batching QoS setting as well as "Turbo Mode", an experimental feature that adjusts automatically the number of bytes in a batch.
9056 reads — 0 comments

Pages

Subscribe to RSS - C++