QualityOfService QML Type
QoS policy enums and ready-made profiles for QML. More...
| Import Statement: | import QtRos2.Core |
| Status: | Experimental Extension |
Methods
- qualityOfService parametersDefault()
- qualityOfService sensorData()
- qualityOfService servicesDefault()
- qualityOfService systemDefault()
- qualityOfService transientLocal()
Detailed Description
A singleton companion to the qualityOfService value type. Use its enums to set individual policies (e.g. QualityOfService.DurabilityTransientLocal) and its factory methods for the standard ROS 2 profiles.
See also qualityOfService.
Method Documentation
qualityOfService parametersDefault()
Reliable, keep-last depth 1000, volatile — matches the parameter services.
qualityOfService sensorData()
Best-effort, keep-last depth 5, volatile — for high-rate sensor streams (scans, images) where the latest sample matters more than delivery.
qualityOfService servicesDefault()
Reliable, keep-last depth 10, volatile — the default for service exchanges.
qualityOfService systemDefault()
The RMW system-default QoS (the default for a freshly-constructed value).
qualityOfService transientLocal()
Reliable + transient-local (latched), keep-last depth 1 — the right default for one-shot latched topics such as maps and /tf_static, so a late subscriber still receives the last value.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.