Prev | Current Page 369 | Next

Tim Weilkiens

"Systems Engineering with SysML/UML: Modeling, Analysis, Design"


?–  The do behavior is executed while the state is active.
In Figure 3.58 , you can see internal behavior in the state machine of a railroad
crossing. This example utilizes the fact that the state behavior is interruptible. For
example, the barriers are closed in the state block . The state behavior close() is
interrupted by the event endPosition(down) . The entry behavior and the exit
behavior are not interruptible.
An important UML extension versus the classic Finite State Machine ( FSM )
is the possibility to decompose states into smaller units. This allows us to fi rst
describe states on a general level and then further detailing them.
Figure 3.59 shows the state Day after further detailing. It is a so-called composite
state, containing a region with states and transitions. We can recognize this
by the ??? spectacles ??? symbol in the lower right corner of the state in the upper diagram.
The detailing itself is not shown here; it is shown in the bottom diagram.
stm Notation for state
State
event [condition]/behavior
State
State
FIGURE 3-57
Notation for state.


Pages:
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
LL Cool J Maroon 5 Madonna Tim McGraw Ludacris