VLink 2.0.0
A high-performance communication middleware
Loading...
Searching...
No Matches
vlink::QosProfile Namespace Reference

Pre-built Qos constant instances covering common communication patterns. More...

Functions

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.

Detailed Description

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.

See also
Qos, get_available_qos_map()

Function Documentation

◆ 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.

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