C++

The function plain_cast allows casting a buffer of bytes within a FlatData sample into a C++ instance of the type represented by that buffer. This allows for better performance and ease of use. However, for plain_cast to work, the data sample must meet a number of restrictions that essentially ...
97 reads — 0 comments
This article overviews how to enable logging within Modern C++ code. Logging options are illustrated via a simple example with hyperlinks to the relevant online documentation. The available logging options include: Logging Verbosity Level Logging by Category Logging Print Format Logging to a single ...
508 reads — 0 comments
Note: Applies to RTI Connext DDS Micro 3.x and above Configuration via external files often isn’t allowed in certified applications, such as those used by the automotive industry. In such cases, the keys, governance, and permissions configuration used by RTI Security Plugins should be specified ...
428 reads — 0 comments
“Note: This article applies to Connext DDS Professional 4.x and above” The QNX operating system provides in its SDK a front-end that calls a GCC named “qcc”. In the end, qcc will call the compiler, set the correct flags and link libraries based on the parameters that you use. The SDK provides the C ...
794 reads — 0 comments
If you are running on a macOS® 10.9 (Mavericks) system (or higher), you may experience timing issues in your calls to NDDSUtility_sleep(). If you request to sleep for a small enough time period, you will notice that the actual sleep time is significantly longer. ...
759 reads — 0 comments
Concept With this example, you will learn how to manage complex objects with several levels of nesting and different kinds of members programmatically on an unknown structure. RTIⓇ ConnextⓇ DDS provides tools to access the different members independently if they are a primitive type, struct type, ...
692 reads — 0 comments
The modern C++ API feels very different from the traditional one. Understanding a few key concepts and the main differences with respect to the traditional C++ API can help you write code that is much more concise and robust. The modern C++ API Conventions document describes the intended use of the ...
1488 reads — 0 comments
Note: Applies to Connext DDS 5.x and above Sending TypeCode/TypeObject on the wire provides convenience over specifying the type via XML configuration, but has the disadvantage that more data must be sent during endpoint discovery. This can cause network congestion problems when the TypeCode/ ...
1186 reads — 0 comments
The identity certificates that were shipped with Connext 5.3.1 expired on February 16th, 2019. Therefore, creating a DomainParticipant that tries to use those certificates will fail and will report different problems. This solution documents the most common error messages and provides a set of new certificates, private keys, signed governance, and signed permissions documents valid through February 2029. ...
1141 reads — 0 comments
Connext 6 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 for large data. The following examples show how to use these ...
1861 reads — 0 comments

Pages

Subscribe to RSS - C++