00001 /** 00002 * @author Marcel Smit (msmit@remedy.nl) 00003 * 00004 * 00005 * This template contains the parsing of all QOS XML setting 00006 * which the DataWriter and the DataReader have in common. 00007 * 00008 * The DDS_QOS_TYPE template attribute can either contain an 00009 * ::DDS::DataReaderQos or an ::DDS::DataWriterQos. 00010 * These are the IDL representatives. 00011 * 00012 * The XML_QOS_TYPE can either contain an ::dds::datareaderQos or 00013 * an ::dds::datawriterQos. These are the XML representatives. 00014 * 00015 */ 00016 #ifndef QOS_DWTP_BASE_T_H_ 00017 #define QOS_DWTP_BASE_T_H_ 00018 00019 #include "QOS_DwDrTp_Base_T.h" 00020 00021 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00022 00023 template <typename XML_QOS_TYPE, typename DDS_QOS_TYPE> 00024 class QOS_DwTp_Base_T 00025 : public QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> 00026 { 00027 public: 00028 QOS_DwTp_Base_T (void); 00029 ~QOS_DwTp_Base_T (void); 00030 00031 void read_qos (DDS_QOS_TYPE&, const XML_QOS_TYPE); 00032 00033 private: 00034 typedef QOS_DwDrTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> DwDrTpBase; 00035 }; 00036 00037 OPENDDS_END_VERSIONED_NAMESPACE_DECL 00038 00039 #include "dds/DCPS/QOS_XML_Handler/QOS_DwTp_Base_T.cpp" 00040 00041 #endif /* QOS_DWTP_BASE_T_H_ */