16#ifndef YASMIN__CB_STATE_HPP_
17#define YASMIN__CB_STATE_HPP_
std::shared_ptr< Blackboard > SharedPtr
Shared pointer type for Blackboard.
Definition blackboard.hpp:100
std::string execute(Blackboard::SharedPtr blackboard) override
Executes the callback function.
Definition cb_state.cpp:28
CbState(const Outcomes &outcomes, CbStateCallback callback)
Shared pointer type for CbState.
Definition cb_state.cpp:21
CbStateCallback callback
Pointer to the callback function to be executed.
Definition cb_state.hpp:40
Outcomes outcomes
The possible outcomes of this state.
Definition state.hpp:53
State(const Outcomes &outcomes)
Shared pointer type for State.
Definition state.cpp:64
Definition blackboard.hpp:34
StringSet Outcomes
Set of possible outcomes for states.
Definition types.hpp:77
std::function< std::string(std::shared_ptr< Blackboard >)> CbStateCallback
Callback function type for CbState.
Definition types.hpp:111
#define YASMIN_PTR_ALIASES(ClassName)
Macro to define all pointer aliases for a class.
Definition types.hpp:52