UML Modelling and Codegeneration related discussions » Tool Usage and Handling » Ways to take transitions in statecharts
Ways to take transitions in statecharts
2222 Betrachtungen
Seite:
1
Ways to take transitions in statecharts
22.07.2008 10:24
I use events if transitions should be taken, are there other ways to achieve this?
Re: Ways to take transitions in statecharts
22.07.2008 10:30
Yes there are other ways.
have a look at the features of the transition, there you can find guard, trigger and action
- events
- triggered operations, but this is near by events
- tm(1000) a timeout, the transition will be taken after 1000 miliseconds
- defining a guard, a guard is a condition, like nCounter == 0, an operation returning a boolean or something like that
Note: it is possible to combine guard and trigger
