Skip to content

Commit

Permalink
Cleanup debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
dziegel committed Jan 20, 2024
1 parent eb22058 commit 51308ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/ScXmlFsmImpl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ ScXmlFsmImpl::ScXmlFsmImpl()
fsm_.on_handle_event_ = [](ScXmlTest::Ref fsm, ScXmlTest::StateRef state, ScXmlTest::Event event)
{ std::cout << fsm.Name() << " State " << state.Name() << " handle event " << event << '\n'; };
fsm_.on_state_entry_ = [](ScXmlTest::Ref fsm, ScXmlTest::StateRef state)
{ std::cout << fsm.Name() << " Enter state" << state.Name() << '\n'; };
{ std::cout << fsm.Name() << " Enter " << state.Name() << '\n'; };
fsm_.on_state_exit_ = [](ScXmlTest::Ref fsm, ScXmlTest::StateRef state)
{ std::cout << fsm.Name() << " Exit state" << state.Name() << '\n'; };
{ std::cout << fsm.Name() << " Exit " << state.Name() << '\n'; };
fsm_.on_unhandled_event_ = [](ScXmlTest::Ref fsm, ScXmlTest::StateRef state, ScXmlTest::Event event)
{ std::cout << fsm.Name() << " Unhandled event " << event << " in state " << state.Name() << '\n'; };

Expand Down
4 changes: 2 additions & 2 deletions test/XmiFsmImpl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ XmiFsmImpl::XmiFsmImpl()
fsm_.on_handle_event_ = [](IoArHandlerMain::Ref fsm, IoArHandlerMain::StateRef state, IoArHandlerMain::Event event)
{ std::cout << fsm.Name() << " State " << state.Name() << " handle event " << event << '\n'; };
fsm_.on_state_entry_ = [](IoArHandlerMain::Ref fsm, IoArHandlerMain::StateRef state)
{ std::cout << fsm.Name() << " Enter state" << state.Name() << '\n'; };
{ std::cout << fsm.Name() << " Enter " << state.Name() << '\n'; };
fsm_.on_state_exit_ = [](IoArHandlerMain::Ref fsm, IoArHandlerMain::StateRef state)
{ std::cout << fsm.Name() << " Exit state" << state.Name() << '\n'; };
{ std::cout << fsm.Name() << " Exit " << state.Name() << '\n'; };
fsm_.on_unhandled_event_ =
[](IoArHandlerMain::Ref fsm, IoArHandlerMain::StateRef state, IoArHandlerMain::Event event)
{ std::cout << fsm.Name() << " Unhandled event " << event << " in state " << state.Name() << '\n'; };
Expand Down

0 comments on commit 51308ed

Please sign in to comment.