VLink  2.0.0
A high-performance communication middleware
vlink::QosProfile Namespace Reference

Pre-built Qos constants for common autonomy and embedded workloads. More...

Functions

VLINK_EXPORT const std::unordered_map< std::string, Qos > & get_available_qos_map () noexcept
 Returns the name-to-Qos lookup table containing every profile in this namespace. More...
 

Detailed Description

Pre-built Qos constants for common autonomy and embedded workloads.

Every constant in this namespace carries valid = true and is safe to pass directly to any VLink endpoint or to register with a transport. Pick the closest profile for your traffic and customise a copy if you need finer control.

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 ( )
noexcept

Returns the name-to-Qos lookup table containing every profile in this namespace.

The map is keyed by profile name (e.g. "sensor", "event") and is safe to read concurrently from any thread once initialised.

Returns
Constant reference to the global unordered_map<string, Qos>.