VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
vlink::QosProfile 命名空间参考

Pre-built Qos constant instances covering common communication patterns. 更多...

函数

VLINK_EXPORT const std::unordered_map< std::string, Qos > & get_available_qos_map () noexcept
 Returns a reference to the global map of all named QoS profiles.

详细描述

Pre-built Qos constant instances covering common communication patterns.

All profiles have valid = true. Choose the profile that best matches your use case, or customise a copy for specific requirements.

参见
Qos, get_available_qos_map()

函数说明

◆ get_available_qos_map()

VLINK_EXPORT const std::unordered_map< std::string, Qos > & vlink::QosProfile::get_available_qos_map ( )
nodiscardnoexcept

Returns a reference to the global map of all named QoS profiles.

The map is keyed by the profile name string (e.g., "sensor", "event") and maps to the corresponding Qos constant. The map is populated with all profiles defined in this namespace and is safe to query from any thread after construction.

返回
Const reference to an unordered_map<string, Qos> of all available profiles.