ElevatorLogic Class Reference

#include <elevator_logic.h>

Collaboration diagram for ElevatorLogic:
Collaboration graph

List of all members.

Public Member Functions

 ElevatorLogic (Elevator **es, int ecount)
virtual void call (int floor, ButtonDirection dir)=0
virtual void selectFloor (Elevator *e, int floor)=0
virtual void notifyFloorChanged (Elevator *e, int floorBefore, int floorAfter)=0
virtual ~ElevatorLogic ()

Protected Attributes

Elevator ** es
int ecount

Constructor & Destructor Documentation

ElevatorLogic::ElevatorLogic ( Elevator **  es,
int  ecount 
) [inline]
virtual ElevatorLogic::~ElevatorLogic (  )  [inline, virtual]

Member Function Documentation

virtual void ElevatorLogic::call ( int  floor,
ButtonDirection  dir 
) [pure virtual]
virtual void ElevatorLogic::notifyFloorChanged ( Elevator e,
int  floorBefore,
int  floorAfter 
) [pure virtual]
virtual void ElevatorLogic::selectFloor ( Elevator e,
int  floor 
) [pure virtual]

Member Data Documentation

int ElevatorLogic::ecount [protected]
Elevator** ElevatorLogic::es [protected]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines

Generated on 21 Mar 2019 for Elevator Simulator by  doxygen 1.6.1