Quellcode-Bibliothek
© Kompilation durch diese Firma
[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]
Datei:
MMIUpdateScreenAddress.vdmrt
Sprache: VDM
\begin{vdm_al}
class MMIUpdateScreenAddress is subclass of BasicTask
operations
public MMIUpdateScreenAddress: EventDispatcher ==> MMIUpdateScreenAddress
MMIUpdateScreenAddress (pde) == BasicTask("UpdateScreenAddress",pde);
public UpdateScreen: () ==> ()
UpdateScreen () == duration (500) skip;
-- we do not specify *what* the operation does
-- we only specify its execution time
protected handleEvent: Event ==> ()
handleEvent (pe) ==
( UpdateScreen();
-- scenario finished. signal response back to the environment
raiseInterrupt("InsertAddress", pe.getEvent()) )
end MMIUpdateScreenAddress
\end{vdm_al}
[ Seitenstruktur0.1Drucken
etwas mehr zur Ethik
]
|
|