Hi, what do you mean by "read Domain id from QOS XML file"? Properly configured, Connext DDS will load an XML file with QoS profiles as well as definitions of DDS Entities such as DomainParticipants.
It's unclear what you mean by reading a domain ID? What code is doing this "reading"? The XML file loaded by Connext is used by Connext DDS when creating Entities for the user application...and not usually directly used by the user application.
means, how can i add Domain_id in XML file with Qos and would like to read domain_id value from XML file with Qos. i am working in C++17 language and want to know how to write code in c++ to read Domain_id from XML file with Qos
Sorry, you cannot read a domain id set in the XML file. All you can do is set a domain id into the XML file as a part of the definition of a DomainParticipant, and then create a DomainParticipant from the XML definition.
Hi, what do you mean by "read Domain id from QOS XML file"? Properly configured, Connext DDS will load an XML file with QoS profiles as well as definitions of DDS Entities such as DomainParticipants.
You can read about QoS XML files here: https://community.rti.com/static/documentation/connext-dds/6.1.1/doc/manuals/connext_dds_professional/users_manual/index.htm#users_manual/XMLConfiguration.htm
It's unclear what you mean by reading a domain ID? What code is doing this "reading"? The XML file loaded by Connext is used by Connext DDS when creating Entities for the user application...and not usually directly used by the user application.
means, how can i add Domain_id in XML file with Qos and would like to read domain_id value from
XML file with Qos. i am working in C++17 language and want to know how to write code in c++ to read Domain_id from XML file with Qos
Sorry, you cannot read a domain id set in the XML file. All you can do is set a domain id into the XML file as a part of the definition of a DomainParticipant, and then create a DomainParticipant from the XML definition.
Please see this documentation: https://community.rti.com/static/documentation/connext-dds/6.1.1/doc/manuals/connext_dds_professional/xml_application_creation/index.htm
and this: https://community.rti.com/static/documentation/connext-dds/6.1.1/doc/manuals/connext_dds_professional/xml_application_creation/index.htm#xml_based_app_creation_guide/UnderstandingXMLBased/DomainLibrary.htm