State that can be embedded as a child in other states. More...
Public Member Functions | |
def | __init__ |
Base construction for a state. | |
def | abort_child |
def | get_child |
def | get_child_document |
def | get_child_name |
Returns the name of the child state machine. | |
def | load_and_recreate |
Loads the child state machine and calls recreate on it. | |
def | recreate |
After being loaded from disk, recreates/clones the object. | |
def | save_child |
Saves child state machine to path given by base_path. | |
def | set_child |
Public Attributes | |
child_document | |
child_gm | |
Private Member Functions | |
def | _init_child |
Look for remappings in child state machine. |
State that can be embedded as a child in other states.
Definition at line 500 of file tool_utils.py.
def rcommander.tool_utils.EmbeddableState.__init__ | ( | self, | |
name, | |||
outputs | |||
) |
Base construction for a state.
name | name of this state |
outputs | a dictionary mapping names (strings) to Python classes. |
Reimplemented from rcommander.tool_utils.StateBase.
Definition at line 502 of file tool_utils.py.
def rcommander.tool_utils.EmbeddableState._init_child | ( | self, | |
child_gm | |||
) | [private] |
Look for remappings in child state machine.
child_gm | GraphModel object |
Definition at line 528 of file tool_utils.py.
Definition at line 513 of file tool_utils.py.
def rcommander.tool_utils.EmbeddableState.get_child | ( | self | ) |
Definition at line 518 of file tool_utils.py.
Definition at line 510 of file tool_utils.py.
Returns the name of the child state machine.
Definition at line 571 of file tool_utils.py.
def rcommander.tool_utils.EmbeddableState.load_and_recreate | ( | self, | |
base_path | |||
) |
Loads the child state machine and calls recreate on it.
Definition at line 560 of file tool_utils.py.
def rcommander.tool_utils.EmbeddableState.recreate | ( | self, | |
graph_model | |||
) |
After being loaded from disk, recreates/clones the object.
Definition at line 577 of file tool_utils.py.
def rcommander.tool_utils.EmbeddableState.save_child | ( | self, | |
base_path = "" |
|||
) |
Saves child state machine to path given by base_path.
Definition at line 541 of file tool_utils.py.
def rcommander.tool_utils.EmbeddableState.set_child | ( | self, | |
child | |||
) |
Definition at line 521 of file tool_utils.py.
Definition at line 502 of file tool_utils.py.
Definition at line 502 of file tool_utils.py.