CoreDX DDS C++ Reference Manual
qos_provider.hh
Go to the documentation of this file.
1 /*****************************************************************
2  *
3  * file: qos_provider.hh
4  * desc: C++ API for QoS from external configuration
5  * (eg, XML)
6  *
7  *****************************************************************
8  *
9  * Copyright(C) 2006-2016 Twin Oaks Computing, Inc
10  * All rights reserved. Castle Rock, CO 80108
11  *
12  *****************************************************************
13  *
14  * This software has been provided pursuant to a License Agreement
15  * containing restrictions on its use. This software contains
16  * valuable trade secrets and proprietary information of
17  * Twin Oaks Computing, Inc and is protected by law. It may not be
18  * copied or distributed in any form or medium, disclosed to third
19  * parties, reverse engineered or used in any manner not provided
20  * for in said License Agreement except with the prior written
21  * authorization from Twin Oaks Computing, Inc.
22  *
23  *****************************************************************/
24 #ifndef _DDS_QOS_PROVIDER_HH
25 #define _DDS_QOS_PROVIDER_HH
26 
27 #include <dds/dds.hh>
28 #include <dds/xml_api.h>
29 
34 struct _DDS_QosProvider;
35 namespace DDS
36 {
41  class COREDX_CPP_CLASS_API QosProvider
42  {
43  public:
58  QosProvider ( const char * uri,
59  const char * profile,
60  CDX_XmlApi * xml_parser );
65  ~QosProvider( );
66 
73  DomainParticipantFactoryQos * get_participantfactory_qos ( const char * id);
78  void return_participantfactory_qos ( DomainParticipantFactoryQos * qos);
79 
86  DomainParticipantQos * get_participant_qos ( const char * id);
91  void return_participant_qos ( DomainParticipantQos * qos);
92 
99  TopicQos * get_topic_qos ( const char * id);
104  void return_topic_qos ( TopicQos * qos);
105 
112  SubscriberQos * get_subscriber_qos ( const char * id);
117  void return_subscriber_qos ( SubscriberQos * qos);
118 
125  PublisherQos * get_publisher_qos ( const char * id);
130  void return_publisher_qos ( PublisherQos * qos);
131 
138  DataReaderQos * get_datareader_qos ( const char * id);
143  void return_datareader_qos ( DataReaderQos * qos);
144 
151  DataWriterQos * get_datawriter_qos ( const char * id);
156  void return_datawriter_qos ( DataWriterQos * qos);
157 
158  private:
159  QosProvider();
160  QosProvider(const QosProvider &other);
161  QosProvider& operator=( const QosProvider &other);
162 
163  struct _DDS_QosProvider * _impl;
164  };
165 
166 } // namespace DDS
167 
168 #endif
Provides a generic XML Parser capability.
Definition: xml_api.h:53
Structure that holds Publisher Quality of Service policies.
Definition: dds.hh:633
Structure that holds DomainParticipantFactory Quality of Service policies.
Definition: dds.hh:499
Structure that holds Subscriber Quality of Service policies.
Definition: dds.hh:721
Provides the DDS infrastructure.
Definition: dds_builtin_basic.hh:28
Structure that holds Topic Quality of Service policies.
Definition: dds.hh:549
Structure that holds DataWriter Quality of Service policies.
Definition: dds.hh:589
Structure that holds DomainParticipant Quality of Service policies.
Definition: dds.hh:521
Structure that holds DataReader Quality of Service policies.
Definition: dds.hh:674
QosProvider loads QoS settings from a library and provides interfaces to access entity specific QoS P...
Definition: qos_provider.hh:41

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