Public Member Functions | Private Attributes
flexbe_states.decision_state.DecisionState Class Reference
Inheritance diagram for flexbe_states.decision_state.DecisionState:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def execute
def on_enter

Private Attributes

 _conditions
 _my_outcomes

Detailed Description

Evaluates a condition function in order to return one of the specified outcomes.
This state can be used if the further control flow of the behavior depends on an advanced condition.

-- outcomes 	string[]	A list containing all possible outcomes of this state
-- conditions 	function	Implements the condition check and returns one of the available outcomes.
                                                        Has to expect one parameter which will be set to input_value.

># input_value	object		Input to the condition function.

Definition at line 13 of file decision_state.py.


Constructor & Destructor Documentation

def flexbe_states.decision_state.DecisionState.__init__ (   self,
  outcomes,
  conditions 
)
Constructor

Definition at line 27 of file decision_state.py.


Member Function Documentation

Execute this state

Definition at line 38 of file decision_state.py.

Definition at line 54 of file decision_state.py.


Member Data Documentation

Definition at line 29 of file decision_state.py.

Definition at line 29 of file decision_state.py.


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


flexbe_states
Author(s): Philipp Schillinger
autogenerated on Thu Jun 6 2019 19:32:33