OpenDDS
Snapshot(2023/04/28-20:55)
|
#include <XML_Intf.h>
Definition at line 27 of file XML_Intf.h.
OpenDDS::DCPS::QOS_XML_Handler::QOS_XML_Handler | ( | ) |
Definition at line 20 of file XML_Intf.cpp.
OpenDDS::DCPS::QOS_XML_Handler::~QOS_XML_Handler | ( | ) |
Definition at line 24 of file XML_Intf.cpp.
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_Handler::addQoSProfile | ( | const dds::qosProfile & | profile | ) |
Add qos profile to sequence
Definition at line 72 of file XML_Intf.cpp.
References ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, LM_ERROR, profiles_, DDS::RETCODE_ERROR, DDS::RETCODE_OK, ACE_OS::strcmp(), and ACE_OS::strlen().
Referenced by addQoSProfileSeq().
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_Handler::addQoSProfileSeq | ( | const dds::qosProfile_seq & | profiles | ) |
Add qos profiles to sequence
Definition at line 112 of file XML_Intf.cpp.
References addQoSProfile(), and DDS::RETCODE_OK.
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_Handler::delQoSProfile | ( | const ACE_TCHAR * | profileName | ) |
Remove qos profile to sequence
Definition at line 129 of file XML_Intf.cpp.
References ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, LM_ERROR, profiles_, DDS::RETCODE_ERROR, DDS::RETCODE_OK, ACE_OS::strcmp(), and ACE_OS::strlen().
|
inline |
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_Handler::get_datareader_qos | ( | ::DDS::DataReaderQos & | dr_qos, |
const ACE_TCHAR * | profile_name, | ||
const ACE_TCHAR * | topic_name | ||
) |
These methods will search for the profileQos in profiles_, using the given profile_name. If found, these methods will invoke the corresponding method on the corresponding Handler class. These classes are available in the xxxQos_Handler.h files.
Definition at line 208 of file XML_Intf.cpp.
References CORBA::Exception::_info(), ACE_ERROR, ACE_TEXT(), ACE_String_Base< char >::c_str(), DataReaderQos_Handler::get_datareader_qos(), get_profile(), LM_ERROR, DDS::RETCODE_BAD_PARAMETER, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by OpenDDS::DCPS::QOS_XML_Loader::get_datareader_qos().
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_Handler::get_datawriter_qos | ( | ::DDS::DataWriterQos & | dw_qos, |
const ACE_TCHAR * | profile_name, | ||
const ACE_TCHAR * | topic_name | ||
) |
These methods will search for the profileQos in profiles_, using the given profile_name. If found, these methods will invoke the corresponding method on the corresponding Handler class. These classes are available in the xxxQos_Handler.h files.
Definition at line 170 of file XML_Intf.cpp.
References CORBA::Exception::_info(), ACE_ERROR, ACE_TEXT(), ACE_String_Base< char >::c_str(), DataWriterQos_Handler::get_datawriter_qos(), get_profile(), LM_ERROR, DDS::RETCODE_BAD_PARAMETER, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by OpenDDS::DCPS::QOS_XML_Loader::get_datawriter_qos().
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_Handler::get_participant_qos | ( | ::DDS::DomainParticipantQos & | sub_qos, |
const ACE_TCHAR * | profile_name | ||
) |
These methods will search for the profileQos in profiles_, using the given profile_name. If found, these methods will invoke the corresponding method on the corresponding Handler class. These classes are available in the xxxQos_Handler.h files.
Definition at line 354 of file XML_Intf.cpp.
References CORBA::Exception::_info(), ACE_ERROR, ACE_TEXT(), ACE_String_Base< char >::c_str(), ParticipantQos_Handler::get_participant_qos(), get_profile(), LM_ERROR, OPENDDS_END_VERSIONED_NAMESPACE_DECL, DDS::RETCODE_BAD_PARAMETER, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by OpenDDS::DCPS::QOS_XML_Loader::get_participant_qos().
|
protected |
Searches for the profile in the XML file, using the given profile name.
Definition at line 29 of file XML_Intf.cpp.
References ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, LM_ERROR, profiles_, ACE_OS::strcmp(), and ACE_OS::strlen().
Referenced by get_datareader_qos(), get_datawriter_qos(), get_participant_qos(), get_publisher_qos(), get_subscriber_qos(), and get_topic_qos().
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_Handler::get_publisher_qos | ( | ::DDS::PublisherQos & | pub_qos, |
const ACE_TCHAR * | profile_name | ||
) |
These methods will search for the profileQos in profiles_, using the given profile_name. If found, these methods will invoke the corresponding method on the corresponding Handler class. These classes are available in the xxxQos_Handler.h files.
Definition at line 284 of file XML_Intf.cpp.
References CORBA::Exception::_info(), ACE_ERROR, ACE_TEXT(), ACE_String_Base< char >::c_str(), get_profile(), PublisherQos_Handler::get_publisher_qos(), LM_ERROR, DDS::RETCODE_BAD_PARAMETER, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by OpenDDS::DCPS::QOS_XML_Loader::get_publisher_qos().
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_Handler::get_subscriber_qos | ( | ::DDS::SubscriberQos & | sub_qos, |
const ACE_TCHAR * | profile_name | ||
) |
These methods will search for the profileQos in profiles_, using the given profile_name. If found, these methods will invoke the corresponding method on the corresponding Handler class. These classes are available in the xxxQos_Handler.h files.
Definition at line 319 of file XML_Intf.cpp.
References CORBA::Exception::_info(), ACE_ERROR, ACE_TEXT(), ACE_String_Base< char >::c_str(), get_profile(), SubscriberQos_Handler::get_subscriber_qos(), LM_ERROR, DDS::RETCODE_BAD_PARAMETER, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by OpenDDS::DCPS::QOS_XML_Loader::get_subscriber_qos().
DDS::ReturnCode_t OpenDDS::DCPS::QOS_XML_Handler::get_topic_qos | ( | ::DDS::TopicQos & | tp_qos, |
const ACE_TCHAR * | profile_name, | ||
const ACE_TCHAR * | topic_name | ||
) |
These methods will search for the profileQos in profiles_, using the given profile_name. If found, these methods will invoke the corresponding method on the corresponding Handler class. These classes are available in the xxxQos_Handler.h files.
Definition at line 246 of file XML_Intf.cpp.
References CORBA::Exception::_info(), ACE_ERROR, ACE_TEXT(), ACE_String_Base< char >::c_str(), get_profile(), TopicQos_Handler::get_topic_qos(), LM_ERROR, DDS::RETCODE_BAD_PARAMETER, DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
Referenced by OpenDDS::DCPS::QOS_XML_Loader::get_topic_qos().
|
inline |
Get profile by name
Definition at line 99 of file XML_Intf.h.
References ACE_TEXT().
size_t OpenDDS::DCPS::QOS_XML_Handler::length | ( | void | ) | const |
Get number of profiles in sequence
Definition at line 164 of file XML_Intf.cpp.
References profiles_.
|
protected |
These methods will search for the profileQos in profiles_, using the given profile_name. If found, these methods will invoke the corresponding method on the corresponding Handler class. These classes are available in the xxxQos_Handler.h files.
Definition at line 116 of file XML_Intf.h.
Referenced by addQoSProfile(), delQoSProfile(), get_profile(), OpenDDS::DCPS::QOS_XML_File_Handler::init(), OpenDDS::DCPS::QOS_XML_String_Handler::init(), and length().