Download XML Application Creation Getting Started

Transcript
XML Tags for Configuring Entities
Table 4.11 DataWriter Tag
Tags within
<data_writer >
<datawriter_qos>
Description
DataWriter QoS configuration
Number of
Tags Allowed
0 or 1
Table 4.12 DataReader Tags
Tags within
<data_reader>
<datareader_qos>
Description
DataReader QoS configuration.
Number of
Tags Allowed
0 or more
Enables the creation of DataReader with this configuration from a
ContentFilteredTopic.
Attributes:
<filter>
name
Name of the ContentFilteredTopic. The ContentFilteredTopic will be associated with the same Topic 0 or 1
referenced by the containing <data_reader>
filter_kind
Specifies which ContentFilter to use. It defaults to
the builtin.sql filter.
The <filter> tag within a <data_reader> enables content filtering. It causes the corresponding
DataReader to be created from a ContentFilteredTopic with the specified filter
characteristics.
Table 4.13 Filter Tag
Tags within
<filter >
<expression>
Description
Filter expression
Number of
Tags Allowed
0 or 1
List of parameters. Parameters are specified using <param> tags.
The maximum number of parameters is 100.
<parameter_list>
<parameter_list>
<param>param_0</param>
<param>param_1</param>
...
</parameter_list>
0 or 1
For example:
<domain_participant name="MyParticipant"
domain_ref="MyDomainLibrary::MyDomain">
<publisher name="MyPublisher">
<data_writer name="MyWriter" topic_ref="MyTopic"/>
</publisher>
<subscriber name="MySubscriber">
<data_reader name="MyReader"
topic_ref="MyTopic">
<filter name="MyFilter" kind="builtin.sql">
<expression> count > %0 </expression>
<parameter_list>
<param>10<param>
4-12