#include "copyright.h"#include "utility.h"#include "callback.h"#include "list.h"Go to the source code of this file.
Compounds | |
| class | ElevatorBank |
| The following class defines a bank of elevators. More... | |
Typedefs | |
| typedef List<PendingElevatorEvent *> | ListOfEvents |
Enumerations | |
| enum | Direction { Down, Up, Neither } |
| which direction the elevator or rider is going. More... | |
| enum | ElevatorEvent { NoEvent, DoorsOpened, UpButtonPressed, DownButtonPressed, FloorButtonPressed, ElevatorArrived } |
| elevator events that require signalling rider (on DoorsOpened) or controllers (on ButtonPressed or ElevatorArrived). More... | |
Variables | |
| const int | MaxRiders = 4 |
| carrying capacity of each elevator. More... | |
| const int | DelayPerFloor = 100 |
| how long does an elevator take to move between floors? More... | |
|
|
Definition at line 40 of file elevator.h. |
|
|
which direction the elevator or rider is going.
Definition at line 27 of file elevator.h. |
|
|
elevator events that require signalling rider (on DoorsOpened) or controllers (on ButtonPressed or ElevatorArrived).
Definition at line 31 of file elevator.h. |
|
|
how long does an elevator take to move between floors?
Definition at line 35 of file elevator.h. |
|
|
carrying capacity of each elevator.
Definition at line 34 of file elevator.h. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001