Download XML-Based Application Creation Getting Started Guide

Transcript
XML Tags for Configuring Entities
<data_writer> and <data_reader> tags directly under the <domain_participant> tag. In this
case, the DataWriters and DataReaders are created inside the implicit Publisher and Subscriber,
respectively.
Table 4.8
Domain Participant Tag
Tags within
<domain_participant >
Description
Number
of Tags
Allowed
<register_type>
Specifies how a type is registered. Same as within the
0 or more
<domain> tag
<topic>
Specifies a topic. Same as within the <domain> tag
0 or more
Specifies a Publisher configuration.
Attributes:
<publisher>
name
Publisher configuration name.
multiplicity (optional)
Number of Publishers that are
created with this configuration.
0 or more
Default is 1.
Specifies a Subscriber configuration.
Attributes:
<subscriber>
name
Subscriber configuration name.
multiplicity (optional)
Number of Subscribers that are
created with this configuration.
0 or more
Default is 1.
Specifies a DataWriter configuration. The DataWriter will
be created inside the implicit Publisher.
Attributes:
<data_writer>
name
DataWriter configuration name.
topic_ref
Reference (name) a <topic> 0 or more
within the <domain> referenced
by its <participant> parent.
multiplicity (optional)
Number of DataWriters that are
created with this configuration.
Default is 1.
Specifies a data reader configuration. The DataReader
will be created inside the implicit subscriber.
Attributes:
<data_reader>
name
Data reader configuration name.
topic_ref
Reference (name) a <topic> 0 or more
within the <domain> referenced
by its <participant> parent.
multiplicity (optional)
Number of DataReaders that are
created with this configuration.
Default is 1.
<participant_qos>
DomainParticipant QoS configuration.
0 or 1
4-9