| 805 | } |
| 806 | |
| 807 | void |
| 808 | Monitor::MonitorDataStorage::manageParticipantQos( |
| 809 | TreeNode* parent, |
| 810 | const DDS::ParticipantBuiltinTopicData& data, |
| 811 | bool& layoutChanged, |
| 812 | bool& dataChanged |
| 813 | ) |
| 814 | { |
| 815 | // struct ParticipantBuiltinTopicData { |
| 816 | // BuiltinTopicKey_t key; |
| 817 | // UserDataQosPolicy user_data; |
| 818 | // }; |
| 819 | |
| 820 | // Obtain the node to hold the Qos policy values. |
| 821 | bool create = false; |
| 822 | TreeNode* qosNode |
| 823 | = this->createQosNode( std::string("DomainParticipantQos"), parent, create); |
| 824 | layoutChanged |= create; |
| 825 | |
| 826 | // Install the policy values. |
| 827 | |
| 828 | // BuiltinTopicKey_t key; |
| 829 | QString builtinTopicKeyLabel |
| 830 | = QString( QObject::tr("BuiltinTopicKey.value")); |
| 831 | if( this->manageQosPolicy( qosNode, builtinTopicKeyLabel, data.key)) { |
| 832 | layoutChanged = true; |
| 833 | |
| 834 | } else { |
| 835 | dataChanged = true; |
| 836 | } |
| 837 | |
| 838 | // UserDataQosPolicy user_data; |
| 839 | QString userDataLabel |
| 840 | = QString( QObject::tr("UserDataQosPolicy.user_data")); |
| 841 | if( this->manageQosPolicy( qosNode, userDataLabel, data.user_data)) { |
| 842 | layoutChanged = true; |
| 843 | |
| 844 | } else { |
| 845 | dataChanged = true; |
| 846 | } |
| 847 | } |
| 848 | |
| 849 | void |
| 850 | Monitor::MonitorDataStorage::manageTopicQos( |
nothing calls this directly
no test coverage detected