Function plansys2::get_action_name

Function Documentation

std::string plansys2::get_action_name(const std::string &input)

Parse the action name from an input string.

The input string can have either of the following formats. “(<name> <param_1> … <param_n>)” “(<name> <param_1> … <param_n>):<time>”

Parameters:

input[in] The input string.

Returns:

The name of the action.