Re: Trying to adhere to RTC design pattern, but I'm not actually running to completion

From: Mountain Bikn' Guy (vc_at_attbi.com)
Date: 12/26/03


Date: Thu, 25 Dec 2003 23:00:24 GMT


>
> How, then, does your oven pass information about the target browning
> level / remaining toasting time from the "toasting" across the "door
> opened during toasting" and back to the "toasting" state, without
> breaking either the definition of a state machine, or that of the RTC
> pattern?
>

The generic (and probably best) answer to your question is that this is
accomplished through the use of the UML transition to (deep) history pattern
in connection with UML statecharts. (However, in the case of the simple
example, I suspect that even the history pattern isn't really required -- at
least it isn't required in the simple examples I worked up.)