ParticipantQos_Handler Class Reference

#include <ParticipantQos_Handler.h>

List of all members.

Static Public Member Functions

static bool get_participant_qos (::DDS::DomainParticipantQos &dp_qos,::dds::qosProfile *profile, const ACE_TCHAR *name=0)

Static Private Member Functions

static bool get_participant_qos (DDS::DomainParticipantQos &dp_qos, dds::domainparticipantQos *dp)

Detailed Description

Author:
Marcel Smit (msmit@remedy.nl)

Definition at line 20 of file ParticipantQos_Handler.h.


Member Function Documentation

bool ParticipantQos_Handler::get_participant_qos ( DDS::DomainParticipantQos dp_qos,
dds::domainparticipantQos *  dp 
) [static, private]

Start parsing the QOS XML, using the template classes.

Definition at line 51 of file ParticipantQos_Handler.cpp.

References ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, DDS::DomainParticipantQos::entity_factory, and LM_TRACE.

00053 {
00054 
00055 //  if (xml_qos->user_data ())
00056 //    {
00057       // TODO: Have a good look at this.
00058 
00059 //       const std::string value = *xml_qos->user_data ()->value ();
00060 //
00061 //       ACE_DEBUG ((LM_TRACE,
00062 //         ACE_TEXT ("QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ")
00063 //         ACE_TEXT ("Set user_data to <%C>\n"),
00064 //         value.c_str ()));
00065 //
00066 //       dds_qos.user_data.value =
00067 //         *xml_qos->user_data ()->value ();
00068 //     }
00069 
00070 
00071   if (dp->entity_factory_p ())
00072     {
00073       if (dp->entity_factory ().autoenable_created_entities_p ())
00074         {
00075           dp_qos.entity_factory.autoenable_created_entities =
00076             dp->entity_factory ().autoenable_created_entities ();
00077 
00078           if (OpenDDS::DCPS::DCPS_debug_level > 9)
00079             {
00080               ACE_DEBUG ((LM_TRACE,
00081                 ACE_TEXT ("ParticipantQos_Handler::get_participant_qos - ")
00082                 ACE_TEXT ("Set entity_factory autoenable_created_entities to <%d>\n"),
00083                 dp_qos.entity_factory.autoenable_created_entities));
00084             }
00085         }
00086     }
00087   return true;
00088 }

Here is the call graph for this function:

static bool ParticipantQos_Handler::get_participant_qos ( ::DDS::DomainParticipantQos dp_qos,
::dds::qosProfile *  profile,
const ACE_TCHAR name = 0 
) [static]

Find the correct domainparticipantQos within the given profile, based on the given name.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1