Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2013-04-05T07:41:38Z by SystemAdmin
SystemAdmin
SystemAdmin
1305 Posts
ACCEPTED ANSWER

Pinned topic Reactions in State in a statechart

‏2013-04-05T07:25:03Z |
Hello

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?
Updated on 2013-04-05T07:41:38Z at 2013-04-05T07:41:38Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1305 Posts
    ACCEPTED ANSWER

    Re: Reactions in State in a statechart

    ‏2013-04-05T07:41:38Z  in response to SystemAdmin
    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?