as2fm.scxml_converter.scxml_entries.bt_utils.BtResponse
- class as2fm.scxml_converter.scxml_entries.bt_utils.BtResponse(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
Enumeration of possible BT responses.
- __init__(*args, **kwds)
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.