18.01.2013 Views

UML for Embedded Systems III. Detailed Design - Eurecom

UML for Embedded Systems III. Detailed Design - Eurecom

UML for Embedded Systems III. Detailed Design - Eurecom

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Output and Actions<br />

� Actions can be generated<br />

either at state entrance,<br />

exit or at trigger level<br />

slide 8<br />

Use of Variables<br />

LampOff<br />

on()/ctr = ctr+1; off()<br />

lampOn<br />

Page 4<br />

LampOff<br />

on()/print("on"); off()<br />

lampOn<br />

Mealy automaton<br />

Integer ctr;<br />

(C) Ludovic Apvrille <strong>UML</strong> <strong>for</strong> <strong>Embedded</strong> <strong>Systems</strong> - Fall 2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!