oven.Oven Class Reference

Oven state machine. More...

Inheritance diagram for oven.Oven:

simplehsm.SimpleHsm

List of all members.

Public Member Functions

def __init__
 Oven state machine constructor.
def oven
 The top level oven state.
def heating
 The heating state.
def toasting
 The toasting state.
def baking
 The baking state.
def doorOpen
 The doorOpen state.
def ShowStatus
 Show the status of the oven state machine by showing what states it is currently in.


Detailed Description

Oven state machine.

Member Function Documentation

def oven.Oven.__init__ (   self  ) 

Oven state machine constructor.

Sets the initial state

def oven.Oven.baking (   self,
  state_event 
)

The baking state.

Parameters:
state_event The signal to send to this state
Returns:
None if the signal is handled, otherwise the parent state (heating())

def oven.Oven.doorOpen (   self,
  state_event 
)

The doorOpen state.

Parameters:
state_event The signal to send to this state
Returns:
None if the signal is handled, otherwise the parent state (oven())

def oven.Oven.heating (   self,
  state_event 
)

The heating state.

Parameters:
state_event The signal to send to this state
Returns:
None if the signal is handled, otherwise the parent state (oven())

def oven.Oven.oven (   self,
  state_event 
)

The top level oven state.

Parameters:
state_event The signal to send to this state
Returns:
Aways returns None indicating that this is the top level state

def oven.Oven.ShowStatus (   self  ) 

Show the status of the oven state machine by showing what states it is currently in.

def oven.Oven.toasting (   self,
  state_event 
)

The toasting state.

Parameters:
state_event The signal to send to this state
Returns:
None if the signal is handled, otherwise the parent state (heating())


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

Generated on Thu Feb 4 09:29:18 2010 for simplehsm(python) by  doxygen 1.5.9