I am using Rhapsody in C.
In features of a state of a statechart, I see 3 fields: Action on Entry, Action on exit and Reactions in State.
Where to write the code to generate events while I am in a particular state?
What I mean is the following:
Suppose I have states ONE and TWO in my statemachine. Assume my system is in state ONE. And whenever a certain condition is satisfied, I want to generate an event and then say make transition to state TWO. Where do I write code for this?
Pinned topic Reactions in State in a statechart
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-04-05T07:41:38Z at 2013-04-05T07:41:38Z by SystemAdmin
SystemAdmin 110000D4XK1305 Posts
Re: Reactions in State in a statechart2013-04-05T07:41:38ZThis is the accepted answer. This is the accepted answer.Or in other words, where to write the code to generate an event, when a certain condition is satisfied, when I am in a particular state?