Package gui :: Module SSGridViewStateChart :: Class SSGridViewStateChart
[show private | hide private]
[frames | no frames]

Class SSGridViewStateChart

StateMachine --+
               |
              SSGridViewStateChart


Method Summary
  __init__(self, Interpreter, Parent, OldInstance)
  addInState(self, s)
  addSchedule(self, id, interval, event, scheduler)
  applyMask(self, mask, dest)
  changeState(self, s1, s2, check_history, top_level)
  check_history(self, dest)
  clearEnteredStates(self)
  compareSchedule(self, sched_a, sched_b)
  dump_message(self, msg)
  event(self, e, params, cond, scheduler)
  eventStr2Int(self, event)
  forceIntoState(self, s)
  generateStates(self, common, dest, history_type)
  get_current_state(self)
  get_event_params(self)
  getCurrentState(self, states)
  getCurrentStateList(self)
  getEnabledEvents(self)
  getHierarchy(self, start_level, state_prefix)
  getParentState(self, state)
  getSubstates(self, state)
  handleEvent(self, se, params, cond, scheduler)
  handleEvent_wrapper(self)
  hasHistoryRecorded(self, state)
  hasOrthogonalStateInBetween(self, parent, leaf)
  initModel(self, run_initializer, run_enter_actions)
  is_in_state(self, s, check_substate)
  isHistoryState(self, state)
  isHistoryUp2Date(self, state, time)
  isInState(self, s, check_substate, use_backup)
  isLeafState(self, state)
  isParent(self, sp, sc)
  mergeHistory(self, state, states, times)
  recordAllEnteredStates(self)
  recordEnteredState(self, s, superstates, submodel, commonstate)
  recordHistory(self, top_state)
  removeOutStates(self, common_state)
  removeSchedule(self, id, scheduler)
  runActionCode(self, code_num)
  runAllEnterActions(self)
  runCode(self, c)
  runEnterActions(self, state)
  runEnterActionsForStates(self, states, recursive)
  runExitActions(self, state)
  runExitActionsForStates(self, common_state)
  runFinalizer(self)
  runInitializer(self)
  scheduler(self)
  setupInterpreter(self)
  shutdown(self)
  start(self, lock, run_enter_actions)
  stateInt2Str(self, state)
  testCondition(self, cond_num)
  topLevelHistory(self)
    Inherited from StateMachine
  runInteractor(self)
  state(self)

Class Variable Summary
list CommonStateTable = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
NoneType CurrentModel = None                                                                  
NoneType Description = None                                                                  
list EventNames = ['__INTERNAL_0_TIME_0', '__INTERNAL_0_TIME_...
list Hierarchy = [[0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
list HistoryStateTable = [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
list IntervalTable = ['1', '0.5', '0.5', None, None, None, No...
list LeafStateTable = [None, None, None, None, None, 'Running...
lock Lock = <thread.lock object at 0xf70210c0>
main_callable main = <gui.SSGridViewStateChart.main_callable instance ...
classobj main_callable = gui.SSGridViewStateChart.main_callable
list OrthogonalInBetween = [[0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1,...
list OrthogonalTable = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
list ParentTable = [-1, 0, 1, 2, 3, 4, 4, 4, 2, 8, 8, 1, 11, ...
list RescheduleTable = [16, 9, 10, -1, -1, -1, -1, -1, -1, -1...
list StateNames = ['Running', 'Running.Control', 'Running.Con...
int StateNum = 19                                                                    

Class Variable Details

CommonStateTable

Type:
list
Value:
[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1],
 [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, -1, -1],
 [0, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, -1, -1],
 [0, 1, 2, 2, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 0, 0, -1, -1],
 [0, 1, 2, 3, 3, 4, 4, 4, 2, 2, 2, 1, 1, 1, 1, 0, 0, -1, -1],
 [0, 1, 2, 3, 4, 4, 4, 4, 2, 2, 2, 1, 1, 1, 1, 0, 0, -1, -1],
 [0, 1, 2, 3, 4, 4, 4, 4, 2, 2, 2, 1, 1, 1, 1, 0, 0, -1, -1],
 [0, 1, 2, 3, 4, 4, 4, 4, 2, 2, 2, 1, 1, 1, 1, 0, 0, -1, -1],
...                                                                    

CurrentModel

Type:
NoneType
Value:
None                                                                  

Description

Type:
NoneType
Value:
None                                                                  

EventNames

Type:
list
Value:
['__INTERNAL_0_TIME_0',
 '__INTERNAL_0_TIME_1',
 '__INTERNAL_0_TIME_2',
 'backSpaceKey',
 'controlC',
 'controlV',
 'controlX',
 'controlY',
...                                                                    

Hierarchy

Type:
list
Value:
[[0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0],
 [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0],
 [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
...                                                                    

HistoryStateTable

Type:
list
Value:
[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]              

IntervalTable

Type:
list
Value:
['1', '0.5', '0.5', None, None, None, None, None, None]                

LeafStateTable

Type:
list
Value:
[None,
 None,
 None,
 None,
 None,
 'Running.Control.Editing.Edit.WaitForEdit.NotSelecting',
 'Running.Control.Editing.Edit.WaitForEdit.SelectingKeyboard',
 'Running.Control.Editing.Edit.WaitForEdit.SelectingMouse',
...                                                                    

Lock

Type:
lock
Value:
<thread.lock object at 0xf70210c0>                                     

main

Type:
main_callable
Value:
<gui.SSGridViewStateChart.main_callable instance at 0xf6cb240c>        

OrthogonalInBetween

Type:
list
Value:
[[0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0],
 [0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0],
 [0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
...                                                                    

OrthogonalTable

Type:
list
Value:
[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0],
 [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0],
...                                                                    

ParentTable

Type:
list
Value:
[-1, 0, 1, 2, 3, 4, 4, 4, 2, 8, 8, 1, 11, 11, 11, 0, 15, -1, -1]       

RescheduleTable

Type:
list
Value:
[16, 9, 10, -1, -1, -1, -1, -1, -1]                                    

StateNames

Type:
list
Value:
['Running',
 'Running.Control',
 'Running.Control.Editing',
 'Running.Control.Editing.Edit',
 'Running.Control.Editing.Edit.WaitForEdit',
 'Running.Control.Editing.Edit.WaitForEdit.NotSelecting',
 'Running.Control.Editing.Edit.WaitForEdit.SelectingKeyboard',
 'Running.Control.Editing.Edit.WaitForEdit.SelectingMouse',
...                                                                    

StateNum

Type:
int
Value:
19                                                                    

Generated by Epydoc 2.1 on Thu Aug 26 22:55:24 2004 http://epydoc.sf.net