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

Public Member Functions

def __init__ (self, outcomes, conditions)
 
def execute (self, userdata)
 

Private Attributes

 _conditions
 

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 5 of file decision_state.py.

Constructor & Destructor Documentation

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

Definition at line 17 of file decision_state.py.

Member Function Documentation

def flexbe_states.decision_state.DecisionState.execute (   self,
  userdata 
)

Definition at line 25 of file decision_state.py.

Member Data Documentation

flexbe_states.decision_state.DecisionState._conditions
private

Definition at line 23 of file decision_state.py.


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


flexbe_states
Author(s): Philipp Schillinger
autogenerated on Sun Dec 13 2020 04:01:46