Peach::Engine::state::StateEngine Class Reference

StateEngine. More...

List of all members.

Public Member Functions

def __init__
def getXml
def dirtyXmlCache
def run
 Runs StateMachine.

Public Attributes

 engine
 stateMachine
 publisher
 f
 pathFinder
 cachedXml
 actionValues

Private Member Functions

def _getStateByName
def _runState
 Runs a single state from StateMachine.
def _runAction
def _resetXmlNodes


Detailed Description

StateEngine.

Runs a StateMachine instance.

Runs a StateMachine instance.

Member Function Documentation

def Peach::Engine::state::StateEngine::__init__ (   self,
  engine,
  stateMachine,
  publisher 
)

engine - Engine
stateMachien - StateMachine to use
publisher - Publisher to use

def Peach::Engine::state::StateEngine::_getStateByName (   self,
  stateName 
) [private]

Locate a State object by name in the StateMachine.

def Peach::Engine::state::StateEngine::_resetXmlNodes (   self,
  node 
) [private]

Reset XML node tree starting at 'node'.  We will remove
any attribute calleed:

  value
  currentValue
  defaultValue
  value-Encoded
  currentValue-Encoded
  defaultValue-Encoded

def Peach::Engine::state::StateEngine::_runAction (   self,
  action,
  mutator 
) [private]

def Peach::Engine::state::StateEngine::_runState (   self,
  state,
  mutator 
) [private]

Runs a single state from StateMachine.

Runs a specific State from a StateMachine.

def Peach::Engine::state::StateEngine::dirtyXmlCache (   self  ) 

Mark XML cache as dirty.

def Peach::Engine::state::StateEngine::getXml (   self  ) 

Get the XML document representation of this
DOM for use by slurp, etc.  For speed we will
cache the generated XML until an operation
occurs to dirty the cache.

def Peach::Engine::state::StateEngine::run (   self,
  mutator 
)

Runs StateMachine.

Perform a single run of a StateMachine using the provided mutation strategy.

Perform a single run of a StateMachine using the provided
mutator.


Member Data Documentation


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

Generated on Sat Sep 4 18:13:54 2010 for HotFuzz by  doxygen 1.5.8