MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / manageParticipantQos

Method manageParticipantQos

tools/monitor/MonitorDataStorage.cpp:807–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805}
806
807void
808Monitor::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
849void
850Monitor::MonitorDataStorage::manageTopicQos(

Callers

nothing calls this directly

Calls 1

createQosNodeMethod · 0.95

Tested by

no test coverage detected