You have learned how to create a Data Distribution Service
for Real-Time Systems (DDS) application.
Lessons learned
By completing this tutorial,
you learned how to create a DDS application. This tutorial included
the following lessons:
- Add the DDS profile to your model
- Create a ddsDiagram diagram
- Define the topicStruct and add a key attribute
- Create a topic
- Add a domain participant for your topicStruct
- Create a publisher entity and a dataWriter entity
- Add a domain participant for your publisher entity
- Add code in order to publish data to your topic
- Create a subscriber entity and a dataReader entity
- Add a domain participant for your subscriber entity
- Listen to DDS events that are related to the dataReader entity
- Add code to receive updates about your topic
- Filter the updated data by using a content-filtered topic
- Add quality of service elements
Additional resources
To see a completed
version of the tutorial model, see the model in <Rational® Rhapsody® installation
path>\Samples\CppSamples\DDSTutorial.
The following
resources are available: