Marked_Default_Qos.h

Go to the documentation of this file.
00001 /*
00002  *
00003  *
00004  * Distributed under the OpenDDS License.
00005  * See: http://www.opendds.org/license.html
00006  */
00007 
00008 #ifndef OPENDDS_DCPS_MARKED_DEFAULT_QOS_H
00009 #define OPENDDS_DCPS_MARKED_DEFAULT_QOS_H
00010 
00011 #include "dds/DdsDcpsInfrastructureC.h"
00012 
00013 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00014 #pragma once
00015 #endif /* ACE_LACKS_PRAGMA_ONCE */
00016 
00017 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL
00018 
00019 namespace OpenDDS {
00020 namespace DCPS {
00021 
00022 /**
00023 * This class defines the marked default qos values and provides accessors
00024 * for them. The marked default qos contains a special value that indicates
00025 * the default qos obtained via get_default_XXX_qos() call with the entity
00026 * factory should be used. These values are used when the user wants to use
00027 * the default qos provided by the entity factory.
00028 */
00029 class OpenDDS_Dcps_Export Marked_Default_Qos {
00030 public:
00031   static DDS::DomainParticipantQos  marked_default_DomainParticipantQos();
00032   static DDS::TopicQos              marked_default_TopicQos();
00033   static DDS::DataWriterQos         marked_default_DataWriterQos();
00034   static DDS::PublisherQos          marked_default_PublisherQos();
00035   static DDS::DataReaderQos         marked_default_DataReaderQos();
00036   static DDS::SubscriberQos         marked_default_SubscriberQos();
00037   static DDS::DataWriterQos         marked_default_DataWriter_Use_TopicQos();
00038   static DDS::DataReaderQos         marked_default_DataReader_Use_TopicQos();
00039 };
00040 
00041 // These values ARE NOT the default value but is an indicator to use the default
00042 // qos via get_default_XXX_qos() call.
00043 #define PARTICIPANT_QOS_DEFAULT     \
00044   OpenDDS::DCPS::Marked_Default_Qos::marked_default_DomainParticipantQos ()
00045 #define TOPIC_QOS_DEFAULT           \
00046   OpenDDS::DCPS::Marked_Default_Qos::marked_default_TopicQos ()
00047 #define PUBLISHER_QOS_DEFAULT       \
00048   OpenDDS::DCPS::Marked_Default_Qos::marked_default_PublisherQos ()
00049 #define SUBSCRIBER_QOS_DEFAULT      \
00050   OpenDDS::DCPS::Marked_Default_Qos::marked_default_SubscriberQos ()
00051 #define DATAWRITER_QOS_DEFAULT      \
00052   OpenDDS::DCPS::Marked_Default_Qos::marked_default_DataWriterQos ()
00053 #define DATAREADER_QOS_DEFAULT      \
00054   OpenDDS::DCPS::Marked_Default_Qos::marked_default_DataReaderQos ()
00055 #define DATAWRITER_QOS_USE_TOPIC_QOS    \
00056   OpenDDS::DCPS::Marked_Default_Qos::marked_default_DataWriter_Use_TopicQos ()
00057 #define DATAREADER_QOS_USE_TOPIC_QOS    \
00058   OpenDDS::DCPS::Marked_Default_Qos::marked_default_DataReader_Use_TopicQos ()
00059 
00060 } // namespace DCPS
00061 } // namespace OpenDDS
00062 
00063 OPENDDS_END_VERSIONED_NAMESPACE_DECL
00064 
00065 #endif /* OPENDDS_DCPS_MARKED_DEFAULT_QOS_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1