Sinelabore Homepage

A state machine with regions can be in more than one state at a time. Previously, getInnermostActiveState() returned only the topmost active state. With this release, selected backends can return multiple active states to better reflect runtime behavior.

  • JS backend improvements: IsIn() and getInnermostActiveStates() now work with regions.
  • C++11 backend improvements: IsIn() and getInnermostActiveStates() now work with regions (C++11 only).

In C++11, the generated function has this signature:

auto oven::getInnermostActiveStates() const -> std::forward_list<oven::States>{
  std::forward_list<oven::States> stateList;
  ...
  return stateList;
}