Passenger Class Reference

#include <passenger.h>

Collaboration diagram for Passenger:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Passenger (int startingFloor, int desiredFloor, int callTime)
int getStartingFloor () const
int getDesiredFloor () const
int getCallTime () const
int getSelectTime () const
int getLeaveTime () const
long getId () const
bool isSatisfied () const
ElevatorgetElevator () const
void enterElevator (Elevator *e, int selectTime)
void leaveElevator (int leaveTime)

Constructor & Destructor Documentation

Passenger::Passenger ( int  startingFloor,
int  desiredFloor,
int  callTime 
)

Member Function Documentation

void Passenger::enterElevator ( Elevator e,
int  selectTime 
)
int Passenger::getCallTime (  )  const
int Passenger::getDesiredFloor (  )  const
Elevator * Passenger::getElevator (  )  const
long Passenger::getId (  )  const
int Passenger::getLeaveTime (  )  const
int Passenger::getSelectTime (  )  const
int Passenger::getStartingFloor (  )  const
bool Passenger::isSatisfied (  )  const
void Passenger::leaveElevator ( int  leaveTime  ) 

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

Generated on 21 Mar 2019 for Elevator Simulator by  doxygen 1.6.1