Public Member Functions | Private Member Functions | Private Attributes
src.airbus_ssm_core.ssm_state_machine.ssmMainStateMachine Class Reference
Inheritance diagram for src.airbus_ssm_core.ssm_state_machine.ssmMainStateMachine:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def execute

Private Member Functions

def _request_preempt_cb

Private Attributes

 _input_keys
 _output_keys
 _preempt_pause

Detailed Description

StateMachine

This is a finite state machine smach container. Note that though this is
a state machine, it also implements the L{smach.State}
interface, so these can be composed hierarchically, if such a pattern is
desired.

States are added to the state machine as 3-tuple specifications:
 - label
 - state instance
 - transitions

The label is a string, the state instance is any class that implements the
L{smach.State} interface, and transitions is a dictionary mapping strings onto
strings which represent the transitions out of this new state. Transitions
can take one of three forms:
 - OUTCOME -> STATE_LABEL
 - OUTCOME -> None (or unspecified)
 - OUTCOME -> SM_OUTCOME

Definition at line 334 of file ssm_state_machine.py.


Constructor & Destructor Documentation

Definition at line 356 of file ssm_state_machine.py.


Member Function Documentation

Callback empty message for propagate preempt
to currently active state.

Reimplemented from src.airbus_ssm_core.ssm_state_machine.ssmStateMachine.

Definition at line 361 of file ssm_state_machine.py.

def src.airbus_ssm_core.ssm_state_machine.ssmMainStateMachine.execute (   self,
  parent_ud = smach.UserData() 
)
Run the state machine on entry to this state.
This will set the "closed" flag and spin up the execute thread. Once
this flag has been set, it will prevent more states from being added to
the state machine. 

Reimplemented from src.airbus_ssm_core.ssm_state_machine.ssmStateMachine.

Definition at line 370 of file ssm_state_machine.py.


Member Data Documentation

Definition at line 356 of file ssm_state_machine.py.

Definition at line 356 of file ssm_state_machine.py.

Reimplemented from src.airbus_ssm_core.ssm_state_machine.ssmStateMachine.

Definition at line 363 of file ssm_state_machine.py.


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


airbus_ssm_core
Author(s): Ludovic Delval
autogenerated on Thu Jun 6 2019 17:59:28