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

Public Member Functions

 __init__ (self)
 
 execute (self, Blackboard blackboard)
 

Detailed Description

Represents the Foo state in the state machine.

Constructor & Destructor Documentation

◆ __init__()

yasmin_demos.remap_demo.Foo.__init__ ( self)
Initializes the FooState instance, setting up the outcomes.

Outcomes:
    SUCCEED: Indicates the state should continue to the next state.

Member Function Documentation

◆ execute()

yasmin_demos.remap_demo.Foo.execute ( self,
Blackboard blackboard )
Executes the logic for the Foo state.

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

Returns:
    str: The outcome of the execution, which can be SUCCEED.

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

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