Python YASMIN (Yet Another State MachINe)
Loading...
Searching...
No Matches
yasmin_demos.parameters_demo.BarState Class Reference
Inheritance diagram for yasmin_demos.parameters_demo.BarState:
Collaboration diagram for yasmin_demos.parameters_demo.BarState:

Public Member Functions

None __init__ (self)
 
str execute (self, Blackboard blackboard)
 

Detailed Description

Represents the Bar state in the state machine.

Constructor & Destructor Documentation

◆ __init__()

None yasmin_demos.parameters_demo.BarState.__init__ ( self)
Initializes the BarState instance, setting up the outcome.

Outcomes:
    outcome3: Indicates the state should transition back to the Foo state.

Member Function Documentation

◆ execute()

str yasmin_demos.parameters_demo.BarState.execute ( self,
Blackboard blackboard )
Executes the logic for the Bar state.

Args:
    blackboard (Blackboard): The shared data structure for states.

Returns:
    str: The outcome of the execution, which will always be "outcome3".

Raises:
    Exception: May raise exceptions related to state execution.

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