- /**
- * @brief The outgoing transition: what was the last transition that
- * we took to leave this state?
- *
- * The owner of the transition is the `ActorState` instance which exists in this state,
- * or a reference to the internal default transition `Transition()` if no transition has been
- * set
- */
- Transition* transition_ = default_transition_.get();
-
- /** @brief A list of transition to be replayed in order to get in this state. */
- std::list<Transition*> recipe_;
+ /** @brief The incoming transition is what led to this state, coming from its parent */
+ std::shared_ptr<Transition> incoming_transition_ = nullptr;