QOS_DataWriter_T< XML_QOS_TYPE, DDS_QOS_TYPE > Class Template Reference

#include <QOS_DataWriter_T.h>

Inheritance diagram for QOS_DataWriter_T< XML_QOS_TYPE, DDS_QOS_TYPE >:

Inheritance graph
[legend]
Collaboration diagram for QOS_DataWriter_T< XML_QOS_TYPE, DDS_QOS_TYPE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QOS_DataWriter_T (void)
 ~QOS_DataWriter_T (void)
void read_qos (DDS_QOS_TYPE &, const XML_QOS_TYPE)

Private Types

typedef QOS_DwTp_Base_T< XML_QOS_TYPE,
DDS_QOS_TYPE > 
DwTpBase

Detailed Description

template<typename XML_QOS_TYPE, typename DDS_QOS_TYPE>
class QOS_DataWriter_T< XML_QOS_TYPE, DDS_QOS_TYPE >

Author:
Marcel Smit (msmit@remedy.nl)
Starting point for parsing the Topic QOS settings.

Definition at line 13 of file QOS_DataWriter_T.h.


Member Typedef Documentation

template<typename XML_QOS_TYPE, typename DDS_QOS_TYPE>
typedef QOS_DwTp_Base_T<XML_QOS_TYPE, DDS_QOS_TYPE> QOS_DataWriter_T< XML_QOS_TYPE, DDS_QOS_TYPE >::DwTpBase [private]

Definition at line 23 of file QOS_DataWriter_T.h.


Constructor & Destructor Documentation

template<typename XML_QOS_TYPE, typename DDS_QOS_TYPE>
QOS_DataWriter_T< XML_QOS_TYPE, DDS_QOS_TYPE >::QOS_DataWriter_T ( void   ) 

Definition at line 6 of file QOS_DataWriter_T.cpp.

00007 {
00008 }

template<typename XML_QOS_TYPE, typename DDS_QOS_TYPE>
QOS_DataWriter_T< XML_QOS_TYPE, DDS_QOS_TYPE >::~QOS_DataWriter_T ( void   ) 

Definition at line 11 of file QOS_DataWriter_T.cpp.

00012 {
00013 }


Member Function Documentation

template<typename XML_QOS_TYPE, typename DDS_QOS_TYPE>
void QOS_DataWriter_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos ( DDS_QOS_TYPE &  ,
const   XML_QOS_TYPE 
)

Reimplemented from QOS_DwTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >.

Definition at line 17 of file QOS_DataWriter_T.cpp.

References OpenDDS::DCPS::DCPS_debug_level, and QOS_DwTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().

00018 {
00019   // First start parsing the QOS settings which the DataWriter, the DataReader,
00020   // and the Topic have in common
00021 
00022   DwTpBase::read_qos (dds_qos, xml_qos);
00023 
00024   // Now parse the topic-only QOS settings.
00025 
00026 //  if (xml_qos->user_data ())
00027 //    {
00028       // TODO: Have a good look at this.
00029 
00030 //       const std::string value = *xml_qos->user_data ()->value ();
00031 //
00032 //       ACE_DEBUG ((LM_TRACE,
00033 //         ACE_TEXT ("QOS_DataWriter_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ")
00034 //         ACE_TEXT ("Set user_data to <%C>\n"),
00035 //         value.c_str ()));
00036 //
00037 //       dds_qos.user_data.value =
00038 //         *xml_qos->user_data ()->value ();
00039 //     }
00040  if (xml_qos->ownership_strength_p ())
00041    {
00042       dds_qos.ownership_strength.value = static_cast<CORBA::Long>(xml_qos->ownership_strength().value());
00043 
00044       if (OpenDDS::DCPS::DCPS_debug_level > 9)
00045         {
00046           ACE_DEBUG ((LM_TRACE,
00047             ACE_TEXT ("QOS_DataWriter_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ")
00048             ACE_TEXT ("Set ownership_strength to <%u>\n"),
00049             dds_qos.ownership_strength.value));
00050         }
00051    }
00052   if (xml_qos->writer_data_lifecycle_p () &&
00053       xml_qos->writer_data_lifecycle ().autodispose_unregistered_instances_p ())
00054     {
00055       dds_qos.writer_data_lifecycle.autodispose_unregistered_instances =
00056         xml_qos->writer_data_lifecycle ().autodispose_unregistered_instances ();
00057 
00058       if (OpenDDS::DCPS::DCPS_debug_level > 9)
00059         {
00060           ACE_DEBUG ((LM_TRACE,
00061             ACE_TEXT ("QOS_DataWriter_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ")
00062             ACE_TEXT ("Set autodispose_unregistered_instances to <%d>\n"),
00063             dds_qos.writer_data_lifecycle.autodispose_unregistered_instances));
00064         }
00065     }
00066 }


The documentation for this class was generated from the following files:
Generated on Fri Feb 12 20:05:57 2016 for OpenDDS by  doxygen 1.4.7