Navigating the Directories
RTI supports the C, C++, C++/CLI, C#, Java, and Adaprogramming languages. There are two version of the C++ API, the traditional C++ API and the modern C++ PSM API.
While we will examine the C++, Java, and Ada examples in the following sections, you can access similar code in the language of your choice.
The Connext DDS directory tree is as follows:
- /bin — Batch files for running the target package installer, utilities, code generator, etc.
- /doc — Documentation in HTML and PDF format
- /include — Header files for C and C++ APIs, specification files for Ada
- /lib — Library files
- /resource — Document-format definitions, template files used by rtiddsgen, as well as the run-time components used by the RTI tools and services, including the RTI libraries and JRE.
- /uninstall — Uninstaller
- /README.html — Starting page for accessing the API Reference HTML documentation
We refer to the main installation directory as <NDDSHOME>. See Paths Mentioned in Documentation.
The doc directory contains the Connext DDS library information in PDF and HTML formats. You may want to bookmark the doc directory since you will be referring to this page a lot as you explore the RTI technology platform.
Examples are also available, see Paths Mentioned in Documentation.
See the instructions in each example’s README_ME.txt file. These examples include:
- hello_simple: This example demonstrates one of the simplest applications you can write with Connext DDS: it does nothing but publish and subscribe to short strings of text. This example is described in detail in A Quick Overview.
- hello_builtin, hello_idl, hello_dynamic: These examples demonstrate more some of the unique capabilities of Connext DDS: strongly typed data, QoS-based customization of behavior, and industry-leading performance. These examples are described in Capabilities and Performance and Design Patterns for High Performance.
- hello_world_request_reply: This example demonstrates how to use Requesters and Repliers . The Replier is capable of computing the prime numbers below a certain positive integer; the Requester will request these numbers. The Replier provides the prime numbers as they are being calculated, sending multiple replies. See Building and Running a Request-Reply Example.
- news: This example demonstrates a subset of the rich functionality Connext DDS offers, including flexible support for historical and durable data, built-in data caching, powerful filtering capabilities, and tools for working with periodic data. This example is described in Design Patterns for Rapid Development.
You can find more examples at http://www.rti.com/examples. This page contains example code snippets on how to use individual features, examples illustrating specific use cases, as well as performance test examples.
© 2015 RTI