CoreDX DDS C Reference Manual
qos_provider.h
Go to the documentation of this file.
1 /*****************************************************************
2  *
3  * file: qos_provider.h
4  * desc: A means of getting 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_H
25 #define _DDS_QOS_PROVIDER_H
26 
27 #include <dds/dds.h>
28 #include <dds/xml_api.h>
29 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif /* __cplusplus */
38 
41  typedef struct _DDS_QosProvider DDS_QosProvider;
42 
57  COREDX_C_ADD_API DDS_QosProvider * DDS_QosProvider_newQosProvider ( const char * uri,
58  const char * profile,
59  CDX_XmlApi * xml_parser);
64  COREDX_C_ADD_API void DDS_QosProvider_return_provider ( DDS_QosProvider * qp ) ;
72  const char * id); /* id can be NULL */
79 
80 
88  const char * id); /* id can be NULL */
93  COREDX_C_ADD_API void DDS_QosProvider_return_participant_qos ( DDS_QosProvider * qp,
95 
103  const char * id); /* id can be NULL */
108  COREDX_C_ADD_API void DDS_QosProvider_return_topic_qos ( DDS_QosProvider * qp,
109  DDS_TopicQos * qos);
110 
118  const char * id); /* id can be NULL */
123  COREDX_C_ADD_API void DDS_QosProvider_return_subscriber_qos ( DDS_QosProvider * qp,
124  DDS_SubscriberQos * qos);
125 
133  const char * id); /* id can be NULL */
138  COREDX_C_ADD_API void DDS_QosProvider_return_publisher_qos ( DDS_QosProvider * qp,
139  DDS_PublisherQos * qos);
140 
148  const char * id); /* id can be NULL */
153  COREDX_C_ADD_API void DDS_QosProvider_return_datareader_qos ( DDS_QosProvider * qp,
154  DDS_DataReaderQos * qos);
155 
163  const char * id); /* id can be NULL */
168  COREDX_C_ADD_API void DDS_QosProvider_return_datawriter_qos ( DDS_QosProvider * qp,
169  DDS_DataWriterQos * qos);
170 
171 #ifdef __cplusplus
172 }
173 #endif /* __cplusplus */
174 
175 
176 #endif
Structure that holds DDS_Subscriber Quality of Service policies.
Definition: dds.h:1627
Structure that holds DDS_Topic Quality of Service policies.
Definition: dds.h:1460
void DDS_QosProvider_return_participantfactory_qos(DDS_QosProvider *qp, DDS_DomainParticipantFactoryQos *qos)
Return a DomainParticipanFactoryQos back to the factory.
void DDS_QosProvider_return_datawriter_qos(DDS_QosProvider *qp, DDS_DataWriterQos *qos)
Return a DataWriterQos back to the factory.
void DDS_QosProvider_return_provider(DDS_QosProvider *qp)
Return a QosProvider back to the factory.
void DDS_QosProvider_return_topic_qos(DDS_QosProvider *qp, DDS_TopicQos *qos)
Return a TopicQos back to the factory.
void DDS_QosProvider_return_datareader_qos(DDS_QosProvider *qp, DDS_DataReaderQos *qos)
Return a DataReaderQos back to the factory.
Structure that holds DDS_DataReader Quality of Service policies.
Definition: dds.h:1579
DDS_SubscriberQos * DDS_QosProvider_get_subscriber_qos(DDS_QosProvider *qp, const char *id)
Access a Subscriber QoS.
DDS_PublisherQos * DDS_QosProvider_get_publisher_qos(DDS_QosProvider *qp, const char *id)
Access a Publisher QoS.
void DDS_QosProvider_return_publisher_qos(DDS_QosProvider *qp, DDS_PublisherQos *qos)
Return a PublisherQos back to the factory.
DDS_DataReaderQos * DDS_QosProvider_get_datareader_qos(DDS_QosProvider *qp, const char *id)
Access a DataReader QoS.
DDS_DataWriterQos * DDS_QosProvider_get_datawriter_qos(DDS_QosProvider *qp, const char *id)
Access a DataWriter QoS.
struct _DDS_QosProvider DDS_QosProvider
Definition: qos_provider.h:41
DDS_DomainParticipantQos * DDS_QosProvider_get_participant_qos(DDS_QosProvider *qp, const char *id)
Access a DomainParticipant QoS.
Structure that holds DDS_DataWriter Quality of Service policies.
Definition: dds.h:1498
Structure that holds DDS_Publisher Quality of Service policies.
Definition: dds.h:1543
void DDS_QosProvider_return_subscriber_qos(DDS_QosProvider *qp, DDS_SubscriberQos *qos)
Return a SubscriberQos back to the factory.
DDS_DomainParticipantFactoryQos * DDS_QosProvider_get_participantfactory_qos(DDS_QosProvider *qp, const char *id)
Access a DomainParticipantFactory QoS.
void DDS_QosProvider_return_participant_qos(DDS_QosProvider *qp, DDS_DomainParticipantQos *qos)
Return a DomainParticipantQos back to the factory.
DDS_QosProvider * DDS_QosProvider_newQosProvider(const char *uri, const char *profile, CDX_XmlApi *xml_parser)
Create a new QosProvider instance that loads QoS settings from a library.
Structure that holds DDS_DomainParticipantFactory Quality of Service policies.
Definition: dds.h:1412
DDS_TopicQos * DDS_QosProvider_get_topic_qos(DDS_QosProvider *qp, const char *id)
Access a Topic QoS.
Structure that holds DDS_DomainParticipant Quality of Service policies.
Definition: dds.h:1431

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