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.
- Parameters:
input – [in] The input string. It can have one of these formats: “(<name> <param_1> … <param_n>)” “(<name> <param_1> … <param_n>):<time>”
- Returns:
std::pair<std::string, int> with the action expression and start time. result <- pair(string, int) result(0) The action expression. result(1) The action start time.