RTI Connext Traditional C++ API  Version 5.3.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_ChannelSettings_t Struct Reference

Type used to configure the properties of a channel. More...

Public Attributes

struct
DDS_TransportMulticastSettingsSeq 
multicast_settings
 A sequence of DDS_TransportMulticastSettings_t used to configure the multicast addresses associated with a channel.
 
char * filter_expression
 A logical expression used to determine the data that will be published in the channel.
 
DDS_Long priority
 Publication priority.
 

Detailed Description

Type used to configure the properties of a channel.

QoS:
DDS_MultiChannelQosPolicy

Member Data Documentation

struct DDS_TransportMulticastSettingsSeq DDS_ChannelSettings_t::multicast_settings

A sequence of DDS_TransportMulticastSettings_t used to configure the multicast addresses associated with a channel.

The sequence cannot be empty.

The maximum number of multicast locators in a channel is limited to 16 (a locator is defined by a transport alias, a multicast address and a port). Note that this is a hard limit that cannot be increased. However, this limit can be decreased by configuring the 'dds.domain_participant.max_announced_locator_list_size' property in the DDS_PropertyQosPolicy associated with the DDS_DomainParticipantQos.

[default] Empty sequence (invalid value)

char* DDS_ChannelSettings_t::filter_expression

A logical expression used to determine the data that will be published in the channel.

If the expression evaluates to TRUE, a sample will be published on the channel.

An empty string always evaluates the expression to TRUE.

A NULL value is not allowed.

The syntax of the expression will depend on the value of DDS_MultiChannelQosPolicy::filter_name

Important: This value must be an allocated string with DDS_String_alloc or DDS_String_dup. It should not be assigned to a string constant.

The filter expression length (including NULL-terminated character) cannot be greater than DDS_DomainParticipantResourceLimitsQosPolicy::channel_filter_expression_max_length.

See Also
Queries and Filters Syntax

[default] NULL (invalid value)

DDS_Long DDS_ChannelSettings_t::priority

Publication priority.

A positive integer value designating the relative priority of the channel, used to determine the transmission order of pending writes.

Use of publication priorities requires the asynchronous publisher (DDS_ASYNCHRONOUS_PUBLISH_MODE_QOS) with DDS_FlowControllerProperty_t::scheduling_policy set to DDS_HPF_FLOW_CONTROLLER_SCHED_POLICY.

Larger numbers have higher priority.

If the publication priority of the channel is any value other than DDS_PUBLICATION_PRIORITY_UNDEFINED, then the channel's priority will take precedence over the data writer's priority.

If the publication priority of the channel is set to DDS_PUBLICATION_PRIORITY_UNDEFINED, then the channel's priority will be set to the value of the data writer's priority.

If the publicaton priority of both the data writer and the channel are DDS_PUBLICATION_PRIORITY_UNDEFINED, the channel will be assigned the lowest priority value.

If the publication priority of the channel is DDS_PUBLICATION_PRIORITY_AUTOMATIC, then the channel will be assigned the priority of the largest publication priority of all samples in the channel. The publication priority of each sample can be set in the DDS_WriteParams_t of the FooDataWriter::write_w_params function.

[default] DDS_PUBLICATION_PRIORITY_UNDEFINED


RTI Connext Traditional C++ API Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc