CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
QosProvider Class Reference

QosProvider loads QoS settings from a library and provides interfaces to access entity specific QoS Policies. More...

Public Member Functions

 QosProvider (string uri, string profile)
 Constructor. Creates a new QosProvider instance that loads QoS settings from a library. More...
 
void cleanup ()
 "Destructor". Returns a QosProvider back to the factory. More...
 
DomainParticipantFactoryQos get_participantfactory_qos (string id)
 Access a DomainParticipantFactory QoS. More...
 
DomainParticipantQos get_participant_qos (string id)
 Access a DomainParticipant QoS. More...
 
TopicQos get_topic_qos (string id)
 Access a Topic QoS. More...
 
SubscriberQos get_subscriber_qos (string id)
 Access a Subscriber QoS. More...
 
PublisherQos get_publisher_qos (string id)
 Access a Publisher QoS. More...
 
DataReaderQos get_datareader_qos (string id)
 Access a DataReader QoS. More...
 
DataWriterQos get_datawriter_qos (string id)
 Access a DataWriter QoS. More...
 

Detailed Description

QosProvider loads QoS settings from a library and provides interfaces to access entity specific QoS Policies.

Constructor & Destructor Documentation

◆ QosProvider()

QosProvider ( string  uri,
string  profile 
)
inline

Constructor. Creates a new QosProvider instance that loads QoS settings from a library.

The QoS library source is indicated by 'uri'. Currently CoreDX DDS supports only the 'file:///' type URI. The QosProvider selects QoS policies from the library based on the 'profile' parameter.

Member Function Documentation

◆ cleanup()

void cleanup ( )
inline

"Destructor". Returns a QosProvider back to the factory.

This will reclaim any resources allocated by the QosProvider.

◆ get_datareader_qos()

DataReaderQos get_datareader_qos ( string  id)
inline

Access a DataReader QoS.

If 'id' is NULL, then the first instance of DataReaderQos in the library is returned. If 'id' is not NULL, then the 'name' field of the QoS policy is checked, and the first match is returned.

◆ get_datawriter_qos()

DataWriterQos get_datawriter_qos ( string  id)
inline

Access a DataWriter QoS.

If 'id' is NULL, then the first instance of DataWriterQos in the library is returned. If 'id' is not NULL, then the 'name' field of the QoS policy is checked, and the first match is returned.

◆ get_participant_qos()

DomainParticipantQos get_participant_qos ( string  id)
inline

Access a DomainParticipant QoS.

If 'id' is NULL, then the first instance of DomainParticipantQos in the library is returned. If 'id' is not NULL, then the 'name' field of the QoS policy is checked, and the first match is returned.

◆ get_participantfactory_qos()

DomainParticipantFactoryQos get_participantfactory_qos ( string  id)
inline

Access a DomainParticipantFactory QoS.

If 'id' is NULL, then the first instance of DomainParticipantFactoryQos in the library is returned. If 'id' is not NULL, then the 'name' field of the DomainParticpantFactoryQos is checked, and the first match is returned.

◆ get_publisher_qos()

PublisherQos get_publisher_qos ( string  id)
inline

Access a Publisher QoS.

If 'id' is NULL, then the first instance of PublisherQos in the library is returned. If 'id' is not NULL, then the 'name' field of the QoS policy is checked, and the first match is returned.

◆ get_subscriber_qos()

SubscriberQos get_subscriber_qos ( string  id)
inline

Access a Subscriber QoS.

If 'id' is NULL, then the first instance of SubscriberQos in the library is returned. If 'id' is not NULL, then the 'name' field of the QoS policy is checked, and the first match is returned.

◆ get_topic_qos()

TopicQos get_topic_qos ( string  id)
inline

Access a Topic QoS.

If 'id' is NULL, then the first instance of TopicQos in the library is returned. If 'id' is not NULL, then the 'name' field of the QoS policy is checked, and the first match is returned.


© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.