![]() |
OpenSplice C# API
v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
|
This struct provides the basic mechanism for an application to specify Quality of Service attributes for an ISubscriber. More...
Public Attributes | |
EntityFactoryQosPolicy | EntityFactory |
Specifies whether a just created IDataReader should be enabled More... | |
GroupDataQosPolicy | GroupData |
Used to attach additional information to the ISubscriber. More... | |
PartitionQosPolicy | Partition |
Specifies the partitions in which the ISubscriber is active. More... | |
PresentationQosPolicy | Presentation |
Specifies the dependency of changes to data-instances. More... | |
ShareQosPolicy | Share |
Specifies if this ISubsscriber is shared subscriber More... | |
This struct provides the basic mechanism for an application to specify Quality of Service attributes for an ISubscriber.
A QosPolicy can be set when the ISubscriber is created with the IDomainParticipant.CreateSubscriber operation (or modified with the SetQos operation). Both operations take the SubscriberQos 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 ISubscriber creation time or prior to calling the Enable operation on the ISubscriber.
The initial value of the default SubscriberQos in the IDomainParticipant are given in the following table:
QosPolicy | Attribute | <Default Value |
---|---|---|
SubscriberQos.EntityFactory | EntityFactoryQosPolicy.AutoEnableCreatedEntities | true |
SubscriberQos.Partition | PartitionQosPolicy.Name | null |
SubscriberQos.GroupData | GroupDataQosPolicy.Value | empty |
SubscriberQos.Presentation | PresentationQosPolicy.AccessScope | InstancePresentationQos |
PresentationQosPolicy.CoherentAccess | false | |
PresentationQosPolicy.OrderedAccess | false | |
SubscriberQos.Share | ShareQosPolicy.Enable | false |
ShareQosPolicy.Name | null |
Definition at line 2426 of file DdsDcpsStructs.cs.
EntityFactoryQosPolicy DDS.SubscriberQos.EntityFactory |
Specifies whether a just created IDataReader should be enabled
For detailed information see Entity Factory QoS
Definition at line 2455 of file DdsDcpsStructs.cs.
GroupDataQosPolicy DDS.SubscriberQos.GroupData |
Used to attach additional information to the ISubscriber.
For detailed information see Group Data QoS
Definition at line 2448 of file DdsDcpsStructs.cs.
PartitionQosPolicy DDS.SubscriberQos.Partition |
Specifies the partitions in which the ISubscriber is active.
For detailed information see Partition QoS
Definition at line 2441 of file DdsDcpsStructs.cs.
PresentationQosPolicy DDS.SubscriberQos.Presentation |
Specifies the dependency of changes to data-instances.
For detailed information see Presentation QoS
Definition at line 2434 of file DdsDcpsStructs.cs.
ShareQosPolicy DDS.SubscriberQos.Share |
Specifies if this ISubsscriber is shared subscriber
The Snare QoSPolicy is used to have several API ISubscriber entities to refer to the same underlying subscriber instance. When enables the Name attribute is used to combine the subscribers which have the same Name.
Definition at line 2466 of file DdsDcpsStructs.cs.