as2fm.scxml_converter.scxml_entries.bt_utils.BtResponse
- class as2fm.scxml_converter.scxml_entries.bt_utils.BtResponse(value)
Bases:
Enum
Enumeration of possible BT responses.
- __init__()
Methods
str_to_int
(resp_str)Convert the BT response to an integer.
process_expr
(expr)Substitute occurrences of BT responses in the expression.
Attributes
SUCCESS
FAILURE
RUNNING
- static process_expr(expr: str) str
Substitute occurrences of BT responses in the expression.
- static str_to_int(resp_str: str) int
Convert the BT response to an integer.