Next

General

This tutorial explains how to use a DDS4CCM connector in combination with a CCM component.

System

The system consists of three components:

In this tutorial RTI DDS is used to transfer data from the sender to the receiver. Since the sender and receiver are separate components, each use a DDS4CCM connector.
The exchanged data consists of a struct (ShapeType) with the following members: Separate DDS Topics are used to represent different shapes, i.e., Circle, Square, and Triangle.
The color field is a DDS "key" value, which causes DDS to treat each color as an unique "instance" of a shape.
Each of these instances is registered with DDS and is independently maintained in regards to Quality of Service (QoS).
The controller controls the location and size of the registered shape.
The sender registers a shape instance with DDS and transfers the data received from the controller to DDS.
The receiver listens to DDS and receives the updates regarding the shapes data.

This tutorial works in conjuntion with the RTI Shapes demo (available for download from http://www.rti.com/downloads/index.html).

Directory structure

The following convention is used:

File naming convention

The following convention is used:

Additional conventions