Function ament_index_cpp::get_resources

Function Documentation

std::map<std::string, std::string> ament_index_cpp::get_resources(const std::string &resource_type)

Get a map of resources names to their installation prefix.

Parameters:

resource_type – type of the resource.

Throws:

std::runtime_error – if resource_type is empty.

Returns:

a map of resources names to their installation prefix.