----------------------------------------------- -- Class: VeMo -- Description: VeMo is the system class in the VeMo project -----------------------------------------------
-- -- class definition -- system VeMo
-- -- instance variables -- instancevariables
public cpu0 : CPU := new CPU (<FP>,1E6); -- changed for setPriority to work public cpu1 : CPU := new CPU (<FCFS>,1E6); public cpu2 : CPU := new CPU (<FCFS>,1E6); public cpu9 : CPU := new CPU (<FCFS>,1E6);
public bus1 : BUS := new BUS (<FCFS>,1E6,{cpu0, cpu1, cpu2, cpu9});
static e : Environment := World`env;
-- Vehicles publicstatic ctrl1 : Controller := new Controller( new Vehicle(1, new Position(17, -20), 1, <NORTH>));
publicstatic ctrl2 : Controller := new Controller( new Vehicle(2, new Position(-4, 25), 3, <SOUTH>));
publicstatic ctrl9 : Controller := new Controller( new Vehicle(9, new Position(23, 20), 1, <SOUTH>));
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.