QoS policy from code to xml
I used the following methods to set the desied paticipant QoS policy in my code and it works fine. I want to use a QoS xml to implement exact the same behavior. What does the xml look like? thanks!
domainQos.extensions().receiver_pool.thread().priority(98);
domainQos.extensions().receiver_pool.thread().mask(rti::core::ThreadSettingsKindMask::realtime_priority());
domainQos.extensions().event.thread().priority(98);
domainQos.extensions().event.thread().mask(rti::core::ThreadSettingsKindMask::realtime_priority());
domainQos.extensions().database.thread().priority(98);
domainQos.extensions().database.thread().mask(rti::core::ThreadSettingsKindMask::realtime_priority());
Hi,
You should probably read through some of the QoS Profile documentation first..Chapter 19 of the Connext Users Manual has all of the information you need:
https://community.rti.com/static/documentation/connext-dds/6.1.1/doc/manuals/connext_dds_professional/users_manual/index.htm#users_manual/XMLConfiguration.htm#xmlconfiguration_1275484337_216998%3FTocPath%3DPart%25203%253A%2520Advanced%2520Concepts%7C19.%2520Configuring%2520QoS%2520with%2520XML%7C_____0
You not only need to configure the QoS values in XML, but you will also need to modify your application code to reference the QoS Profiles that you've configured.
There are many links to examples, forum questions, solutions, that will show up if you search this community website for "QoS Profile".
Here's a very relevant link with example code/XML:
https://community.rti.com/examples/using-qos-profiles