#include <ParticipantQos_Handler.h>
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) |
Definition at line 18 of file ParticipantQos_Handler.h.
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 49 of file ParticipantQos_Handler.cpp.
References OpenDDS::DCPS::DCPS_debug_level, and DDS::DomainParticipantQos::entity_factory.
00051 { 00052 00053 // if (xml_qos->user_data ()) 00054 // { 00055 // TODO: Have a good look at this. 00056 00057 // const std::string value = *xml_qos->user_data ()->value (); 00058 // 00059 // ACE_DEBUG ((LM_TRACE, 00060 // ACE_TEXT ("QOS_DataReader_T<XML_QOS_TYPE, DDS_QOS_TYPE>::read_qos - ") 00061 // ACE_TEXT ("Set user_data to <%C>\n"), 00062 // value.c_str ())); 00063 // 00064 // dds_qos.user_data.value = 00065 // *xml_qos->user_data ()->value (); 00066 // } 00067 00068 00069 if (dp->entity_factory_p ()) 00070 { 00071 if (dp->entity_factory ().autoenable_created_entities_p ()) 00072 { 00073 dp_qos.entity_factory.autoenable_created_entities = 00074 dp->entity_factory ().autoenable_created_entities (); 00075 00076 if (OpenDDS::DCPS::DCPS_debug_level > 9) 00077 { 00078 ACE_DEBUG ((LM_TRACE, 00079 ACE_TEXT ("ParticipantQos_Handler::get_participant_qos - ") 00080 ACE_TEXT ("Set entity_factory autoenable_created_entities to <%d>\n"), 00081 dp_qos.entity_factory.autoenable_created_entities)); 00082 } 00083 } 00084 } 00085 return true; 00086 }
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.
Referenced by OpenDDS::DCPS::QOS_XML_File_Handler::get_participant_qos().