Class BarState
Defined in File bar_state.h
Inheritance Relationships
Base Type
public yasmin::State
Class Documentation
-
class BarState : public yasmin::State
Represents the “Bar” state in the state machine.
This state logs the value from the blackboard and provides a single outcome to transition.
Public Functions
Executes the Bar state logic.
This method logs the execution, waits for 3 seconds, retrieves a string from the blackboard, and logs it.
- Parameters:
blackboard – Shared pointer to the blackboard for state communication.
- Returns:
std::string The outcome of the execution: “outcome3”.