Elevator Class Reference

#include <elevator.h>

Collaboration diagram for Elevator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Elevator (std::string name)
std::string getName () const
std::list< int > & getLog ()
int getCurrentFloor () const
MotorDirection getMotorDirection () const
void setMotorDirection (MotorDirection md)
bool isHalted () const

Friends

void ElevatorGroupSimulator::step ()
void ElevatorGroupSimulator::reset ()

Constructor & Destructor Documentation

Elevator::Elevator ( std::string  name  ) 

Member Function Documentation

int Elevator::getCurrentFloor (  )  const
list< int > & Elevator::getLog (  ) 
MotorDirection Elevator::getMotorDirection (  )  const
string Elevator::getName (  )  const
bool Elevator::isHalted (  )  const
void Elevator::setMotorDirection ( MotorDirection  md  ) 

Friends And Related Function Documentation

void ElevatorGroupSimulator::reset (  )  [friend]
void ElevatorGroupSimulator::step (  )  [friend]

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