Files
deb-python-taskflow/taskflow/types
Joshua Harlow c5c22112a2 Ensure state machine can be frozen
To match the other types ability to be frozen so that
they can no longer be mutated add a freeze() method to
the state machine type that ensures that subsequent
add_state, add_reaction, add_transition method calls will
raise an exception.

This is quite useful when the state machine is constructed
in one function and the creator wants to stop further adds
by other functions. To start use this freeze() capability in
the runner state machine when a machine build is requested.

Part of blueprint runner-state-machine

Change-Id: I61488e4158b38d39017435af008382f28d800049
2014-09-18 13:50:44 -07:00
..
2014-09-18 13:50:44 -07:00
2014-06-18 14:36:22 -07:00