We are thrilled to announce that the Modern C++ API for RTI Connext DDS is complete and publicly available now with RTI Connext 5.2 (data sheet). A lot of our customers have already experienced a new way to write DDS code through our preview version—we hope you'll enjoy it too!
This brand-new C++ programming API, based on the ISO/IEC C++ 2003 Language DDS PSM (DDS-PSM-Cxx) specification, brings modern C++ techniques and patterns to DDS, most notably:
- Generic programming
- Integration with the standard library
- Automatic object lifecycle management, with value types and reference types
- C++11 support: move constructors, initializer lists, lambdas, range for-loops, and more
We’ve also updated the code that rtiddsgen generates for your IDL types.
Where can you start?
- For a quick glance at the new code, see my previous blog post: Create A P2P Distributed Application in Under 35 Lines Of C++11 Code!
- You can get all the details in the API documentation, including a lot of code snippets.
- In our Community portal we have added several downloadable and buildable examples.
- Finally, don’t miss these new best practices that will help you get on track: Don't Declare Entities As Pointers, and Consider Using a ListenerBinder Instead of a Raw Listener Pointer.
Ah! If your system is using the previous C++ API and you still want to take advantage of all the other great features and bug fixes in 5.2, don’t worry. It’s still fully supported—now we call it the Traditional C++ API.
Stay tuned for more Modern C++ here at the RTI blogs, coming soon!
Posts by Tag
- Developers/Engineer (303)
- Connext DDS Suite (186)
- IIoT (125)
- News & Events (122)
- Standards & Consortia (122)
- Technology (74)
- Leadership (73)
- 2020 (54)
- Automotive (49)
- Aerospace & Defense (48)
- 2023 (35)
- Cybersecurity (33)
- Culture & Careers (31)
- Healthcare (31)
- 2022 (29)
- Connext DDS Tools (21)
- 2021 (19)
- Connext DDS Pro (19)
- Energy Systems (16)
- Military Avionics (15)
- FACE (13)
- Connext DDS Micro (12)
- 2024 (10)
- JADC2 (10)
- ROS 2 (10)
- Transportation (9)
- Connectivity Technology (7)
- Connext DDS Cert (7)
- Databus (7)
- Oil & Gas (5)
- Connext Conference (4)
- Connext DDS (4)
- RTI Labs (4)
- Case + Code (3)
- FACE Technical Standard (3)
- Research (3)
- Robotics (3)
- #A&D (2)
- Edge Computing (2)
- MDO (2)
- MS&T (2)
- Other Markets (2)
- TSN (2)
- ABMS (1)
- C4ISR (1)
- ISO 26262 (1)
- L3Harris (1)
- LabView (1)
- MathWorks (1)
- National Instruments (1)
- Simulation (1)
- Tech Talks (1)
- UAM (1)
- Videos (1)
- eVTOL (1)