Uses of Interface
interfaces.ElevatorForController

Packages that use ElevatorForController
interfaces   
models   
 

Uses of ElevatorForController in interfaces
 

Subinterfaces of ElevatorForController in interfaces
 interface ElevatorSpecification
          The Elevator code was developed as a sample solution to a lift problem given to the MSc SAI students in module CSC7003 - Basics of Software Engineering
The elevator must offer 2 interfaces: To the controller (specified by ElevatorForController) To the users (specified by ElevatorForUsers) It also provides a means of changing the logic controller
 

Methods in interfaces with parameters of type ElevatorForController
 void ControllerForElevator.bindToElevator(ElevatorForController elevator)
          Ensure that the controller is controlling only a single elevator
 

Uses of ElevatorForController in models
 

Classes in models that implement ElevatorForController
 class Elevator
           
 

Methods in models with parameters of type ElevatorForController
 void StupidController.bindToElevator(ElevatorForController elevator)
           
 void EmergencyController.bindToElevator(ElevatorForController elevator)
          In this emergency controller we do not need to read the state of the elevator and so we do not need to bind the 2 components together.
 

Constructors in models with parameters of type ElevatorForController
ImprovedStupidController(ElevatorForController elevator)
           
StupidController(ElevatorForController elevator)