Skip to content

Handle anonymous events with process_internal_events#648

Merged
kris-jusiak merged 1 commit intoboost-ext:masterfrom
jefftrull:bugfix/944-initial-anonymous-nested-composite
Oct 12, 2025
Merged

Handle anonymous events with process_internal_events#648
kris-jusiak merged 1 commit intoboost-ext:masterfrom
jefftrull:bugfix/944-initial-anonymous-nested-composite

Conversation

@jefftrull
Copy link
Contributor

  • Address missing initial anonymous transitions in composite states
  • Eliminate exponential internal generation of anonymous events in nested states

Problem:

  • Some initial anonymous events in nested composite states are missed
  • Anonymous events are generated in composite states in exponential proportion to the number of levels

Solution:

  • Restore anonymous event handling in one transitions_sub::execute() method
  • Use the lighter weight process_internal_events for anonymous events to avoid explosion

Issue: #544

Reviewers:
@kris-jusiak @GuiCodron @mechatheo

- Address missing initial anonymous transitions in composite states
- Eliminate exponential internal generation of anonymous events in
  nested states
@kris-jusiak kris-jusiak merged commit 5877b84 into boost-ext:master Oct 12, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants