Public Member Functions | Public Attributes | Private Member Functions
rcommander.tool_utils.EmbeddableState Class Reference

State that can be embedded as a child in other states. More...

Inheritance diagram for rcommander.tool_utils.EmbeddableState:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

State that can be embedded as a child in other states.

Definition at line 500 of file tool_utils.py.


Constructor & Destructor Documentation

def rcommander.tool_utils.EmbeddableState.__init__ (   self,
  name,
  outputs 
)

Base construction for a state.

Parameters:
namename of this state
outputsa dictionary mapping names (strings) to Python classes.

Reimplemented from rcommander.tool_utils.StateBase.

Definition at line 502 of file tool_utils.py.


Member Function Documentation

def rcommander.tool_utils.EmbeddableState._init_child (   self,
  child_gm 
) [private]

Look for remappings in child state machine.

Parameters:
child_gmGraphModel object

Definition at line 528 of file tool_utils.py.

Definition at line 513 of file tool_utils.py.

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.

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.

Definition at line 521 of file tool_utils.py.


Member Data Documentation

Definition at line 502 of file tool_utils.py.

Definition at line 502 of file tool_utils.py.


The documentation for this class was generated from the following file:


rcommander
Author(s): Hai Nguyen (haidai@gmail.com)
autogenerated on Thu Nov 28 2013 11:46:34