![]() |
OpenSplice C# API
v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
|
Create a QosProvider fetching QoS configuration from the specified URI. More...
Public Member Functions | |
QosProvider (string uri, string profile) | |
Constructs a new QosProvider based on the provided uri and profile. More... | |
ReturnCode | GetDataReaderQos (ref DataReaderQos datareaderQos, string id) |
Resolves the DataReaderQos identified by the id from the uri this QosProvider is associated with. More... | |
ReturnCode | GetDataWriterQos (ref DataWriterQos datawriterQos, string id) |
Resolves the DataWriterQos identified by the id from the uri this QosProvider is associated with. More... | |
ReturnCode | GetParticipantQos (ref DomainParticipantQos participantQos, string id) |
Resolves the DomainParticipantQos identified by the id from the uri this QosProvider is associated with. More... | |
ReturnCode | GetPublisherQos (ref PublisherQos publisherQos, string id) |
Resolves the PublisherQos identified by the id from the uri this QosProvider is associated with. More... | |
ReturnCode | GetSubscriberQos (ref SubscriberQos subscriberQos, string id) |
Resolves the SubscriberQos identified by the id from the uri this QosProvider is associated with. More... | |
ReturnCode | GetTopicQos (ref TopicQos topicQos, string id) |
Resolves the TopicQos identified by the id from the uri this QosProvider is associated with. More... | |
Create a QosProvider fetching QoS configuration from the specified URI.
For instance, the following code:
The URI determines the how the Qos configuration is fetched and the format in which it is represented. This specification requires compliant implementations to support at least one file based configuration using the XML syntax defined as part of the DDS for CCM specification (formal/12.02.01).
Then you can extract QoS Policies from the QosProvider
Definition at line 69 of file QosProvider.cs.
|
inline |
Constructs a new QosProvider based on the provided uri and profile.
A QosProvider instance that is instantiated with all profiles and/or QoS’s loaded from the location specified by the provided uri.
Initialization of the QosProvider will fail under the following conditions:
Look here for more information.
uri | A Uniform Resource Identifier (URI) that points to the location where the QoS profile needs to be loaded from. Currently only URI’s with a ‘file’ scheme that point to an XML file are supported. If profiles and/or QoS settings are not uniquely identifiable by name within the resource pointed to by uri, a random one of them will be stored. |
profile | The name of the QoS profile within the xml file that serves as the default QoS profile for the get qos operations. |
Definition at line 136 of file QosProvider.cs.
|
inline |
Resolves the DataReaderQos identified by the id from the uri this QosProvider is associated with.
datareaderQos | Reference to a DataReaderQos that will be set with the DataReaderQos from the given URI (and profile) using the id. |
id | The fully-qualified name that identifies a QoS within the uri associated with the QosProvider or a name that identifies a QoS within the uri associated with the QosProvider instance relative to its default QoS profile. Id’s starting with ‘::’ are interpreted as fully-qualified names and all others are interpreted as names relative to the default QoS profile of the QosProvider instance. When id is null, it is interpreted as a non-named QoS within the default QoS profile associated with the QosProvider. |
Definition at line 353 of file QosProvider.cs.
|
inline |
Resolves the DataWriterQos identified by the id from the uri this QosProvider is associated with.
datawriterQos | Reference to a DataWriterQos that will be set with the DataWriterQos from the given URI (and profile) using the id. |
id | The fully-qualified name that identifies a QoS within the uri associated with the QosProvider or a name that identifies a QoS within the uri associated with the QosProvider instance relative to its default QoS profile. Id’s starting with ‘::’ are interpreted as fully-qualified names and all others are interpreted as names relative to the default QoS profile of the QosProvider instance. When id is null, it is interpreted as a non-named QoS within the default QoS profile associated with the QosProvider. |
Definition at line 443 of file QosProvider.cs.
|
inline |
Resolves the DomainParticipantQos identified by the id from the uri this QosProvider is associated with.
participantQos | Reference to a DomainParticipantQos that will be set with the DomainParticipantQos from the given URI (and profile) using the id. |
id | The fully-qualified name that identifies a QoS within the uri associated with the QosProvider or a name that identifies a QoS within the uri associated with the QosProvider instance relative to its default QoS profile. Id’s starting with ‘::’ are interpreted as fully-qualified names and all others are interpreted as names relative to the default QoS profile of the QosProvider instance. When id is null, it is interpreted as a non-named QoS within the default QoS profile associated with the QosProvider. |
Definition at line 221 of file QosProvider.cs.
|
inline |
Resolves the PublisherQos identified by the id from the uri this QosProvider is associated with.
publisherQos | Reference to a PublisherQos that will be set with the PublisherQos from the given URI (and profile) using the id. |
id | The fully-qualified name that identifies a QoS within the uri associated with the QosProvider or a name that identifies a QoS within the uri associated with the QosProvider instance relative to its default QoS profile. Id’s starting with ‘::’ are interpreted as fully-qualified names and all others are interpreted as names relative to the default QoS profile of the QosProvider instance. When id is null, it is interpreted as a non-named QoS within the default QoS profile associated with the QosProvider. |
Definition at line 398 of file QosProvider.cs.
|
inline |
Resolves the SubscriberQos identified by the id from the uri this QosProvider is associated with.
subscriberQos | Reference to a SubscriberQos that will be set with the SubscriberQos from the given URI (and profile) using the id. |
id | The fully-qualified name that identifies a QoS within the uri associated with the QosProvider or a name that identifies a QoS within the uri associated with the QosProvider instance relative to its default QoS profile. Id’s starting with ‘::’ are interpreted as fully-qualified names and all others are interpreted as names relative to the default QoS profile of the QosProvider instance. When id is null, it is interpreted as a non-named QoS within the default QoS profile associated with the QosProvider. |
Definition at line 309 of file QosProvider.cs.
|
inline |
Resolves the TopicQos identified by the id from the uri this QosProvider is associated with.
topicQos | Reference to a TopicQos that will be set with the TopicQos from the given URI (and profile) using the id. |
id | The fully-qualified name that identifies a QoS within the uri associated with the QosProvider or a name that identifies a QoS within the uri associated with the QosProvider instance relative to its default QoS profile. Id’s starting with ‘::’ are interpreted as fully-qualified names and all others are interpreted as names relative to the default QoS profile of the QosProvider instance. When id is null, it is interpreted as a non-named QoS within the default QoS profile associated with the QosProvider. |
Definition at line 265 of file QosProvider.cs.