Classes | |
class | StateEvent |
StateEvent class. More... | |
class | SimpleHsm |
SimpleHsm class. More... | |
Functions | |
def | deep_history |
Add a deep history psuedostate to a composite state. | |
Variables | |
int | SIG_NULL = 0 |
Null signal, all state functions should ignore this signal and return their parent state (or None if the top level state). | |
int | SIG_INIT = 1 |
Initialisation signal, a state function should transition to a default substate (SimpleHsm.InitTransitionState()) if it has substates. | |
int | SIG_ENTRY = 2 |
Entry signal, a state function should perform its entry actions (if any). | |
int | SIG_EXIT = 3 |
Exit signal, a state function should perform its exit actions (if any). | |
int | SIG_USER = 4 |
User signals should start from this index. |
def simplehsm.deep_history | ( | state | ) |
Add a deep history psuedostate to a composite state.
state | The state to recive a deep history child state |
int simplehsm.SIG_ENTRY = 2 |
Entry signal, a state function should perform its entry actions (if any).
int simplehsm.SIG_EXIT = 3 |
Exit signal, a state function should perform its exit actions (if any).
int simplehsm.SIG_INIT = 1 |
Initialisation signal, a state function should transition to a default substate (SimpleHsm.InitTransitionState()) if it has substates.
int simplehsm.SIG_NULL = 0 |
Null signal, all state functions should ignore this signal and return their parent state (or None if the top level state).
int simplehsm.SIG_USER = 4 |
User signals should start from this index.