OpenSplice C# API  v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
DDS.DomainParticipantQos Struct Reference

This class provides the basic mechanism for an application to specify Quality of Service attributes for an IDomainParticipant. More...

Collaboration diagram for DDS.DomainParticipantQos:
Collaboration graph

Public Attributes

EntityFactoryQosPolicy EntityFactory
 Specifies whether a just created IEntity should be enabled. More...
 
SchedulingQosPolicy ListenerScheduling
 Specifies the scheduling parameters used to create the listener thread. More...
 
UserDataQosPolicy UserData
 Used to attach additional information to the IDomainParticipant More...
 
SchedulingQosPolicy WatchdogScheduling
 Specifies the scheduling parameters used to create the watchdog thread. More...
 

Detailed Description

This class provides the basic mechanism for an application to specify Quality of Service attributes for an IDomainParticipant.

An IDomainParticipant will spawn different threads for different purposes:

  • A listener thread is spawned to perform the callbacks to all Listener objects attached to the various Entities contained in the IDomainParticipant. The scheduling parameters for this thread can be specified in the ListenerScheduling attribute of the DomainParticipantQos.
  • A watchdog thread is spawned to report the the Liveliness of all Entities contained in the IDomainParticipant whose LivelinessQosPolicyKind in their DDS.LivelinessQosPolicy is set to AutomaticLivelinessQos. The scheduling parameters for this thread can be specified in the WatchdogScheduling attribute of the DomainParticipantQos.

A QosPolicy can be set when the IDomainParticipant is created with the DomainParticipantFactory.CreateParticipant operation (or modified with the SetQos operation). Both operations take the DomainParticipantQos object as a parameter. There may be cases where several policies are in conflict. Consistency checking is performed each time the policies are modified when they are being created and, in case they are already enabled, via the SetQos operation.

Some QosPolicy have “immutable” semantics meaning that they can only be specified either at IDomainParticipant creation time or prior to calling the Enable operation on the IDomainParticipant.

The initial value of the default DomainParticipantQos in the DomainParticipantFactory are given in the following table:

QosPolicy Attribute <Default Value
DomainParticipantQos.UserDataUserDataQosPolicy.Valueempty
DomainParticipantQos.EntityFactoryEntityFactoryQosPolicy.AutoEnableCreatedEntitiestrue
DomainParticipantQos.ListenerSchedulingSchedulingQosPolicy.SchedulingClassScheduleDefault
SchedulingQosPolicy.SchedulingPriority0
SchedulingQosPolicy.SchedulingPriorityKindPriorityRelative
See also
Supported Quality of Service (QoS)

Definition at line 1802 of file DdsDcpsStructs.cs.

Member Data Documentation

◆ EntityFactory

EntityFactoryQosPolicy DDS.DomainParticipantQos.EntityFactory

Specifies whether a just created IEntity should be enabled.

Entity Factory QoS

Definition at line 1817 of file DdsDcpsStructs.cs.

◆ ListenerScheduling

SchedulingQosPolicy DDS.DomainParticipantQos.ListenerScheduling

Specifies the scheduling parameters used to create the listener thread.

Note
Proprietary Policy

Definition at line 1831 of file DdsDcpsStructs.cs.

◆ UserData

UserDataQosPolicy DDS.DomainParticipantQos.UserData

Used to attach additional information to the IDomainParticipant

User Data QoS

Definition at line 1810 of file DdsDcpsStructs.cs.

◆ WatchdogScheduling

SchedulingQosPolicy DDS.DomainParticipantQos.WatchdogScheduling

Specifies the scheduling parameters used to create the watchdog thread.

Note
Proprietary Policy

Definition at line 1824 of file DdsDcpsStructs.cs.


The documentation for this struct was generated from the following file: