\begin{vdm_al}
class RadioHandleTMC is subclass of BasicTask
operations
public RadioHandleTMC: EventDispatcher ==> RadioHandleTMC
RadioHandleTMC (pde) == BasicTask("HandleTMC",pde);
-- we do not specify *what* the operation does
-- we only specify its execution time
public HandleTMC: () ==> ()
HandleTMC () == duration (1000) skip;
protected handleEvent: Event ==> ()
handleEvent (pe) ==
( HandleTMC();
-- send message to the next task in this scenario
sendMessage("DecodeTMC", pe.getEvent()) )
end RadioHandleTMC
\end{vdm_al}
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet)
¤
|
Haftungshinweis
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.
|