Return to Website   
Quantum Leaps Discussion Forum

Search the Forum for answers or post your questions to the
Quantum Leaps community



Return to Website

  Reply
  Forum

Subject:   Re: event handling question
Name:   mikec
Date Posted:   Jul 14, 08 - 11:53 AM
Message:   Thank you both for your help. Miro, does the following diagram properly depict your suggestion?


___________________________________________________
/ stateSuper \
|---------------------------------------------------|
| ___________________________________________
| / stateA \
| |-------------------------------------------|
| | MY_SIG[Processing_Specific_To_State_A()]/ |
| \___________________________________________/
|
| ___________________________________________
| / stateB \
| |-------------------------------------------|
| | MY_SIG[Processing_Specific_To_State_B()]/ |
| \___________________________________________/
|
| _________
| [guard1] / stateD \
| |----------->|---------|
| | \_________/
| |
| | _________
| MY_SIG | [guard2] / stateE \
|--------->O----------->|---------|
| | \_________/
| |
| | _________
| | [guard3] / stateF \
| |----------->|---------|
| \_________/
|
\_________________________________________________


By leaving out the [else] guards for MY_SIG in the sub states, does this properly convey the idea that MY_SIG will be processed by the super state?

Thanks,
- Mike
Replies:    
Re: event handling question by Miro Samek · Jul 14, 08 - 12:12 PM


  Reply
  Forum


powered by Powered by Bravenet bravenet.com