A Data Distribution Service for Real-Time Systems (DDS)
application shares data through topic elements. You add topic elements
to the package for your DDS application through the ddsDiagram diagram.
In the TopicDiagram diagram, click the topic icon on the
Drawing toolbar, and then click the drawing area for the diagram.
Open the Features window for the topic element and enter
the following information:
On the General tab, name the
element MyTopic
On the Tags tab, set the type field
to MyTopicStruct:
Click the field to the right of the type field,
and then click the ... button to open the Select
Value window
Find and select MyTopicStruct, and then
click OK. This setting indicates that MyTopicStruct is
the type for MyTopic. This information is used
when MyTopic is created.
Your Tags tab resembles
the following figure.
Lesson checkpoint
In this lesson, you learned how to create a topic.
In the next lesson, you will create a domain participant
for the topicStruct element called MyTopicStruct.