Ways to take transitions in statecharts

2222 Betrachtungen
Seite: 1
MichaelKamsties
avatar
Administrator
75 Beiträge

Ways to take transitions in statecharts

I use events if transitions should be taken, are there other ways to achieve this?

MichaelKamsties
avatar
Administrator
75 Beiträge

Re: Ways to take transitions in statecharts

Yes there are other ways.

have a look at the features of the transition, there you can find guard, trigger and action

  1. events
  2. triggered operations, but this is near by events
  3. tm(1000) a timeout, the transition will be taken after 1000 miliseconds
  4. 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

Seite: 1

Currently Online:

There is nobody online.

Welcome to our latest member: lammils