Function ros2_medkit_gateway::string_to_role

Function Documentation

UserRole ros2_medkit_gateway::string_to_role(const std::string &role_str)

Convert string to UserRole.

Throws:

std::invalid_argument – if string is not a valid role