-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLineManager.h
39 lines (26 loc) · 974 Bytes
/
LineManager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
*****************************************************************************
Full Name : Ronald Roldan
Authenticity Declaration:
I declare this submission is the result of my own work and has not been
shared with any other student or 3rd party content provider. This submitted
piece of work is entirely of my own creation.
*****************************************************************************
*/
#ifndef _SDDS_LINEMANAGER_H_
#define _SDDS_LINEMANAGER_H_
#include <vector>
#include "Workstation.h"
namespace sdds {
class LineManager {
std::vector<Workstation*> m_activeLine{};
size_t m_cntCustomerOrder{0};
Workstation* m_firstStation{nullptr};
public:
LineManager(const std::string& file, const std::vector<Workstation*>& stations);
void reorderStations();
bool run(std::ostream& os);
void display(std::ostream& os) const;
};
}
#endif