RTI Connext Traditional C++ API Version 7.1.0

Quality of Service (QoS) policies. More...


 <<extension>> Specifies the asynchronous publishing settings of the DDSPublisher instances.
 <<extension>> Configures the availability of data.
 <<extension>> Batch QoS policy used to enable batching in DDSDataWriter instances.
 <<extension>> Various threads and resource limits settings used by RTI Connext to control its internal database.
 <<extension>> Specifies the DataReader-specific protocol QoS.
 <<extension>> Various settings that configure how DataReaders allocate and use physical memory for internal resources.
 A list of data representations and compression methods supported by a DDSDataWriter or DDSDataReader.
 Stores (name, value) pairs that can be used to determine access permissions.
 <<extension>> Along with DDS_WireProtocolQosPolicy and DDS_DataReaderProtocolQosPolicy, this QoS policy configures the DDS on-the-network protocol (RTPS).
 <<extension>> Various settings that configure how a DDSDataWriter allocates and uses physical memory for internal resources.
 <<extension>> Specifies the DataWriter transfer mode QoS.
 Expresses the maximum duration (deadline) within which an instance is expected to be updated.
 Controls the criteria used to determine the logical order among changes made by DDSPublisher entities to the same instance of data (i.e., matching DDSTopic and key).
 <<extension>> Specifies the attributes required to discover participants in the domain.
 <<extension>> Specifies the discovery configuration QoS.
 <<extension>> Various settings that configure how a DDSDomainParticipant allocates and uses physical memory for internal resources, including the maximum sizes of various properties.
 This QoS policy specifies whether or not RTI Connext will store and deliver previously published data samples to new DDSDataReader entities that join the network later.
 Various settings to configure the external RTI Persistence Service used by RTI Connext for DataWriters with a DDS_DurabilityQosPolicy setting of DDS_PERSISTENT_DURABILITY_QOS or DDS_TRANSIENT_DURABILITY_QOS.
 A QoS policy for all DDSEntity types that can act as factories for one or more other DDSEntity types.
 <<extension>> Assigns a name to a DDSDomainParticipant, DDSPublisher, DDSSubscriber, DDSDataWriter or DDSDataReader. Except for DDSPublisher and DDSSubscriber, these names are visible during the discovery process and in RTI tools to help you visualize and debug your system.
 <<extension>> Configures the internal thread in a DomainParticipant that handles timed events.
 <<extension>> Configures multi-thread concurrency and deadlock prevention capabilities.
 Specifies the behavior of RTI Connext in the case where the value of an instance changes (one or more times) before it can be successfully communicated to one or more existing subscribers.
 Attaches a buffer of opaque data that is distributed by means of Built-in Topics during discovery.
 Provides a hint as to the maximum acceptable delay from the time the data is written to the time it is received by the subscribing applications.
 Specifies how long the data written by the DDSDataWriter is considered valid.
 Specifies and configures the mechanism that allows DDSDataReader entities to detect when DDSDataWriter entities become disconnected or "dead.".
 <<extension>> The QoS policy used to report the configuration of a MultiChannel DataWriter as part of DDS_PublicationBuiltinTopicData.
 <<extension>> Configures the RTI Connext logging facility.
 Configures the use of the RTI Observability Library to collect and distribute RTI Connext telemetry data.
 <<extension>> Configures the ability of a DataWriter to send data on different multicast groups (addresses) based on the value of the data.
 Specifies whether it is allowed for multiple DDSDataWriter (s) to write the same instance of the data and if so, how these modifications should be arbitrated.
 Specifies the value of the strength used to arbitrate among multiple DDSDataWriter objects that attempt to modify the same instance of a data type (identified by DDSTopic + key).
 Set of strings that introduces logical partitions in DDSDomainParticipant, DDSPublisher, or DDSSubscriber entities.
 Specifies how the samples representing changes to data instances are presented to a subscribing application.
 <<extension>> Configures the way that XML documents containing QoS profiles are loaded by RTI Connext.
 <<extension>> Stores (name, value) pairs that can be used to configure certain parameters of RTI Connext that are not exposed through formal QoS policies. Can also be used to store and propagate application-specific name/value pairs that can be retrieved by user code during discovery.
 <<extension>> Specifies how RTI Connext sends application data on the network. This QoS policy can be used to tell RTI Connext to use its own thread to send data, instead of the user thread.
 Controls how a DataReader manages the lifecycle of the data that it has received.
 <<extension>> Configures threads used by RTI Connext to receive and process data from transports (for example, UDP sockets).
 Indicates the level of reliability offered/requested by RTI Connext.
 Controls the amount of physical memory allocated for DDS entities, if dynamic allocations are allowed, and how they occur. Also controls memory usage among different instance values for keyed topics.
 <<extension>> Service QoS policy is used to indicate what kind of service is associated with the DDS entity.
 <<extension>> Configures DomainParticipant-independent resources used by RTI Connext.
 Filter that allows a DDSDataReader to specify that it is interested only in (potentially) a subset of the values of the data.
 Attaches a buffer of opaque data that is distributed by means of Built-in Topics during discovery.
 Configures the ability of a DDSDataWriter to publish historical samples.
 <<extension>> Specifies which built-in transports are used.
 <<extension>> Specifies the multicast address on which a DDSDataReader wants to receive its data. It can also specify a port number, as well as a subset of the available (at the DDSDomainParticipant level) transports with which to receive the multicast data.
 <<extension>> Specifies a list of topic expressions and addresses that can be used by an Entity with a specific topic name to receive data.
 This QoS policy allows the application to take advantage of transport that are capable of sending messages with different priorities.
 <<extension>> Specifies the physical transports that a DDSDataWriter or DDSDataReader may use to send or receive data.
 <<extension>> Specifies a subset of transports and a port number that can be used by an Entity to receive data.
 Defines the rules for determining whether the type used to publish a given topic is consistent with that used to subscribe to it.
 <<extension>> Allows you to attach application-specific values to a DDSDataWriter or DDSDataReader, which are passed to the serialization or deserialization routine of the associated data type and choose whether to set padding bytes to zero during serialization.
 Attaches a buffer of opaque data that is distributed by means of Built-in Topics during discovery.
 Controls how a DataWriter handles the lifecycle of the instances (keys) that it is registered to manage.
 <<extension>> Specifies the wire protocol related attributes for the DDSDomainParticipant.
 Extended Qos Support
 <<extension>> Types and defines used in extended QoS policies.


struct  DDS_QosPrintFormat
 A collection of attributes used to configure how a QoS appears when printed. More...
struct  DDS_QosPolicyCount
 Type to hold a counter for a DDS_QosPolicyId_t. More...
struct  DDS_QosPolicyCountSeq
 Declares IDL sequence < DDS_QosPolicyCount > More...


#define DDS_QosPrintFormat_INITIALIZER
 Static initializer for DDS_QosPrintFormat. More...
 Number of QoS policies in DDS_QosPolicyId_t. More...


enum  DDS_QosPolicyId_t {
 Type to identify QosPolicies. More...

Detailed Description

Quality of Service (QoS) policies.

Data Distribution Service (DDS) relies on the use of QoS. A QoS is a set of characteristics that controls some aspect of the behavior of DDS. A QoS is comprised of individual QoS policies (objects conceptually deriving from an abstract QosPolicy class).

"Supported QoS policies"

The QosPolicy provides the basic mechanism for an application to specify quality of service parameters. It has an attribute name that is used to uniquely identify each QosPolicy.

QosPolicy implementation is comprised of a name, an ID, and a type. The type of a QosPolicy value may be atomic, such as an integer or float, or compound (a structure). Compound types are used whenever multiple parameters must be set coherently to define a consistent value for a QosPolicy.

QoS (i.e., a list of QosPolicy objects) may be associated with all DDSEntity objects in the system such as DDSTopic, DDSDataWriter, DDSDataReader, DDSPublisher, DDSSubscriber, and DDSDomainParticipant.

Specifying QoS on entities

QosPolicies can be set programmatically when an DDSEntity is created, or modified with the DDSEntity's set_qos (abstract) method.

QosPolicies can also be configured from XML resources (files, strings). With this approach, you can change the QoS without recompiling the application. For more information, see Configuring QoS Profiles with XML.

To customize a DDSEntity's QoS before creating the entity, the correct pattern is:

Each QosPolicy is treated independently from the others. This approach has the advantage of being very extensible. However, there may be cases where several policies are in conflict. Consistency checking is performed each time the policies are modified via the set_qos (abstract) operation, or when the DDSEntity is created.

When a policy is changed after being set to a given value, it is not required that the new value be applied instantaneously; RTI Connext is allowed to apply it after a transition phase. In addition, some QosPolicy have immutable semantics, meaning that they can only be specified either at DDSEntity creation time or else prior to calling the DDSEntity::enable operation on the entity.

Each DDSEntity can be configured with a list of QosPolicy objects. However, not all QosPolicies are supported by each DDSEntity. For instance, a DDSDomainParticipant supports a different set of QosPolicies than a DDSTopic or a DDSPublisher.

QoS compatibility

In several cases, for communications to occur properly (or efficiently), a QosPolicy on the publisher side must be compatible with a corresponding policy on the subscriber side. For example, if a DDSSubscriber requests to receive data reliably while the corresponding DDSPublisher defines a best-effort policy, communication will not happen as requested.

To address this issue and maintain the desirable decoupling of publication and subscription as much as possible, the QosPolicy specification follows the subscriber-requested, publisher-offered pattern.

In this pattern, the subscriber side can specify a "requested" value for a particular QosPolicy. The publisher side specifes an "offered" value for that QosPolicy. RTI Connext will then determine whether the value requested by the subscriber side is compatible with what is offered by the publisher side. If the two policies are compatible, then communication will be established. If the two policies are not compatible, RTI Connext will not establish communications between the two DDSEntity objects and will record this fact by means of the DDS_OFFERED_INCOMPATIBLE_QOS_STATUS on the publisher end and DDS_REQUESTED_INCOMPATIBLE_QOS_STATUS on the subscriber end. The application can detect this fact by means of a DDSListener or a DDSCondition.

The following properties are defined on a QosPolicy.

Macro Definition Documentation


#define DDS_QosPrintFormat_INITIALIZER

Static initializer for DDS_QosPrintFormat.

Use this initializer to ensure that new objects do not have uninitialized contents.

#define DDS_QosPrintFormat_INITIALIZER
Static initializer for DDS_QosPrintFormat.
Definition: infrastructure.ifc:1689
A collection of attributes used to configure how a QoS appears when printed.
Definition: infrastructure.ifc:1696
See also



Number of QoS policies in DDS_QosPolicyId_t.

Enumeration Type Documentation

◆ DDS_QosPolicyId_t

Type to identify QosPolicies.


Identifier for an invalid QoS policy.


Identifier for DDS_UserDataQosPolicy.


Identifier for DDS_DurabilityQosPolicy.


Identifier for DDS_PresentationQosPolicy.


Identifier for DDS_DeadlineQosPolicy.


Identifier for DDS_LatencyBudgetQosPolicy.


Identifier for DDS_OwnershipQosPolicy.


Identifier for DDS_OwnershipStrengthQosPolicy.


Identifier for DDS_LivelinessQosPolicy.


Identifier for DDS_TimeBasedFilterQosPolicy.


Identifier for DDS_PartitionQosPolicy.


Identifier for DDS_ReliabilityQosPolicy.


Identifier for DDS_DestinationOrderQosPolicy.


Identifier for DDS_HistoryQosPolicy.


Identifier for DDS_ResourceLimitsQosPolicy.


Identifier for DDS_EntityFactoryQosPolicy.


Identifier for DDS_WriterDataLifecycleQosPolicy.


Identifier for DDS_ReaderDataLifecycleQosPolicy.


Identifier for DDS_TopicDataQosPolicy.


Identifier for DDS_GroupDataQosPolicy.


Identifier for DDS_TransportPriorityQosPolicy.


Identifier for DDS_LifespanQosPolicy.


Identifier for DDS_DurabilityServiceQosPolicy.


Identifier for DDS_DataRepresentationQosPolicy.


Identifier for DDS_TypeConsistencyEnforcementQosPolicy.


Identifier for DDS_DataTagQosPolicy.


<<extension>> Identifier for DDS_WireProtocolQosPolicy


<<extension>> Identifier for DDS_DiscoveryQosPolicy


<<extension>> Identifier for DDS_DataReaderResourceLimitsQosPolicy


<<extension>> Identifier for DDS_DataWriterResourceLimitsQosPolicy


<<extension>> Identifier for DDS_DataReaderProtocolQosPolicy


<<extension>> Identifier for DDS_DataWriterProtocolQosPolicy


<<extension>> Identifier for DDS_DomainParticipantResourceLimitsQosPolicy


<<extension>> Identifier for DDS_EventQosPolicy


<<extension>> Identifier for DDS_DatabaseQosPolicy


<<extension>> Identifier for DDS_ReceiverPoolQosPolicy


<<extension>> Identifier for DDS_DiscoveryConfigQosPolicy


<<extension>> Identifier for DDS_ExclusiveAreaQosPolicy


<<extension>> Identifier for DDS_SystemResourceLimitsQosPolicy


<<extension>> Identifier for DDS_TransportSelectionQosPolicy


<<extension>> Identifier for DDS_TransportUnicastQosPolicy


<<extension>> Identifier for DDS_TransportMulticastQosPolicy


<<extension>> Identifier for DDS_TransportBuiltinQosPolicy


<<extension>> Identifier for DDS_TypeSupportQosPolicy


<<extension>> Identifier for DDS_PropertyQosPolicy


<<extension>> Identifier for DDS_PublishModeQosPolicy


<<extension>> Identifier for DDS_AsynchronousPublisherQosPolicy


<<extension>> Identifier for DDS_EntityNameQosPolicy


<<extension>> Identifier for DDS_BatchQosPolicy


<<extension>> Identifier for DDS_ProfileQosPolicy


<<extension>> Identifier for DDS_LocatorFilterQosPolicy


<<extension>> Identifier for DDS_MultiChannelQosPolicy


<<extension>> Identifier for DDS_AvailabilityQosPolicy


<<extension>> Identifier for DDS_TransportMulticastMappingQosPolicy


<<extension>> Identifier for DDS_LoggingQosPolicy


<<extension>> Identifier for DDS_TopicQueryDispatchQosPolicy


<<extension>> Identifier for DDS_DataWriterTransferModeQosPolicy


<<extension>> Identifier for DDS_MonitoringQosPolicy