Function plansys2::parse_action
Defined in File Utils.hpp
Function Documentation
-
std::pair<std::string, int> plansys2::parse_action(const std::string &input)
Parse the action expression and time (optional) 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>” The output action expression will have the following format. “<name> <param_1> … <param_n>”
- Parameters:
input – [in] The input string.
- Returns:
result <- pair(string, int) result(0) The action expression. result(1) The action start time.