Function rclcpp::get_c_vector_string

Function Documentation

std::vector<const char*> rclcpp::get_c_vector_string(const std::vector<std::string> &strings_in)

Return the std::vector of C string from the given std::vector<std::string>.

Parameters:

strings_in[in] is a std::vector of std::string

Returns:

the std::vector of C string from the std::vector<std::string>