Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
flexbe_core.core.lockable_state_machine.LockableStateMachine Class Reference
Inheritance diagram for flexbe_core.core.lockable_state_machine.LockableStateMachine:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def get_locked_state
def is_locked
def is_locked_inside
def lock
def transition_allowed
def unlock

Public Attributes

 name
 transitions

Static Public Attributes

 path_for_switch = None

Private Member Functions

def _get_deep_state
def _get_path
def _is_internal_transition
def _update_once

Private Attributes

 _is_controlled
 _locked
 _parent

Detailed Description

A state machine that can be locked.
When locked, no transition can be done regardless of the resulting outcome.
However, if any outcome would be triggered, the outcome will be stored
and the state won't be executed anymore until it is unlocked and the stored outcome is set.

Definition at line 6 of file lockable_state_machine.py.


Constructor & Destructor Documentation


Member Function Documentation

Looks for the current state (traversing all state machines down to the real state).

@return: The current state (not state machine)

Definition at line 26 of file lockable_state_machine.py.

Definition at line 60 of file lockable_state_machine.py.

Definition at line 49 of file lockable_state_machine.py.

Definition at line 104 of file lockable_state_machine.py.

Definition at line 84 of file lockable_state_machine.py.

Definition at line 88 of file lockable_state_machine.py.

Definition at line 64 of file lockable_state_machine.py.

Definition at line 53 of file lockable_state_machine.py.

Definition at line 74 of file lockable_state_machine.py.


Member Data Documentation

Definition at line 15 of file lockable_state_machine.py.

Definition at line 15 of file lockable_state_machine.py.

Definition at line 13 of file lockable_state_machine.py.

Definition at line 15 of file lockable_state_machine.py.


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


flexbe_core
Author(s): Philipp Schillinger
autogenerated on Thu Jun 6 2019 19:32:27