Rev 329 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef CONTROLLER_H
#define CONTROLLER_H
#include <assert.h>
#include <vector>
#include "elevator.h"
using namespace std;
class Controller
{
public:
Controller (int num_floors, int num_elevators);
~Controller ();
void request_elevator (int on_floor);
private:
vector<Elevator> elevators;
int num_floors;
int num_elevators;
};
#endif // CONTROLLER_H