Function rmw_zenoh_cpp::get_z_config
Defined in File zenoh_config.hpp
Function Documentation
-
std::optional<zenoh::Config> rmw_zenoh_cpp::get_z_config(const ConfigurableEntity &entity)
============================================================================= Get the zenoh configuration for a configurable entity.
The behavior is as follows:
If the environment variable for the entity is set, the z_owned_config_t is configured as per the configuration file retrieved.
If the environment variable is not set, the z_owned_config_t is configured using the rmw_zenoh default configuration file.
- Parameters:
entity – The zenoh entity to be configured.
config – The zenoh configuration to be filled.
- Returns:
The zenoh configuration to be filled.