Class ConfigGenerator

Class Documentation

class ConfigGenerator

This class parses the ROS 2 secutiry policy files into json5 Zenoh Config files

Public Functions

ConfigGenerator(const std::string &policy_filepath, const std::string &enclaves_dir, const std::string &zenoh_router_config_filepath, const std::string &zenoh_session_config_filepath, uint8_t domain_id)

The library is loaded in the constructor.

Parameters:

policy_filepath[in] The policy string path.

Throws:

std::runtime_error – if there are some invalid arguments or the library was not load properly

void generate()